From 7939ae1d26756b913522764d0b5a20a56dc5ed21 Mon Sep 17 00:00:00 2001
From: Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>
Date: Wed, 1 Mar 2006 09:20:19 +0000
Subject: [PATCH] #50669, Remove MyISAM from updates.inc, modified patch by
 webchick

---
 database/updates.inc | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/database/updates.inc b/database/updates.inc
index fceaf3602d4a..9847ee136452 100644
--- a/database/updates.inc
+++ b/database/updates.inc
@@ -21,13 +21,13 @@ function system_update_110() {
       KEY sid (sid),
       KEY fromsid (fromsid),
       KEY word (word)
-      ) TYPE=MyISAM");
+      )");
 
     $ret[] = update_sql("CREATE TABLE {search_total} (
       word varchar(50) NOT NULL default '',
       count int(10) unsigned default NULL,
       PRIMARY KEY word (word)
-      ) TYPE=MyISAM");
+      )");
 
 
     /*
@@ -355,7 +355,7 @@ function system_update_124() {
       comment_count int(10) unsigned NOT NULL default '0',
       PRIMARY KEY (nid),
       KEY node_comment_timestamp (last_comment_timestamp)
-      ) TYPE=MyISAM");
+      )");
   }
 
   else {
@@ -1386,13 +1386,13 @@ function system_update_166() {
         created int(11) NOT NULL default '0',
         changed int(11) NOT NULL default '0',
         PRIMARY KEY (cid)
-      ) TYPE=MyISAM");
+      )");
       $ret[] = update_sql("CREATE TABLE {client_system} (
         cid int(10) NOT NULL default '0',
         name varchar(255) NOT NULL default '',
         type varchar(255) NOT NULL default '',
         PRIMARY KEY (cid,name)
-      ) TYPE=MyISAM");
+      )");
       break;
 
     case 'pgsql':
@@ -1663,7 +1663,7 @@ function system_update_173() {
         description varchar(255) NOT NULL default '',
         list tinyint(1) unsigned NOT NULL default 0,
         PRIMARY KEY (fid, vid)
-        ) TYPE=MyISAM /*!40100 DEFAULT CHARACTER SET utf8 */");
+        ) /*!40100 DEFAULT CHARACTER SET utf8 */");
       $ret[] = update_sql('INSERT INTO {file_revisions} SELECT fid, vid, description, list FROM {files}');
 
       // alter files table
@@ -1677,7 +1677,7 @@ function system_update_173() {
         filemime varchar(255) NOT NULL default '',
         filesize int(10) unsigned NOT NULL default 0,
         PRIMARY KEY (fid)
-        ) TYPE=MyISAM /*!40100 DEFAULT CHARACTER SET utf8 */");
+        ) /*!40100 DEFAULT CHARACTER SET utf8 */");
       $ret[] = update_sql("INSERT IGNORE INTO {files} SELECT fid, nid, filename, filepath, filemime, filesize FROM {files_copy}");
       $ret[] = update_sql("DROP TABLE {files_copy}");
       break;
-- 
GitLab