aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/upgrade.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/upgrade.php')
-rw-r--r--phpBB/upgrade.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/upgrade.php b/phpBB/upgrade.php
index 99bf9f70cd..b1a0b846cd 100644
--- a/phpBB/upgrade.php
+++ b/phpBB/upgrade.php
@@ -1895,11 +1895,11 @@ if( !empty($next) )
$version = $row['mysql_version'];
- if( preg_match("/^(3\.23|4\.)/", $version) )
+ if( preg_match("/^(3\.23)|(4\.)/", $version) )
{
$sql = "ALTER TABLE " . $table_prefix . "sessions
TYPE=HEAP";
- query($sql, "Couldn't alter sessions table type to HEAP");
+ $db->sql_query($sql);
}
echo "Done<br />\n";