mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@7854 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
ec4eabe4ce
commit
c0ea9006c5
1 changed files with 12 additions and 1 deletions
|
@ -672,6 +672,17 @@ if (version_compare($current_version, '3.0.RC2', '<='))
|
|||
$no_updates = false;
|
||||
}
|
||||
|
||||
if (version_compare($current_version, '3.0.RC3', '<='))
|
||||
{
|
||||
if ($map_dbms === 'postgres')
|
||||
{
|
||||
$sql = "SELECT SETVAL('" . FORUMS_TABLE . "_seq',(select case when max(forum_id)>0 then max(forum_id)+1 else 1 end from " . FORUMS_TABLE . '));';
|
||||
_sql($sql, $errored, $error_ary);
|
||||
|
||||
$no_updates = false;
|
||||
}
|
||||
}
|
||||
|
||||
_write_result($no_updates, $errored, $error_ary);
|
||||
|
||||
$error_ary = array();
|
||||
|
|
Loading…
Add table
Reference in a new issue