summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/databases/mysql.py
diff options
context:
space:
mode:
authorJason Kirtland <jek@discorporate.us>2008-03-30 23:24:05 +0000
committerJason Kirtland <jek@discorporate.us>2008-03-30 23:24:05 +0000
commit5291acd5974632433cd89a6aa5828224673878ed (patch)
treef2eefd924f61568786c4218ba69bb25eb2f39668 /lib/sqlalchemy/databases/mysql.py
parent833696aa0a511f207c0be3b24b94245e13b09042 (diff)
downloadsqlalchemy-5291acd5974632433cd89a6aa5828224673878ed.tar.gz
*whistle*
Diffstat (limited to 'lib/sqlalchemy/databases/mysql.py')
-rw-r--r--lib/sqlalchemy/databases/mysql.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py
index 38d2a9516..f09f08507 100644
--- a/lib/sqlalchemy/databases/mysql.py
+++ b/lib/sqlalchemy/databases/mysql.py
@@ -1548,7 +1548,6 @@ class MySQLDialect(default.DefaultDialect):
connection.info['default_schema'] = schema = \
connection.execute('SELECT DATABASE()').scalar()
return schema
- return connection.execute('SELECT DATABASE()').scalar()
def table_names(self, connection, schema):
"""Return a Unicode SHOW TABLES from a given schema."""