mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 15:45:34 +02:00
Fixed HEAP MAX_ROWS
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2723 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c7df88978b
commit
e94aaa3eeb
@ -876,7 +876,7 @@ else
|
|||||||
if( preg_match("/^(3\.23)|(4\.)/", $version) )
|
if( preg_match("/^(3\.23)|(4\.)/", $version) )
|
||||||
{
|
{
|
||||||
$sql = "ALTER TABLE " . $table_prefix . "sessions
|
$sql = "ALTER TABLE " . $table_prefix . "sessions
|
||||||
TYPE=HEAP";
|
TYPE=HEAP MAX_ROWS=500";
|
||||||
$db->sql_query($sql);
|
$db->sql_query($sql);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1881,7 +1881,7 @@ if ( !empty($next) )
|
|||||||
if ( preg_match("/^(3\.23)|(4\.)/", $version) )
|
if ( preg_match("/^(3\.23)|(4\.)/", $version) )
|
||||||
{
|
{
|
||||||
$sql = "ALTER TABLE " . $table_prefix . "sessions
|
$sql = "ALTER TABLE " . $table_prefix . "sessions
|
||||||
TYPE=HEAP";
|
TYPE=HEAP MAX_ROWS=500";
|
||||||
$db->sql_query($sql);
|
$db->sql_query($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user