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
92496eb8
Commit
92496eb8
authored
18 years ago
by
Neil Drumm
Browse files
Options
Downloads
Patches
Plain Diff
#14400
by chx. Add a missing key.
parent
153fbc78
No related branches found
No related tags found
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
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/aggregator/aggregator.install
+3
-1
3 additions, 1 deletion
modules/aggregator/aggregator.install
modules/system/system.install
+14
-0
14 additions, 0 deletions
modules/system/system.install
with
17 additions
and
1 deletion
modules/aggregator/aggregator.install
+
3
−
1
View file @
92496eb8
...
@@ -52,7 +52,8 @@ function aggregator_install() {
...
@@ -52,7 +52,8 @@ function aggregator_install() {
description longtext NOT NULL,
description longtext NOT NULL,
timestamp int default NULL,
timestamp int default NULL,
guid varchar(255),
guid varchar(255),
PRIMARY KEY (iid)
PRIMARY KEY (iid),
KEY fid (fid)
) /*!40100 DEFAULT CHARACTER SET UTF8 */ "
);
) /*!40100 DEFAULT CHARACTER SET UTF8 */ "
);
break
;
break
;
...
@@ -106,6 +107,7 @@ function aggregator_install() {
...
@@ -106,6 +107,7 @@ function aggregator_install() {
guid varchar(255),
guid varchar(255),
PRIMARY KEY (iid)
PRIMARY KEY (iid)
)"
);
)"
);
db_query
(
"CREATE INDEX
{
aggregator_item
}
_fid_idx ON
{
aggregator_item
}
(fid)"
);
break
;
break
;
}
}
...
...
This diff is collapsed.
Click to expand it.
modules/system/system.install
+
14
−
0
View file @
92496eb8
...
@@ -3076,6 +3076,20 @@ function system_update_1006() {
...
@@ -3076,6 +3076,20 @@ function system_update_1006() {
return
$ret
;
return
$ret
;
}
}
function
system_update_1007
()
{
$ret
=
array
();
switch
(
$GLOBALS
[
'db_type'
])
{
case
'mysql'
:
case
'mysqli'
:
$ret
[]
=
update_sql
(
"ALTER TABLE
{
aggregator_item
}
ADD INDEX (fid)"
);
break
;
case
'pgsql'
:
$ret
[]
=
update_sql
(
"CREATE INDEX
{
aggregator_item
}
_fid_idx ON
{
aggregator_item
}
(fid)"
);
break
;
}
return
$ret
;
}
/**
/**
* @} End of "defgroup updates-4.7-to-x.x"
* @} End of "defgroup updates-4.7-to-x.x"
* The next series of updates should start at 2000.
* The next series of updates should start at 2000.
...
...
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