summaryrefslogtreecommitdiff
path: root/test/lib/schema.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-08-28 23:16:30 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2012-08-28 23:16:30 +0000
commit64ba2c016995a679fe7c54b48ab807469987d370 (patch)
tree2ed38592dc91e4538bccd6f8fec0942f7c56e497 /test/lib/schema.py
parent7d6c1c4a95596d5d83d9187d823f88fdc46f35b6 (diff)
downloadsqlalchemy-64ba2c016995a679fe7c54b48ab807469987d370.tar.gz
force MyISAM in here as newer MySQLs set to innodb by default, which breaks a ton of crap
Diffstat (limited to 'test/lib/schema.py')
-rw-r--r--test/lib/schema.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lib/schema.py b/test/lib/schema.py
index 0cd38bc64..2328770d5 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.