Query erRor: --select concat(if(priority<10,'0',''),i.priority,'_',ll.db) ord_priority,i.*,zc.localitate ,ll.db ,trim(concat(l.name,' (',if(zc.country=13832,(select sign from zip_code where id=zc.county),(select sign from zip_code where id=zc.country)),'), ',l.addr)) addr ,l.firm,l.zip_code ,c.name_lng1 c_name , c.anuar ,it.value it_text from pu_inscriere i, zip_code zc, pu_location l, _LOCAL_CATEGORY c, pu_inscriere_text it, log_location ll where c.id=i.capitol and ll.id=l.id and zc.id=l.zip_code and zc.id in(428,290,430,628,1961,2274,2750,4481,4625,5589,7048,9976,10435,10452,10602,11953) and l.id=i.location and it.inscriere=i.id and c.anuar in(19,20,21) and it.valuel like '%PIATRANEAMT%' order by priority, ll.db desc limit 1000--
Table './pu_yellow/log_location' is marked as crashed and last (automatic?) repair failed