From 0301e48a277a3be023dcbcf1db56bd78c657cdeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Fri, 24 Mar 2023 16:35:15 -0300 Subject: [PATCH] Add ChangeLog entry for #17702 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Closes #17702 Signed-off-by: MaurĂ­cio Meneghini Fauth --- ChangeLog | 1 + libraries/classes/DatabaseInterface.php | 1 + 2 files changed, 2 insertions(+) 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; }