aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-12-25 15:52:33 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-12-25 15:52:33 +0100
commit97a0f49be42085a91ae3693c70f9c8d3496c1577 (patch)
tree4a85a6e3ce6e3bca580216951d09b78f7e2c6e2b
parentc127591d25f8077e63ccac07effd502f32b5ad52 (diff)
parent9e6207add3070a5d3a6b3c8f798ad54dd8fbf828 (diff)
downloadforums-97a0f49be42085a91ae3693c70f9c8d3496c1577.tar
forums-97a0f49be42085a91ae3693c70f9c8d3496c1577.tar.gz
forums-97a0f49be42085a91ae3693c70f9c8d3496c1577.tar.bz2
forums-97a0f49be42085a91ae3693c70f9c8d3496c1577.tar.xz
forums-97a0f49be42085a91ae3693c70f9c8d3496c1577.zip
Merge pull request #4590 from marc1706/ticket/14923
[ticket/14923] Make sure start for queries is always set in migrations
-rw-r--r--phpBB/phpbb/db/migration/data/v310/notification_options_reconvert.php1
-rw-r--r--phpBB/phpbb/db/migration/profilefield_base_migration.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v310/notification_options_reconvert.php b/phpBB/phpbb/db/migration/data/v310/notification_options_reconvert.php
index 2d4d26ae61..d43d432dd9 100644
--- a/phpBB/phpbb/db/migration/data/v310/notification_options_reconvert.php
+++ b/phpBB/phpbb/db/migration/data/v310/notification_options_reconvert.php
@@ -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
diff --git a/phpBB/phpbb/db/migration/profilefield_base_migration.php b/phpBB/phpbb/db/migration/profilefield_base_migration.php
index da1a38e2fa..b20ca874be 100644
--- a/phpBB/phpbb/db/migration/profilefield_base_migration.php
+++ b/phpBB/phpbb/db/migration/profilefield_base_migration.php
@@ -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