]> 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 92b16f8f2ff434170dd37270f1ebef2524664bf6..104d5330a2037b81fa5229a5f3a66e77adbf4b96 100644 (file)
@@ -101,13 +101,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)