diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-12-15 07:43:42 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-12-15 07:43:42 +0000 |
commit | f5b5696afddacdd7c5a5ede716e7241e5fa5c97e (patch) | |
tree | e8e659b1b238f29f3c0e6616f75c0d7ba27a5536 /lib/sqlalchemy | |
parent | 422558bc5d58557a758b56f4d592d08dd6f86309 (diff) | |
download | sqlalchemy-f5b5696afddacdd7c5a5ede716e7241e5fa5c97e.tar.gz |
fixed the raise for mysql to re-raise the errorrel_0_3_3
Diffstat (limited to 'lib/sqlalchemy')
-rw-r--r-- | lib/sqlalchemy/databases/mysql.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index a452a696e..966912d3a 100644 --- a/lib/sqlalchemy/databases/mysql.py +++ b/lib/sqlalchemy/databases/mysql.py @@ -307,14 +307,14 @@ class MySQLDialect(ansisql.ANSIDialect): except mysql.OperationalError, o: if o.args[0] == 2006 or o.args[0] == 2014: cursor.invalidate() - raise o + raise o def do_execute(self, cursor, statement, parameters, **kwargs): try: cursor.execute(statement, parameters) except mysql.OperationalError, o: if o.args[0] == 2006 or o.args[0] == 2014: cursor.invalidate() - raise o + raise o def do_rollback(self, connection): |