SELECT, p.thread_id, p.user_id, p.pubdate, p.editdate, p.edittimes, p.rating, p.attach_count, p.content_html, p.pinned,
                       u.nickname, u.login, u.is_deleted, u.logdate, u.status,
                       up.imageurl, up.signature_html,, up.karma, g.access as group_access, g.is_admin , t.title as thread_title
                FROM cms_forum_posts p
                INNER JOIN cms_forum_threads t ON = p.thread_id

                LEFT JOIN cms_users u ON = p.user_id
                LEFT JOIN cms_user_profiles up ON up.user_id =
                LEFT JOIN cms_user_groups g ON u.group_id =
                WHERE 1=1
                 AND (p.user_id = '206')
 AND (t.is_hidden = 0)

                ORDER BY p.thread_id DESC, p.pubdate DESC 
LIMIT 0, 10
Got error -1 from storage engine