DATABASE ERROR:
SELECT p.*,
                       u.nickname as author, u.login, u.is_deleted,
                       b.allow_who as blog_allow_who,
                       b.seolink as bloglink,
                       b.title as blog_title,
                       b.owner as owner , b.user_id as bloglink
                FROM cms_blog_posts p
				INNER JOIN cms_blogs b ON b.id = p.blog_id
				LEFT JOIN cms_users u ON u.id = p.user_id
				
                WHERE p.published = 1 AND b.owner = 'club'
				       AND (b.user_id = '17')

                
                ORDER BY p.pubdate DESC
LIMIT 0, 5
Incorrect key file for table '/tmp/#sql_10cb_0.MYI'; try to repair it