Index: testdml.php =================================================================== RCS file: /cvsroot/moodle/moodle/lib/dml/simpletest/testdml.php,v retrieving revision 1.68 diff -u -r1.68 testdml.php --- testdml.php 22 Mar 2010 14:41:57 -0000 1.68 +++ testdml.php 10 Jun 2010 09:07:14 -0000 @@ -2655,8 +2655,12 @@ function test_concurent_transactions() { // Notes about this test: // 1- MySQL needs to use one engine with transactions support (InnoDB). - // 2- MSSQL needs to have enabled versioning for read committed - // transactions (ALTER DATABASE xxx SET READ_COMMITTED_SNAPSHOT ON) + + // 2- SQL*Server Native (sqlsrv) and MSSQL needs to have row versioning enabled for + // read committed transactions. This must be done when no other connections + // exist: "ALTER DATABASE SET READ_COMMITTED_SNAPSHOT ON; GO" + // This command can be run from SQL Server Managment Studio + $DB = $this->tdb; $dbman = $DB->get_manager();