]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- [bug] Repaired the use_scope_identity
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 5 Apr 2012 18:31:28 +0000 (14:31 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 5 Apr 2012 18:31:28 +0000 (14:31 -0400)
commit4cb74452fe551c3d4f0dd305bee1e69dbdccd99a
tree2759e0df35e59fde505492bd67a19415999968f3
parent879e6bc462403933fdadc17b700e231eba3207db
  - [bug] Repaired the use_scope_identity
    create_engine() flag when using the pyodbc
    dialect.  Previously this flag would be
    ignored if set to False.  When set to False,
    you'll get "SELECT @@identity" after each
    INSERT to get at the last inserted ID,
    for those tables which have "implicit_returning"
    set to False.
CHANGES
lib/sqlalchemy/dialects/mssql/base.py
lib/sqlalchemy/dialects/mssql/pyodbc.py
test/dialect/test_mssql.py