#29895: Enable atomic DDL statements on MySQL 8+ -----------------------------+------------------------------------ Reporter: Nathan Klug | Owner: nobody Type: New feature | Status: new Component: Migrations | Version: 2.1 Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -----------------------------+------------------------------------
Comment (by Tim Graham): I tried adding: {{{ @cached_property def can_rollback_ddl(self): return not self.connection.mysql_is_mariadb and self.connection.mysql_version >= (8, 0) }}} to `django/db/backends/mysql/features.py` and was met with some failures such as "`SAVEPOINT s140283873580864_x2 does not exist')` in `cache.tests.CreateCacheTableForDBCacheTests.test_createcachetable_observes_database_router` that I couldn't figure out at a quick glance. -- Ticket URL: <https://code.djangoproject.com/ticket/29895#comment:2> 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 post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.ea5c095971f9368bbb854ac9d658c5b9%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.