bug [privileges] List of tables not shown when the db name has a wildcard
This commit is contained in:
@@ -93,6 +93,7 @@ $Id$
|
||||
- bug #2986383 [parser] Not all data being shown / counted
|
||||
- bug [synchronize] Rows were deleted in target table regardless of the
|
||||
"Would you like to delete..." option
|
||||
- bug [privileges] List of tables not shown when the db name has a wildcard
|
||||
|
||||
3.3.3.0 (2010-05-10)
|
||||
- patch #2982480 [navi] Do not group if there would be one table in group,
|
||||
|
@@ -1905,7 +1905,7 @@ if (empty($_REQUEST['adduser']) && (! isset($checkprivs) || ! strlen($checkprivs
|
||||
} else {
|
||||
echo ' <input type="hidden" name="dbname" value="' . htmlspecialchars($dbname) . '"/>' . "\n"
|
||||
. ' <label for="text_tablename">' . __('Add privileges on the following table') . ':</label>' . "\n";
|
||||
if ($res = @PMA_DBI_try_query('SHOW TABLES FROM ' . PMA_backquote($dbname) . ';', null, PMA_DBI_QUERY_STORE)) {
|
||||
if ($res = @PMA_DBI_try_query('SHOW TABLES FROM ' . PMA_backquote(PMA_unescape_mysql_wildcards($dbname)) . ';', null, PMA_DBI_QUERY_STORE)) {
|
||||
$pred_tbl_array = array();
|
||||
while ($row = PMA_DBI_fetch_row($res)) {
|
||||
if (!isset($found_rows) || !in_array($row[0], $found_rows)) {
|
||||
|
Reference in New Issue
Block a user