MySQL error

Got error 28 from storage engine

Query: SELECT DISTINCT `item_id`, `tn_filename` FROM `ayn_attachments` WHERE `module` = 'categories' AND `item_id` IN (22,23,24,25,26,27,28,29,30,31,33,32) ORDER BY `sort` DESC