Skip to content

Commit 9706a78

Browse files
committed
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2 parents 73efd6e + 2cdf86d commit 9706a78

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ phpMyAdmin - ChangeLog
6060
- issue #17528 Fix double escaping of database group names in the navigation tree
6161
- issue #18473 Fix the NULL not applied after clearing nullable field
6262
- issue #18454 Fix date field calendar display when changing NULL state
63+
- issue #18481 Fix missing pagination when using SELECT DISTINCT
6364

6465
5.2.1 (2023-02-07)
6566
- issue #17522 Fix case where the routes cache file is invalid

test/classes/SqlTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,14 @@ public static function dataProviderCountQueryResults(): array
397397
20,
398398

399399
],
400+
[
401+
'SELECT DISTINCT country_id FROM city;',
402+
['max_rows' => 25, 'pos' => 0],
403+
25,
404+
109,
405+
false,
406+
'SELECT COUNT(*) FROM (SELECT DISTINCT country_id FROM city ) as cnt',
407+
],
400408
];
401409
}
402410

0 commit comments

Comments
 (0)