summaryrefslogtreecommitdiff
path: root/tests/backends/sqlite
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2025-06-03 21:43:50 -0400
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-08-21 16:47:41 +0200
commita2ce4900a63f91f0cc685ac157762610c199c391 (patch)
treef4f4b28e9196ac9b0f6462d52e5e0b9f802fd346 /tests/backends/sqlite
parentfb0d463b1f88a38f3e7cd8d66ed6c69309f97901 (diff)
Fixed #36430 -- Removed artificially low limit on single field bulk operations on SQLite.
Diffstat (limited to 'tests/backends/sqlite')
-rw-r--r--tests/backends/sqlite/test_operations.py3
1 files changed, 2 insertions, 1 deletions
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(