]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The functionality of result.rowcount is now disabled
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 11 Apr 2010 20:37:49 +0000 (16:37 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 11 Apr 2010 20:37:49 +0000 (16:37 -0400)
commit47ef5ed5f72b9d65a48780ee561ae84e8b05becb
tree61f6ebb1646aebf0e89cac0a67d3ef27fb008f02
parentfc157ed8c57b7fcfea6b76688d4733c87c4f8e82
- The functionality of result.rowcount is now disabled
by default, and can be re-enabled using the 'enable_rowcount'
flag with create_engine(), as well as the 'enable_rowcount'
execution context flag on a per-execute basis.  This because
cursor.rowcount requires cursor access (can't be evaluated
lazily since the result auto-closes) and also incurs an
expensive round-trip.
CHANGES
lib/sqlalchemy/dialects/firebird/kinterbasdb.py
test/dialect/test_firebird.py