Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
222
Merge Requests
222
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
534c6d4f
Commit
534c6d4f
authored
Feb 26, 2006
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#42390
by chx: field 'translation' doesn't have a default value query.
parent
84d4e12c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
database/database.mysql
database/database.mysql
+1
-1
database/updates.inc
database/updates.inc
+10
-0
No files found.
database/database.mysql
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',
...
...
database/updates.inc
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
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment