﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36118	Some usage of bulk_batch_size might not account for composite primary keys on SQLite and Oracle	Simon Charette	Sarah Boyce	"Brought up by Jacob Tyler Walls when reviewing proposed changes for #36116.

-----

While the initially surfaced instance related to a distinct issue (see ticket:27833#comment:13) there are definitive problems at least with `bulk_update` which [https://github.com/django/django/blob/22fc151bb86a553d84c62d7effd289356e9b6c6c/django/db/models/query.py#L895 doesn't expand] `pk` into multiple fields before calling `bulk_batch_size` and could result in `OperationalError` due to too many parameters on SQLite.

The `bulk_update` case should be solved and other usage of `bulk_batch_size` audited."	Bug	closed	Database layer (models, ORM)	5.2	Release blocker	fixed		Jacob Walls	Ready for checkin	1	0	0	0	0	0
