From aacf02c55b2f1c979ae0b22b85e083b9612ed058 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Wed, 16 Aug 2006 17:53:24 +0000 Subject: [PATCH] Proper parent init and comment close --- lib/xmldb/classes/generators/mysql/mysql.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/xmldb/classes/generators/mysql/mysql.class.php b/lib/xmldb/classes/generators/mysql/mysql.class.php index 4773d33797..2aee41fca9 100644 --- a/lib/xmldb/classes/generators/mysql/mysql.class.php +++ b/lib/xmldb/classes/generators/mysql/mysql.class.php @@ -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; } /** -- 2.39.5