Failed to execute the SQL query

select  i.title,  c.title, c.id, i.unread, i.url, i.enclosure, i.author, i.description, c.icon,  unix_timestamp(ifnull(i.pubdate,i.added)) as ts,  i.pubdate is not null as ispubdate, i.id  , null  from  item  i  inner join  channels  c on (c.id = i.cid)  inner join  folders  f on (f.id = c.parent)  where  not(c.mode & 8) and  not(i.unread & 8) and  not(i.unread & 4) and ( i.cid = 1 or  i.cid = 2 or  i.cid = 3 or  i.cid = 4 or  i.cid = 5 or  i.cid = 6 or  i.cid = 7 or  i.cid = 8 or  i.cid = 10 or  i.cid = 11 or  i.cid = 12 or  i.cid = 13 or  i.cid = 14 or  i.cid = 15 or  i.cid = 17 or  i.cid = 18 or  i.cid = 19 or  i.cid = 20 or  i.cid = 21 or  i.cid = 22 or  i.cid = 64 or  i.cid = 39 or  i.cid = 38 or  i.cid = 42 or  i.cid = 43 or  i.cid = 47 or  i.cid = 48 or  i.cid = 51 or  i.cid = 50 or  i.cid = 52 or  i.cid = 56 or  i.cid = 63 or  i.cid = 60 or  i.cid = 61 or  1=0)  and  1=1  order by  ts desc, f.position asc, c.position asc , ts desc, i.id asc limit  0, 100

Error 126: Incorrect key file for table '/tmp/#sql_7ec7_2.MYI'; try to repair it