Error Q1
Got error 28 from storage engine
select distinct pages.*,menu.href as mhref from pages left join menu on menu.href=pages.path where (pages.path='services/uslugi_fiz_licam/oformlenie_zagranpasportov/oformlenie_viz/') or (pages.alld=1 and (pages.path='' or pages.path='services/' or pages.path='services/uslugi_fiz_licam/' or pages.path='services/uslugi_fiz_licam/oformlenie_zagranpasportov/' or pages.path='services/uslugi_fiz_licam/oformlenie_zagranpasportov/oformlenie_viz/')) order by pages.alld,length(pages.path) desc