diff --git a/test/classes/SqlTest.php b/test/classes/SqlTest.php index e5c84d1bc9..bed82794ef 100644 --- a/test/classes/SqlTest.php +++ b/test/classes/SqlTest.php @@ -563,6 +563,14 @@ class SqlTest extends AbstractTestCase 20, ], + [ + 'SELECT DISTINCT country_id FROM city;', + ['max_rows' => 25, 'pos' => 0], + 25, + 109, + false, + 'SELECT COUNT(*) FROM (SELECT DISTINCT country_id FROM city ) as cnt', + ], ]; }