View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0009356 | mantisbt | db mssql | public | 2008-07-07 10:47 | 2014-05-16 15:00 |
| Reporter | LordLarry | Assigned To | grangeway | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | no change required | ||
| Platform | Windows | OS | Windows Server | OS Version | 2003 |
| Product Version | 1.2.0a1 | ||||
| Summary | 0009356: ADODB uses wrong query to get LastID | ||||
| Description | It uses SCOPE_IDENTITY() which is safer, but fails to return a result after a sp_execute which mantis uses. Using @@identity solves the problem, but is less safe | ||||
| Steps To Reproduce | Report a bug on a MSSQL database and see that it fails reporting bug_text is NULL | ||||
| Tags | No tags attached. | ||||
|
Forget to set this to major |
|
|
is this reported to ADODB developers? |
|
|
Larry, Mantis doesn't use StoredProcs - it uses bound query strings, Or am i missing your meaning of sp_Execute Paul |
|
|
True. It's ADODB that uses sp_executesql to execute the query. In the end mantis does not work with the version of ADODB it supplies. |
|
|
Reported here: http://phplens.com/lens/lensforum/msgs.php?id=17541 |
|
|
Received only the suggestion to use the MSSQL php driver |
|
|
Doing a bit of tidyup on the issue tracker atm - 1.3.x when it gets released should have better support for mssql, especially now that MS have done some work on php. |
|
|
MantisBT currently supports Mysql and has support for other database engines. The support for other databases is known to be problematic. Having implemented the current database layer into Mantis 10 years ago, I'm currently working on replacing the current layer. If you are interested in using Mantis with non-mysql databases - for example, Oracle, PGSQL or MSSQL, and would be willing to help out testing the new database layer, please drop me an email at paul@mantisforge.org In the meantime, I'd advise running Mantis with Mysql Only to avoid issues. Thanks |
|