Not logged inRybka Chess Community Forum

Table './rybkaforum_net_@002d_mwf/posts' is marked as crashed and last (automatic?) repair failed

SELECT topics.id, topics.subject, topics.tag, topics.pollId,
topics.locked, topics.sticky, topics.postNum, topics.lastPostTime,
posts.userId, posts.approved, posts.userNameBak
FROM
( SELECT id, basePostId, subject, tag, pollId, locked, sticky, postNum, lastPostTime
FROM topics
WHERE boardId = :boardId
ORDER BY sticky DESC, lastPostTime DESC
LIMIT :topicsPP OFFSET :offset
) AS topics
INNER JOIN posts AS posts
ON posts.id = topics.basePostId
ORDER BY topics.sticky DESC, topics.lastPostTime DESC

Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill