#28804: MariaDB compatibility broken: "Unknown system variable 'transaction_isolation'" -------------------------------------+------------------------------------- Reporter: Gene Sem | Owner: nobody Type: Bug | Status: new Component: Database layer | Version: 2.0 (models, ORM) | Severity: Release blocker | Resolution: Keywords: mysqldb, error, | Triage Stage: Accepted transaction_isolation, database, | backend | Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Adam (Chainz) Johnson): We can test with `show variables like 't%_isolation';`, which on MySQL 5.7 will show: {{{ +-----------------------+-----------------+ | Variable_name | Value | +-----------------------+-----------------+ | transaction_isolation | REPEATABLE-READ | | tx_isolation | REPEATABLE-READ | +-----------------------+-----------------+ 2 rows in set (0.01 sec) }}} And on earlier MySQL / MariaDB versions will return just the `tx_isolation` row. -- Ticket URL: <https://code.djangoproject.com/ticket/28804#comment:11> 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.377d2366569035d11f4f644608846636%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.