diff options
Diffstat (limited to 'lib/sqlalchemy/dialects/mysql/mysqldb.py')
-rw-r--r-- | lib/sqlalchemy/dialects/mysql/mysqldb.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/sqlalchemy/dialects/mysql/mysqldb.py b/lib/sqlalchemy/dialects/mysql/mysqldb.py index 33cbd8f3a..3da64a491 100644 --- a/lib/sqlalchemy/dialects/mysql/mysqldb.py +++ b/lib/sqlalchemy/dialects/mysql/mysqldb.py @@ -173,17 +173,6 @@ class MySQLDialect_mysqldb(MySQLDialect): opts['client_flag'] = client_flag return [[], opts] - def _get_server_version_info(self, connection): - dbapi_con = connection.connection - version = [] - r = re.compile(r'[.\-]') - for n in r.split(dbapi_con.get_server_info()): - try: - version.append(int(n)) - except ValueError: - version.append(n) - return tuple(version) - def _extract_error_code(self, exception): return exception.args[0] |