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='pozdravleniya/23fevralya/243/') or (pages.alld=1 and (pages.path='' or pages.path='pozdravleniya/' or pages.path='pozdravleniya/23fevralya/' or pages.path='pozdravleniya/23fevralya/243/')) order by pages.alld,length(pages.path) desc