1064 - 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 '),?content=Imprint?XTCsid=1pgtdn2jc8113bs0n2u6d9gsl0'9,)) RLIKE (SELECT (CASE WH' at line 6

SELECT gm_counter_page_history_id AS id FROM gm_counter_page_history WHERE gm_counter_page_history_name = '545464'),?content=Imprint?XTCsid=1pgtdn2jc8113bs0n2u6d9gsl0'9,)) RLIKE (SELECT (CASE WHEN (1453=5414) THEN 0x353435343634),?content=Imprint?XTCsid=1pgtdn2jc8113bs0n2u6d9gsl00x392c ELSE 0x28 END)) AND ((1791=1791' AND gm_counter_page_history_type = 'coid' LIMIT 1

[XT SQL Error]