From a2ce4900a63f91f0cc685ac157762610c199c391 Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Tue, 3 Jun 2025 21:43:50 -0400 Subject: Fixed #36430 -- Removed artificially low limit on single field bulk operations on SQLite. --- tests/backends/sqlite/test_operations.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/backends/sqlite/test_operations.py b/tests/backends/sqlite/test_operations.py index ab6efaa771..0c2772301b 100644 --- a/tests/backends/sqlite/test_operations.py +++ b/tests/backends/sqlite/test_operations.py @@ -93,7 +93,8 @@ class SQLiteOperationsTests(TestCase): first_name_field = Person._meta.get_field("first_name") last_name_field = Person._meta.get_field("last_name") self.assertEqual( - connection.ops.bulk_batch_size([first_name_field], [Person()]), 500 + connection.ops.bulk_batch_size([first_name_field], [Person()]), + connection.features.max_query_params, ) self.assertEqual( connection.ops.bulk_batch_size( -- cgit v1.3