diff options
| author | Simon Charette <charette.s@gmail.com> | 2016-12-23 22:34:52 -0500 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2016-12-28 19:43:32 -0500 |
| commit | 813805833aca60544f6b3d686c015039f6af5d1d (patch) | |
| tree | adbd9fd6b6b7040ccd6cf6fdd915489b638323e8 /docs | |
| parent | 755406f5ff888e91bacb26f63cbddf7c036793ca (diff) | |
Fixed #27631 -- Prevented execution of transactional DDL statements when unsupported.
Executing a DDL statement during a transaction on backends that don't support
it silently commits, leaving atomic() in an incoherent state.
While schema_editor.execute() could technically be used to execute DML
statements such usage should be uncommon as these are usually performed through
the ORM. In other cases schema_editor.connection.execute() can be used to
circumvent this check.
Thanks Adam and Tim for the review.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
