From: Hajime Nakagami Date: Thu, 28 Feb 2013 15:00:18 +0000 (+0900) Subject: mymysql dialect X-Git-Tag: rel_0_8_0~8^2~1^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=220f2b851a74de510f98fa62559411bcb37ab150;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git mymysql dialect --- diff --git a/lib/sqlalchemy/testing/engines.py b/lib/sqlalchemy/testing/engines.py index 20bcf03178..26f5610162 100644 --- a/lib/sqlalchemy/testing/engines.py +++ b/lib/sqlalchemy/testing/engines.py @@ -229,7 +229,7 @@ def utf8_engine(url=None, options=None): from sqlalchemy.engine import url as engine_url if config.db.dialect.name == 'mysql' and \ - config.db.driver in ['mysqldb', 'pymysql']: + config.db.driver in ['mysqldb', 'pymysql', 'cymysql']: # note 1.2.1.gamma.6 or greater of MySQLdb # needed here url = url or config.db_url diff --git a/test/engine/test_reconnect.py b/test/engine/test_reconnect.py index 6416ce1490..6b283654b6 100644 --- a/test/engine/test_reconnect.py +++ b/test/engine/test_reconnect.py @@ -487,6 +487,9 @@ class InvalidateDuringResultTest(fixtures.TestBase): meta.drop_all() engine.dispose() + @testing.fails_on('+cymysql', + "Buffers the result set and doesn't check for " + "connection close") @testing.fails_on('+pymysql', "Buffers the result set and doesn't check for " "connection close")