From f9589e5889e21986e40e94ff011f1c2fa7cda6f6 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Tue, 1 Jan 2002 22:52:18 +0000 Subject: Removed failure on session table type change to HEAP, no biggie if it doesn't work git-svn-id: file:///svn/phpbb/trunk@1771 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/upgrade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/upgrade.php') 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
\n"; -- cgit v1.2.1