django1/django/db/backends
Aymeric Augustin 8b5b199e20 Fixed #3214 -- Stopped parsing SQL with regex.
Avoided introducing a new regex-based SQL splitter in the migrations
framework, before we're bound by backwards compatibility.

Adapted this change to the legacy "initial SQL data" feature, even
though it's already deprecated, in order to facilitate the transition
to migrations.

sqlparse becomes mandatory for RunSQL on some databases (all but
PostgreSQL). There's no API to provide a single statement and tell
Django not to attempt splitting. Since we have a more robust splitting
implementation, that seems like a good tradeoff. It's easier to add a
new keyword argument later if necessary than to remove one.

Many people contributed to both tickets, thank you all, and especially
Claude for the review.

Refs #22401.
2014-04-26 17:46:23 +02:00
..
dummy Removed legacy transaction management per the deprecation timeline. 2014-03-21 21:06:50 +01:00
mysql Fixed #22321 -- Wrapped exceptions in _set_autocommit. 2014-04-10 20:16:12 +02:00
oracle Made sure cursor.close() does not complain if cursor is already closed on Oracle 2014-04-25 00:36:40 +03:00
postgresql_psycopg2 Fixed #3214 -- Stopped parsing SQL with regex. 2014-04-26 17:46:23 +02:00
sqlite3 Set some transaction-related feature flags on SQLite. 2014-04-25 11:43:20 +02:00
__init__.py Fixed #3214 -- Stopped parsing SQL with regex. 2014-04-26 17:46:23 +02:00
creation.py Removed unused imports. 2014-03-21 20:18:19 -04:00
schema.py Fixed #22498 -- constraint name was not quoted in FK creation SQL 2014-04-25 01:30:43 +03:00
signals.py Fixed #13798 -- Added connection argument to the connection_created signal. Thanks to liangent for the report, and Alex Gaynor for the patch. 2010-08-30 13:21:18 +00:00
util.py Add a useful stacklevel to some RemovedInDjango19Warnings 2014-03-27 15:44:52 +13:00
utils.py Prevented a crash in the cursor wrappers on Oracle. 2014-04-24 09:14:42 -04:00