From: stronk7 Date: Sun, 20 Aug 2006 18:03:55 +0000 (+0000) Subject: MySQL doesn't like any name on its primary keys (neither "primary") X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=16f07ff2b0ea8fa3ee55f1c4c65824cbab465ae5;p=moodle.git MySQL doesn't like any name on its primary keys (neither "primary") --- diff --git a/lib/xmldb/classes/generators/mysql/mysql.class.php b/lib/xmldb/classes/generators/mysql/mysql.class.php index 31bd4c65c6..dfa3af2b9f 100644 --- a/lib/xmldb/classes/generators/mysql/mysql.class.php +++ b/lib/xmldb/classes/generators/mysql/mysql.class.php @@ -36,7 +36,7 @@ class XMLDBmysql extends XMLDBGenerator { var $default_for_char = ''; // To define the default to set for NOT NULLs CHARs without default (null=do nothing) - var $primary_key_name = 'primary'; //To force primary key names to one string (null=no force) + var $primary_key_name = ''; //To force primary key names to one string (null=no force) var $foreign_keys = false; // Does the generator build foreign keys