mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
FIX: Removing arbitrary limit in a Discuz importer script query (#21686)
This commit is contained in:
parent
8feee8149f
commit
911539c1b2
|
@ -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};
|
||||
|
|
Loading…
Reference in New Issue
Block a user