Non-boolean options for select() must be provided as key-value pairs. If
provided as numbered elements, they will not end up in the generated query.
Follows-up
ea406e42cd41.
Change-Id: I0364618b6a805c353cdc19a60f157df33519d87a
'user',
'user_id',
array(
- 'user_id >' . $dbw->addQuotes( $lastId ),
+ 'user_id > ' . $dbw->addQuotes( $lastId ),
'user_registration IS NULL'
),
__METHOD__,
array(
'LIMIT' => $this->mBatchSize,
- 'ORDER BY user_id ASC',
+ 'ORDER BY' => 'user_id',
)
);
foreach ( $res as $row ) {