#32374: Migrations are marked applied even if deferred SQL fails to execute
--------------------------------+------------------------------------------
     Reporter:  Simon Charette  |                    Owner:  Simon Charette
         Type:  Bug             |                   Status:  closed
    Component:  Migrations      |                  Version:  2.2
     Severity:  Normal          |               Resolution:  fixed
     Keywords:                  |             Triage Stage:  Accepted
    Has patch:  1               |      Needs documentation:  0
  Needs tests:  0               |  Patch needs improvement:  0
Easy pickings:  0               |                    UI/UX:  0
--------------------------------+------------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"6520ce5251e7d63d08bf965e5ca00e508f8a8613" 6520ce5]:
 {{{
 #!CommitTicketReference repository=""
 revision="6520ce5251e7d63d08bf965e5ca00e508f8a8613"
 [3.2.x] Fixed #32374 -- Stopped recording migration application before
 deferred SQL.

 Migrations cannot be recorded in the same transaction as its associated
 DDL operations when some of it is deferred until the schema editor
 context exits.

 Regression in c86a3d80a25acd1887319198ca21a84c451014ad.

 Backport of 0c42cdf0d2422f4c080e93594d5d15381d6e955e from master
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32374#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.5105d69e177054d17ef1dce90903c0b1%40djangoproject.com.

Reply via email to