]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
things should work fine without this
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 15 Aug 2012 16:24:03 +0000 (12:24 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 15 Aug 2012 16:24:03 +0000 (12:24 -0400)
lib/sqlalchemy/dialects/mysql/mysqlconnector.py

index 9b11d5b0792c6084748bd5fcf01b6a01c11ccc8d..877c1b50971c419f237eef0a6a0cec814076052a 100644 (file)
@@ -105,13 +105,6 @@ class MySQLDialect_mysqlconnector(MySQLDialect):
 
     def _get_server_version_info(self, connection):
         dbapi_con = connection.connection
-
-        # TODO: why is this needed here?  we should have
-        # already set FOUND_ROWS in the connect args and should not
-        # be stepping on any exisiting client flags here.
-        from mysql.connector.constants import ClientFlag
-        dbapi_con.set_client_flags([ClientFlag.FOUND_ROWS])
-
         version = dbapi_con.get_server_version()
         return tuple(version)