in mariadb 10.2. more mariadb fixes coming
Change-Id: I6e3a94ae7340772663677b1082506adbb2d84a38
"Dependency rule tried to blank-out "
"primary key column 'tableB.id' on instance ")
- @testing.fails_on_everything_except('sqlite', 'mysql')
+ @testing.fails_on_everything_except(
+ 'sqlite', testing.requires.mysql_non_strict)
def test_nullPKsOK_BtoA(self):
A, tableA = self.classes.A, self.tables.tableA
def mysql_non_strict(self):
def check(config):
row = config.db.execute("show variables like 'sql_mode'").first()
- return not row or "STRICT" not in row[1]
+ return not row or "STRICT_TRANS_TABLES" not in row[1]
return only_if(check)