]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-20625 concurrent tests - added note about MySQL and MSSQL
authorEloy Lafuente <stronk7@moodle.org>
Sun, 8 Nov 2009 23:15:02 +0000 (23:15 +0000)
committerEloy Lafuente <stronk7@moodle.org>
Sun, 8 Nov 2009 23:15:02 +0000 (23:15 +0000)
lib/dml/simpletest/testdml.php

index 0fd2ed208718ca03ebdb77fe8604077ef548b4a0..6b1dee564dcafd90cf8e6687cbf4ab578da962ee 100755 (executable)
@@ -2582,6 +2582,10 @@ class dml_test extends UnitTestCase {
     }
 
     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)
         $DB = $this->tdb;
         $dbman = $DB->get_manager();