-
Bug
-
Resolution: Fixed
-
Minor
-
2.0.9, 2.1.6, 2.2.3, 2.3
-
None
-
MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
-
MOODLE_21_STABLE, MOODLE_22_STABLE
-
Testing MDL-33326 some problems were detected under MSSQL.
After investigating possible causes (SQL*Server versions, FreeTDS libraries...) debugging revealed that the problem was caused by one combination of the behavior of mssql_query() when running batches and the insertion of records returning ids.
So this issue is about:
- Change the current batch used for inserting records returning ids (SCOPE_IDENTITY), to newer and recommended OUTPUT clause and specialized handling of returned values.
- Cover the 2 insertion cases (with and without returning ids).
- Verify tests pass under the 5 drivers.
Ciao
- blocks
-
MDL-33326 Improve filestorage test coverage
-
- Closed
-