Ошибка мускуля, при попытке удалить кавычку из десков
Posted: Thu Mar 07, 2013 1:32 pm
В предыдущих версиях поканывало. ХЗ чего сейчас не сработало...
1.50 Build 201303041916
List Thumbs - MassEdit Query
Alt Text = '
Description = '
Огонь!
Mysql error:: 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 '%' or source_url like '%\\'%' or gd.description like '%\\'%' or gallery_sl' at line 1) in query select count(distinct(g.gallery_md5)) as total from rot_galleries as g JOIN rot_gallery_data as gd on gd.gallery_md5 = g.gallery_md5 JOIN rot_gallery_info as gi on gi.gallery_md5 = g.gallery_md5 JOIN rot_gal2group as g2gr on g2gr.gal_id = g.id JOIN rot_gallery_stats as gs on gs.thumb_id = g.id WHERE 1 = 1 and gs.best_thumb = "yes" and not (g.rgroup = '0' and sponsor_id = 3) and ( url like '%\\'%' or source_url like '%\\'%' or gd.description like '%\\'%' or gallery_slug like '%\\'%' or gd.alt like '%\\'%' or thumb_url = '\\'' or flv_url = '\\'' or id = '0' or g.gallery_md5 = '\\'' ) and g.status IN ( 0,1,2,10) .No items
1.50 Build 201303041916
List Thumbs - MassEdit Query
Alt Text = '
Description = '
Огонь!
Mysql error:: 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 '%' or source_url like '%\\'%' or gd.description like '%\\'%' or gallery_sl' at line 1) in query select count(distinct(g.gallery_md5)) as total from rot_galleries as g JOIN rot_gallery_data as gd on gd.gallery_md5 = g.gallery_md5 JOIN rot_gallery_info as gi on gi.gallery_md5 = g.gallery_md5 JOIN rot_gal2group as g2gr on g2gr.gal_id = g.id JOIN rot_gallery_stats as gs on gs.thumb_id = g.id WHERE 1 = 1 and gs.best_thumb = "yes" and not (g.rgroup = '0' and sponsor_id = 3) and ( url like '%\\'%' or source_url like '%\\'%' or gd.description like '%\\'%' or gallery_slug like '%\\'%' or gd.alt like '%\\'%' or thumb_url = '\\'' or flv_url = '\\'' or id = '0' or g.gallery_md5 = '\\'' ) and g.status IN ( 0,1,2,10) .No items