如下错误
Database error ------ SQL: SELECT history_id FROM aws_user_action_history_fresh WHERE ((associate_type = 1) AND ((associate_type = 1 AND associate_id IN (1,2,3,4,3,5,6,7) AND associate_action IN (201, 101, 204) AND uid <> 1) OR (associate_type = 6 AND associate_id IN (1,1,1,2,2,2,3,3,3,4,4,5,6,7,8,8,9,10,10,12) AND associate_action IN (701, 601, 704) AND uid <> 1) OR (associate_id IN (1,2) AND associate_action = 501 AND uid <> 1) OR (uid IN (2) AND associate_action IN(101,201,501)) OR (uid IN (2) AND associate_action IN(601,701)) OR (uid IN (2) AND associate_action IN(204, 502) AND uid <> 1) OR (uid IN (2) AND associate_action IN(704) AND uid <> 1) OR (uid IN (2) AND associate_action = IN(105,605)) OR (associate_action IN (101, 501) AND uid = 1))) AND anonymous = 0 ORDER BY add_time DESC LIMIT 0, 20 Error Message: Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IN(105,605)) OR (associate_action IN (101, 501) AND uid = 1))) AND anonymous = 0' at line 1
阅读全文
收起全文