put TYPE back in, now as it's back in 5.1 ;-)
[lhc/web/wiklou.git] / maintenance / updaters.inc
index 16efd05..61fe17b 100644 (file)
@@ -390,7 +390,7 @@ function do_schema_restructuring() {
                        UNIQUE INDEX name_title (page_namespace,page_title),
                        INDEX (page_random),
                        INDEX (page_len)
-                       ) ENGINE=InnoDB", $fname );
+                       ) TYPE=InnoDB", $fname );
                $wgDatabase->query("CREATE TABLE $revision (
                        rev_id int(8) unsigned NOT NULL auto_increment,
                        rev_page int(8) unsigned NOT NULL,
@@ -407,7 +407,7 @@ function do_schema_restructuring() {
                        INDEX page_timestamp (rev_page,rev_timestamp),
                        INDEX user_timestamp (rev_user,rev_timestamp),
                        INDEX usertext_timestamp (rev_user_text,rev_timestamp)
-                       ) ENGINE=InnoDB", $fname );
+                       ) TYPE=InnoDB", $fname );
 
                echo wfTimestamp();
                echo "......Locking tables.\n";