Code: Select all
select sm_id from script_messages where message = 'Mysql error 1064: sphinxql: syntax error, unexpected $undefined, expecting IDENT near \'`delta : scj_index` WHERE tag_ids IN (1322) AND id NOT IN (101805) AND categories IN (562) AND categories NOT IN (551) ORDER BY total_ctr DESC LIMIT 0, 24 OPTION max_matches=20000\' (SELECT id FROM `scj_index`, `delta : scj_index` WHERE tag_ids IN (1322) AND id NOT IN (101805) AND categories IN (562) AND categories NOT IN (551) ORDER BY total_ctr DESC LIMIT 0, 24 OPTION max_matches=20000) '