From: Mike Bayer Date: Tue, 28 Aug 2012 23:16:30 +0000 (+0000) Subject: force MyISAM in here as newer MySQLs set to innodb by default, which breaks a ton... X-Git-Tag: rel_0_8_0b1~194 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=64ba2c016995a679fe7c54b48ab807469987d370;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git force MyISAM in here as newer MySQLs set to innodb by default, which breaks a ton of crap --- diff --git a/test/lib/schema.py b/test/lib/schema.py index 0cd38bc647..2328770d56 100644 --- a/test/lib/schema.py +++ b/test/lib/schema.py @@ -21,6 +21,8 @@ def Table(*args, **kw): if 'mysql_engine' not in kw and 'mysql_type' not in kw: if 'test_needs_fk' in test_opts or 'test_needs_acid' in test_opts: kw['mysql_engine'] = 'InnoDB' + else: + kw['mysql_engine'] = 'MyISAM' # Apply some default cascading rules for self-referential foreign keys. # MySQL InnoDB has some issues around seleting self-refs too.