• Simon Charette's avatar
    Fixed #27631 -- Prevented execution of transactional DDL statements when unsupported. · 81380583
    Simon Charette yazdı
    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.
    81380583
Adı
Son kayıt (commit)
Son güncelleme
.tx Loading commit data...
django Loading commit data...
docs Loading commit data...
extras Loading commit data...
js_tests Loading commit data...
scripts Loading commit data...
tests Loading commit data...
.editorconfig Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.hgignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.rst Loading commit data...
Gruntfile.js Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
LICENSE.python Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
package.json Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...