summaryrefslogtreecommitdiff
path: root/database
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-03-01 09:20:19 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-03-01 09:20:19 +0000
commit7939ae1d26756b913522764d0b5a20a56dc5ed21 (patch)
treeabee6d747b67e28b332abc8e07485e0f5a178879 /database
parent26ba37823e03e6c9585f7a96374b92405a69789e (diff)
downloadbrdo-7939ae1d26756b913522764d0b5a20a56dc5ed21.tar.gz
brdo-7939ae1d26756b913522764d0b5a20a56dc5ed21.tar.bz2
#50669, Remove MyISAM from updates.inc, modified patch by webchick
Diffstat (limited to 'database')
-rw-r--r--database/updates.inc14
1 files changed, 7 insertions, 7 deletions
diff --git a/database/updates.inc b/database/updates.inc
index fceaf3602..9847ee136 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;