mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 03:54:10 +01:00
Merge pull request #2599 from marc1706/ticket/12712
[ticket/12712] Add user_password to GROUP BY clause to fix query for mssql * marc1706/ticket/12712: [ticket/12712] Remove unneeded GROUP BY clause to fix query for mssql
This commit is contained in:
commit
ad11925c77
@ -42,7 +42,6 @@ class passwords_convert_p1 extends \phpbb\db\migration\migration
|
|||||||
$sql = 'SELECT user_password, user_id
|
$sql = 'SELECT user_password, user_id
|
||||||
FROM ' . $this->table_prefix . 'users
|
FROM ' . $this->table_prefix . 'users
|
||||||
WHERE user_pass_convert = 1
|
WHERE user_pass_convert = 1
|
||||||
GROUP BY user_id
|
|
||||||
ORDER BY user_id';
|
ORDER BY user_id';
|
||||||
$result = $this->db->sql_query_limit($sql, $limit, $start);
|
$result = $this->db->sql_query_limit($sql, $limit, $start);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user