From 022c5b8685cc1e2c778c2e98130ec333f58ba838 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Sat, 4 Jan 2014 12:23:43 +0530 Subject: [PATCH] No regex search is needed Signed-off-by: Madhura Jayaratne --- libraries/db_info.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/db_info.inc.php b/libraries/db_info.inc.php index 83e5aa654e..ea964a6a61 100644 --- a/libraries/db_info.inc.php +++ b/libraries/db_info.inc.php @@ -83,10 +83,10 @@ if (true === $cfg['SkipLockedTables'] && ! PMA_DRIZZLE) { ); $tblGroupSql .= " WHERE (" . PMA_Util::backquote('Tables_in_' . $db) - . " LIKE '^" . $groupWithSeperator . "%'" + . " LIKE '" . $groupWithSeperator . "%'" . " OR " . PMA_Util::backquote('Tables_in_' . $db) - . " LIKE '^" . $group . "$')"; + . " LIKE '" . $group . "')"; $whereAdded = true; } if (PMA_isValid($_REQUEST['tbl_type'], array('table', 'view'))) {