diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-06-30 19:48:48 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-06-30 19:48:48 -0400 |
| commit | 868da0c281904aa66cde9eeae32a740acab108fe (patch) | |
| tree | 41078107eb26c4dbeff3342e608c4e3d0d089c8b /lib/sqlalchemy/dialects/firebird/base.py | |
| parent | b38a76cd1d47cd6b8f1abef30ad7c3aeaa27d537 (diff) | |
| download | sqlalchemy-868da0c281904aa66cde9eeae32a740acab108fe.tar.gz | |
Added new flag ``retaining=False`` to the kinterbasdb and fdb dialects.
This controls the value of the ``retaining`` flag sent to the
``commit()`` and ``rollback()`` methods of the DBAPI connection.
Defaults to False. Also in 0.8.2, where it defaults to True.
[ticket:2763]
Diffstat (limited to 'lib/sqlalchemy/dialects/firebird/base.py')
| -rw-r--r-- | lib/sqlalchemy/dialects/firebird/base.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/sqlalchemy/dialects/firebird/base.py b/lib/sqlalchemy/dialects/firebird/base.py index ab832178e..dcaa68f4e 100644 --- a/lib/sqlalchemy/dialects/firebird/base.py +++ b/lib/sqlalchemy/dialects/firebird/base.py @@ -717,15 +717,3 @@ class FBDialect(default.DefaultDialect): return list(indexes.values()) - def do_execute(self, cursor, statement, parameters, context=None): - # kinterbase does not accept a None, but wants an empty list - # when there are no arguments. - cursor.execute(statement, parameters or []) - - def do_rollback(self, dbapi_connection): - # Use the retaining feature, that keeps the transaction going - dbapi_connection.rollback(True) - - def do_commit(self, dbapi_connection): - # Use the retaining feature, that keeps the transaction going - dbapi_connection.commit(True) |
