Use Tryton CHECK constraint for MySQL
MySQL has only partial constraints, it doesn't manage CHECK. So we use Tryton to check those constraints.
This commit is contained in:
1 parent
596c8fce39
commit
4488f99593
1 file changed
+1
-1
@@ -289,7 +289,7 @@ class Cursor(CursorInterface):
|
||||
self.cursor.execute('FLUSH TABLES WITH READ LOCK')
|
||||
|
||||
def has_constraint(self):
|
||||
return True
|
||||
return False
|
||||
|
||||
def limit_clause(self, select, limit=None, offset=None):
|
||||
if offset and limit is None:
|
||||
|
||||
Reference in new issue
Block a user