我正在运行这个查询:
{"my_friends":"SELECT uid2 FROM friend WHERE uid1=me()",
"check_ins":"SELECT coords, tagged_uids, author_uid, page_id, message, timestamp
FROM checkin WHERE author_uid=me() OR author_uid
IN (SELECT uid2 FROM %23my_friends)",
"tagged_check_in_users":"SELECT uid from user
where ((uid in (select tagged_uids from %23check_ins))
OR (uid in (select author_uid from %23check_ins)))
AND uid <> me()"}
当当前用户有很多朋友(超过 200 个,或多或少)时,我得到“内部服务器错误”。当我更改“my_friends”表查询并添加 100 个朋友的限制时,查询工作正常。
有谁知道问题是什么?