summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/databases/mysql.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/databases/mysql.py')
-rw-r--r--lib/sqlalchemy/databases/mysql.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py
index 6a01b789b..0fc7c8fbd 100644
--- a/lib/sqlalchemy/databases/mysql.py
+++ b/lib/sqlalchemy/databases/mysql.py
@@ -1510,9 +1510,6 @@ class MySQLDialect(default.DefaultDialect):
def supports_unicode_statements(self):
return True
- def do_execute(self, cursor, statement, parameters, context=None):
- cursor.execute(statement, parameters)
-
def do_commit(self, connection):
"""Execute a COMMIT."""
@@ -1811,8 +1808,8 @@ class MySQLDialect(default.DefaultDialect):
return
row = _compat_fetchone(
- connection.execute("SHOW VARIABLES LIKE 'sql_mode'",
- charset=charset))
+ connection.execute("SHOW VARIABLES LIKE 'sql_mode'"),
+ charset=charset)
if not row:
mode = ''
else: