]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- the execution sequence pulls all rowcount/last inserted ID
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 28 Feb 2010 23:51:54 +0000 (23:51 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 28 Feb 2010 23:51:54 +0000 (23:51 +0000)
commita76927f584dab481383592645a2a471fed37ecf9
tree1303912df863199b07bdbcf4a5ffd1abf63701d6
parentc366b7ec4fded0c8baabcdc6e6f15ecd81a4bf00
- the execution sequence pulls all rowcount/last inserted ID
info from the cursor before commit() is called on the
DBAPI connection in an "autocommit" scenario.  This helps
mxodbc with rowcount and is probably a good idea overall.
- cx_oracle wants list(), not tuple(), for empty execute.
- cleaned up plain SQL param handling
CHANGES
lib/sqlalchemy/dialects/mssql/base.py
lib/sqlalchemy/dialects/mssql/mxodbc.py
lib/sqlalchemy/dialects/oracle/cx_oracle.py
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/engine/default.py
test/engine/test_execute.py
test/sql/test_rowcount.py