1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-19 23:20:22 +01:00

[ticket/14923] Make sure start for queries is always set in migrations

PHPBB3-14923
This commit is contained in:
Marc Alexander 2016-12-25 10:19:33 +01:00
parent 2d742beb92
commit 9e6207add3
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995
2 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,7 @@ class notification_options_reconvert extends \phpbb\db\migration\migration
{
$limit = 250;
$converted_users = 0;
$start = $start ?: 0;
$sql = 'SELECT user_id, user_notify_type, user_notify_pm
FROM ' . $this->table_prefix . 'users

View File

@ -191,6 +191,7 @@ abstract class profilefield_base_migration extends container_aware_migration
$insert_buffer = new \phpbb\db\sql_insert_buffer($this->db, $this->table_prefix . 'profile_fields_data');
$limit = 250;
$converted_users = 0;
$start = $start ?: 0;
$sql = 'SELECT user_id, ' . $this->user_column_name . '
FROM ' . $this->table_prefix . 'users