diff --git a/ChangeLog b/ChangeLog index 6a1eb9fda6..cef80454ea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20,6 +20,7 @@ phpMyAdmin - ChangeLog - issue #16451 Increase password characters limit to 2000 during login - issue Fix "IS NULL" is shown for non-nullable columns on search page - issue #16199 Fix dragging of tables in designer +- issue #17702 Fix performance issue when handling large number of tables in a single database 5.2.1 (2023-02-07) - issue #17522 Fix case where the routes cache file is invalid diff --git a/libraries/classes/DatabaseInterface.php b/libraries/classes/DatabaseInterface.php index e9fce75c4d..6a420263a7 100644 --- a/libraries/classes/DatabaseInterface.php +++ b/libraries/classes/DatabaseInterface.php @@ -391,6 +391,7 @@ class DatabaseInterface implements DbalInterface if ($sort_order === 'DESC') { $table = array_reverse($table); } + $table = array_slice($table, $limit_offset, $limit_count); $paging_applied = true; }