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/yuridicheskie-usligi-yuridicheskim-licam/soprovojdenie/razreshen_na_privlechen_inostr_rab_sily/') or (pages.alld=1 and (pages.path='' or pages.path='services/' or pages.path='services/yuridicheskie-usligi-yuridicheskim-licam/' or pages.path='services/yuridicheskie-usligi-yuridicheskim-licam/soprovojdenie/' or pages.path='services/yuridicheskie-usligi-yuridicheskim-licam/soprovojdenie/razreshen_na_privlechen_inostr_rab_sily/')) order by pages.alld,length(pages.path) desc