]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
also, this seems like a bug anyway
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 15 Aug 2012 15:48:08 +0000 (11:48 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 15 Aug 2012 15:48:08 +0000 (11:48 -0400)
lib/sqlalchemy/dialects/mysql/mysqlconnector.py

index 67e2aaa8a5eab16f6e8b26e89245adf5b5401651..9b11d5b0792c6084748bd5fcf01b6a01c11ccc8d 100644 (file)
@@ -106,6 +106,9 @@ 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])