FIX: Removing arbitrary limit in a Discuz importer script query (#21686)

This commit is contained in:
Constanza 2023-05-23 17:07:09 -04:00 committed by GitHub
parent 8feee8149f
commit 911539c1b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -429,7 +429,6 @@ class ImportScripts::DiscuzX < ImportScripts::Base
FROM #{posts_table} p
JOIN #{posts_table} p2 ON p2.first AND p2.tid = p.tid
JOIN #{topics_table} t ON t.tid = p.tid
where t.tid < 10000
ORDER BY id ASC, topic_id ASC
LIMIT #{BATCH_SIZE}
OFFSET #{offset};