summaryrefslogtreecommitdiff
path: root/test/sql/test_query.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-10-11 00:15:43 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2011-10-11 00:15:43 -0400
commita0cc36c23966bb2a5884e6760ea3efde44fc3518 (patch)
tree2a41c3fc51f556b9f6cf012a5e3b8ec2e00f1f2e /test/sql/test_query.py
parent879c932018fd22573163c76042761ce98ccaaaa3 (diff)
downloadsqlalchemy-a0cc36c23966bb2a5884e6760ea3efde44fc3518.tar.gz
- adjust some tests and such to work better with a mysql 5.5 install
- Added mysql_length parameter to Index construct, specifies "length" for indexes. [ticket:2293]
Diffstat (limited to 'test/sql/test_query.py')
-rw-r--r--test/sql/test_query.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/sql/test_query.py b/test/sql/test_query.py
index 4d1af2cff..7f127a6ef 100644
--- a/test/sql/test_query.py
+++ b/test/sql/test_query.py
@@ -188,11 +188,13 @@ class QueryTest(fixtures.TestBase):
@testing.fails_on('sqlite', "sqlite autoincremnt doesn't work with composite pks")
def test_misordered_lastrow(self):
related = Table('related', metadata,
- Column('id', Integer, primary_key=True)
+ Column('id', Integer, primary_key=True),
+ mysql_engine='MyISAM'
)
t6 = Table("t6", metadata,
Column('manual_id', Integer, ForeignKey('related.id'), primary_key=True),
Column('auto_id', Integer, primary_key=True, test_needs_autoincrement=True),
+ mysql_engine='MyISAM'
)
metadata.create_all()