Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
7939ae1d
Commit
7939ae1d
authored
19 years ago
by
Gerhard Killesreiter
Browse files
Options
Downloads
Patches
Plain Diff
#50669
, Remove MyISAM from updates.inc, modified patch by webchick
parent
26ba3782
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
database/updates.inc
+7
-7
7 additions, 7 deletions
database/updates.inc
with
7 additions
and
7 deletions
database/updates.inc
+
7
−
7
View file @
7939ae1d
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment