]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- mssql: replace "select @@identity" with "select @@scope_identity". Should help...
authorRick Morrison <rickmorrison@gmail.com>
Sun, 29 Apr 2007 20:00:43 +0000 (20:00 +0000)
committerRick Morrison <rickmorrison@gmail.com>
Sun, 29 Apr 2007 20:00:43 +0000 (20:00 +0000)
commit22278d02b943c005af1d416fd7a7016da535f4a8
tree3da858e28f3895adee5d42a553ec47bd2252d20c
parentd5f423fb1948be3cba52c37270dae6ef90be9dbb
- mssql: replace "select @@identity" with "select @@scope_identity". Should help avoid returning wrong ID when insert triggers are used. Also add unit test (thanks paj)
- mssql: if no db-api module specified, probe in the order [pyodbc, pymssql, adodbapi]
CHANGES
lib/sqlalchemy/databases/mssql.py
test/sql/query.py