UPDATE xf_post
SET message_state = 'visible', thread_id = X
WHERE message_state = 'moderated';
DELETE
FROM xf_thread
WHERE discussion_state = 'moderated';
DELETE
FROM xf_moderation_queue
WHERE content_type = 'post';
UPDATE xf_post
SET message_state = 'visible', thread_id = 1018741
WHERE message_state = 'moderated';
DELETE
FROM xf_thread
WHERE discussion_state = 'moderated';
DELETE
FROM xf_moderation_queue
WHERE content_type = 'post';
10734 rows affected. (Query took 0.0364 seconds.)
UPDATE xf_post
SET message_state = 'visible', thread_id = 1018741
WHERE message_state = 'moderated';
#1205 - Lock wait timeout exceeded; try restarting transaction
DELETE
FROM xf_thread
WHERE discussion_state = 'moderated';
0 rows affected. (Query took 0.6641 seconds.)
We use essential cookies to make this site work, and optional cookies to enhance your experience.