MDL-35129 add missing recordset closing in db transfer
authorPetr Škoda <commits@skodak.org>
Fri, 14 Sep 2012 21:54:16 +0000 (23:54 +0200)
committerPetr Škoda <commits@skodak.org>
Fri, 14 Sep 2012 21:54:56 +0000 (23:54 +0200)
lib/dtl/database_exporter.php

index 7051c82..5d3c121 100644 (file)
@@ -153,6 +153,7 @@ abstract class database_exporter {
                 $this->export_table_data($table, $row);
             }
             $this->finish_table_export($table);
+            $rs->close();
         }
         $this->finish_database_export();
     }