mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
ok, i am not sure if this change is doing what is intended (forcing at least one row to be processed) - please test. :) (i am currently not able to)
git-svn-id: file:///svn/phpbb/trunk@7070 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
83059bd4fc
commit
71d2d35c1e
1 changed files with 2 additions and 2 deletions
|
@ -1155,7 +1155,7 @@ class install_convert extends module
|
|||
$counting = -1;
|
||||
$batch_time = 0;
|
||||
|
||||
while (($counting === -1 || $counting >= $convert->batch_size) && still_on_time())
|
||||
while ($counting === -1 || ($counting >= $convert->batch_size && still_on_time()))
|
||||
{
|
||||
$old_current_table = $current_table;
|
||||
|
||||
|
@ -1207,7 +1207,7 @@ class install_convert extends module
|
|||
}
|
||||
|
||||
// Now handle the rows until time is over or no more rows to process...
|
||||
while (still_on_time())
|
||||
while ($counting === 0 || still_on_time())
|
||||
{
|
||||
$convert_row = $src_db->sql_fetchrow($___result);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue