mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 16:15:13 +00:00
mysql text optimisations
This commit is contained in:
parent
45c9d15b0a
commit
6afff121fb
2 changed files with 452 additions and 513 deletions
2
boot.php
2
boot.php
|
@ -2062,7 +2062,7 @@ function load_contact_links($uid) {
|
|||
|
||||
// logger('load_contact_links');
|
||||
|
||||
$r = q("SELECT abook_id, abook_flags, abook_self, abook_incl, abook_excl, abook_my_perms, abook_their_perms, xchan_hash, xchan_photo_m, xchan_name, xchan_url, xchan_addr, xchan_network, xchan_type from abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d ",
|
||||
$r = q("SELECT abook_id, abook_flags, abook_self, abook_incl, abook_excl, xchan_hash, xchan_photo_m, xchan_name, xchan_url, xchan_addr, xchan_network, xchan_type from abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d ",
|
||||
intval($uid)
|
||||
);
|
||||
if($r) {
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue