Merge commit '7d6da219c0fccb8693282a99765135050173d7c4' into glitch-soc/merge-upstream

This commit is contained in:
Claire committed 2025-01-03 20:26:28 +01:00
commit 7e1f8babbd
16 files changed
+92 -518

No files matched your search

+3 -1
View File
@@ -13,7 +13,9 @@ module ActiveRecord
column_names.unshift(primary_key)
relation = relation.reorder(build_batch_orders(order).to_h).limit(batch_limit)
cursor = Array(primary_key)
relation = relation.reorder(build_batch_orders(cursor, order).to_h).limit(batch_limit)
relation.skip_query_cache!
batch_relation = relation