Commit 442663b6 authored by Dries's avatar Dries
Browse files

- Patch #20615 by Robert: added missing table prefixes

parent 3c5cc8cb
...@@ -2359,10 +2359,10 @@ function update_129() { ...@@ -2359,10 +2359,10 @@ function update_129() {
function update_130() { function update_130() {
$ret = array(); $ret = array();
if ($GLOBALS['db_type'] == 'mysql') { 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') { 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; return $ret;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment