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
534c6d4f
Commit
534c6d4f
authored
19 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#42390
by chx: field 'translation' doesn't have a default value query.
parent
84d4e12c
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
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
database/database.mysql
+1
-1
1 addition, 1 deletion
database/database.mysql
database/updates.inc
+10
-0
10 additions, 0 deletions
database/updates.inc
with
11 additions
and
1 deletion
database/database.mysql
+
1
−
1
View file @
534c6d4f
...
...
@@ -395,7 +395,7 @@ CREATE TABLE locales_source (
CREATE TABLE locales_target (
lid int(11) NOT NULL default '0',
translation blob NOT NULL,
translation blob NOT NULL
default ''
,
locale varchar(12) NOT NULL default '',
plid int(11) NOT NULL default '0',
plural int(1) NOT NULL default '0',
...
...
This diff is collapsed.
Click to expand it.
database/updates.inc
+
10
−
0
View file @
534c6d4f
...
...
@@ -1698,3 +1698,13 @@ function system_update_174() {
}
return
array
();
}
function
system_update_175
()
{
$ret
=
array
();
switch
(
$GLOBALS
[
'db_type'
])
{
case
'mysql'
:
case
'mysqli'
:
$ret
[]
=
update_sql
(
"ALTER TABLE
{
locales_target
}
ALTER COLUMN translation SET DEFAULT ''"
);
}
return
$ret
;
}
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