Changes between Initial Version and Version 1 of Ticket #28804, comment 6
- Timestamp:
- Nov 17, 2017, 4:19:02 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28804, comment 6
initial v1 6 6 So `transaction_isolation_variable()` should return `'tx_isolation'` 7 7 but returning `'transaction_isolation'` which is error value for mariadb. 8 9 10 Dirty workaround: 11 File `django/db/backends/mysql/base.py` lines 234-236 12 13 14 {{{ 15 @cached_property 16 def transaction_isolation_variable(self): 17 return 'tx_isolation' if self.mysql_version < (5, 7, 20) or self.mysql_version > (10, 0, 10) else 'transaction_isolation' 18 19 }}} 20