From 437dd22d49e69aa7555b37788ad5ca532a2f33c0 Mon Sep 17 00:00:00 2001 From: Jason Kirtland Date: Wed, 16 Jul 2008 15:25:33 +0000 Subject: Removed deprecated get_version_info, use server_version_info --- lib/sqlalchemy/databases/mysql.py | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'lib/sqlalchemy/databases/mysql.py') diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index a56e6ad79..c79e865fb 100644 --- a/lib/sqlalchemy/databases/mysql.py +++ b/lib/sqlalchemy/databases/mysql.py @@ -1613,19 +1613,6 @@ class MySQLDialect(default.DefaultDialect): version.append(n) return tuple(version) - # @deprecated - def get_version_info(self, connectable): - """A tuple of the database server version. - - Deprecated, use ``server_version_info()``. - """ - - if isinstance(connectable, engine_base.Engine): - connectable = connectable.contextual_connect() - - return self.server_version_info(connectable) - get_version_info = util.deprecated()(get_version_info) - def reflecttable(self, connection, table, include_columns): """Load column definitions from the server.""" -- cgit v1.2.1