MDL-34130 add missing rs close
authorPetr Škoda <commits@skodak.org>
Sun, 1 Jul 2012 19:00:16 +0000 (21:00 +0200)
committerPetr Škoda <commits@skodak.org>
Sun, 1 Jul 2012 19:40:36 +0000 (21:40 +0200)
Thanks Eloy!

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();