Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
442663b6
Commit
442663b6
authored
Apr 16, 2005
by
Dries
Browse files
- Patch
#20615
by Robert: added missing table prefixes
parent
3c5cc8cb
Changes
1
Show whitespace changes
Inline
Side-by-side
database/updates.inc
View file @
442663b6
...
...
@@ -2359,10 +2359,10 @@ function update_129() {
function
update_130
()
{
$ret
=
array
();
if
(
$GLOBALS
[
'db_type'
]
==
'mysql'
)
{
$ret
[]
=
update_sql
(
"ALTER TABLE sessions ADD cache int(11) NOT NULL default '0' AFTER timestamp"
);
$ret
[]
=
update_sql
(
"ALTER TABLE
{
sessions
}
ADD cache int(11) NOT NULL default '0' AFTER timestamp"
);
}
elseif
(
$GLOBALS
[
'db_type'
]
==
'pgsql'
)
{
$ret
[]
=
update_sql
(
"ALTER TABLE sessions ADD cache int(11) NOT NULL default '0' AFTER timestamp"
);
$ret
[]
=
update_sql
(
"ALTER TABLE
{
sessions
}
ADD cache int(11) NOT NULL default '0' AFTER timestamp"
);
}
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