MantisBT: master c0c7eb1c

Author Committer Branch Timestamp Parent
cproensa atrol master 2019-02-04 18:49:19 master 6dd420c4
Affected Issues  0025442: Wrong/duplicate bugnote_text_id in mantis_bugnote_table

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

mod - core/database_api.php Diff File