﻿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
17788	"bulk_create() ""too many SQL variables"" error"	Alpár Jüttner	Anssi Kääriäinen	"I tried to `bulk_create()` lots of (e.g. >300) objects with Django 1.4b1 + sqlite backend. It fails with
{{{
django.db.utils.DatabaseError: too many SQL variables
}}}

It makes the use of `bulk_create()` quite risky.

Wouldn't is be possible the automatically break up the list of objects to smaller pieces when it turns out to be too large?

"	Bug	closed	Database layer (models, ORM)	1.4	Release blocker	fixed		anssi.kaariainen@… michal.petrucha@… alasdair@…	Ready for checkin	1	0	0	0	0	0
