MDL-34130 add missing rs close
[moodle.git] / lib / dml / tests / dml_test.php
index 15b52f2..652d022 100644 (file)
@@ -4176,6 +4176,7 @@ class dml_testcase extends database_driver_testcase {
                 $t->allow_commit();
                 $j++;
             }
+            $rs2->close();
             $this->assertEquals(4, $j);
         }
         $rs1->close();