]> git.mjollnir.org Git - moodle.git/commitdiff
MySQL doesn't like any name on its primary keys (neither "primary")
authorstronk7 <stronk7>
Sun, 20 Aug 2006 18:03:55 +0000 (18:03 +0000)
committerstronk7 <stronk7>
Sun, 20 Aug 2006 18:03:55 +0000 (18:03 +0000)
lib/xmldb/classes/generators/mysql/mysql.class.php

index 31bd4c65c69e8e9477fdca3c0bd12308ceed08a0..dfa3af2b9fbf65bc116abc54d096830073df622c 100644 (file)
@@ -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