mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-14 12:47:22 -04:00
rolled back the operationalerror catch...definitely doesnt work right now
This commit is contained in:
@@ -701,9 +701,6 @@ class SQLEngine(schema.SchemaEngine):
|
||||
parameters = {}
|
||||
try:
|
||||
c.execute(statement, parameters)
|
||||
except self.dbapi().OperationalError, e:
|
||||
c.parent.invalidate()
|
||||
raise exceptions.SQLError(statement, parameters, e)
|
||||
except Exception, e:
|
||||
raise exceptions.SQLError(statement, parameters, e)
|
||||
self.context.rowcount = c.rowcount
|
||||
|
||||
Reference in New Issue
Block a user