mirror of
https://github.com/django/django.git
synced 2025-11-22 12:14:45 +00:00
Fixed #36430 -- Removed artificially low limit on single field bulk operations on SQLite.
This commit is contained in:
parent
fb0d463b1f
commit
a2ce4900a6
2 changed files with 3 additions and 7 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue