Search Changesets

MantisBT: master c0c7eb1c

2019-02-04 18:49:19


Details Diff
Fix mssql concurrent insert id

The implementation of db_insert_id() in mssql relied on IDENT_CURRENT
making it not thread safe.
Modify it to use ADOdb native implementation, based on SCOPE_IDENTITY()
which is session independent.

Fixes: 0025442
Affected Issues
mod - core/database_api.php Diff File