View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022904 | mantisbt | db mssql | public | 2017-05-20 04:47 | 2017-06-04 14:58 |
Reporter | obmsch | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.4.0 | ||||
Target Version | 2.5.0 | Fixed in Version | 2.5.0 | ||
Summary | 0022904: database_api: db_insert_id returns string not int (mssql) | ||||
Description | At least with mssql, might be true for postgres and oracle as well (can't test), | ||||
Tags | No tags attached. | ||||
I was looking at _query(mssqlnative), how parameters are passed to the sqldriver, adding bug notes to check. Although saved in the db as int (implicit conversion at some point), db_insert_id should comply with the doc |
|
@dregad Thanks, nice cleanup. Works for me (mantisbt-2.5.0-dev-master-6f7ea15, mssql). |
|