From: Michael Trier Date: Wed, 22 Apr 2009 13:23:21 +0000 (+0000) Subject: Corrected mysql version info check. X-Git-Tag: rel_0_6_6~228 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0787279da8ff466d8ef7bc6430ae5d9195daad0e;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Corrected mysql version info check. --- diff --git a/test/dialect/mysql.py b/test/dialect/mysql.py index f93b5f31a2..8bcd8974ce 100644 --- a/test/dialect/mysql.py +++ b/test/dialect/mysql.py @@ -733,7 +733,7 @@ class TypesTest(TestBase, AssertsExecutionResults): # in a view, e.g. char -> varchar, tinyblob -> mediumblob # # Not sure exactly which point version has the fix. - if db.dialect.server_version_info(db.connect()) < (5, 0, 11): + if db.dialect.server_version_info < (5, 0, 11): tables = rt, else: tables = rt, rv