Browse Source

#2 fix tidb not support save point

yulai.li 6 years ago
parent
commit
ac2bf616e1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      django_tidb/tidb/features.py

+ 1 - 0
django_tidb/tidb/features.py

@@ -3,3 +3,4 @@ from django.db.backends.mysql import base as mybase
 
 class DatabaseFeatures(mybase.DatabaseFeatures):
     supports_foreign_keys = False
+    uses_savepoints = False