]> git.mjollnir.org Git - moodle.git/commitdiff
Proper parent init and comment close
authorstronk7 <stronk7>
Wed, 16 Aug 2006 17:53:24 +0000 (17:53 +0000)
committerstronk7 <stronk7>
Wed, 16 Aug 2006 17:53:24 +0000 (17:53 +0000)
lib/xmldb/classes/generators/mysql/mysql.class.php

index 4773d337971f903e385dc683fd3ded748ed4c5b7..2aee41fca9cae3bad5033406f6a5a18ddbee1145 100644 (file)
@@ -52,6 +52,7 @@ class XMLDBmysql extends XMLDBGenerator {
      * Creates one new XMLDBmysql
      */
     function XMLDBmysql() {
+        parent::XMLDBGenerator();
         global $CFG;
         $this->prefix = '';
         $this->reserved_words = $this->getReservedWords();
@@ -161,7 +162,7 @@ class XMLDBmysql extends XMLDBGenerator {
         if ($xmldb_table->getComment()) {
             $comment .= " COMMENT='" . substr($xmldb_table->getComment(), 0, 250) . "'";
         }
-        return $comment . ";";
+        return $comment;
     }
 
     /**