Skip to content

Commit

Permalink
bug #3515181 [users] Error in create user + underscore + create database
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Delisle committed Apr 5, 2012
1 parent e5466df commit 7656d88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ phpMyAdmin - ChangeLog
- bug #3512916 [display] Right frame reloads after displaying SQL result(zero rows)
- bug [interface] Fixed missing Codemirror for inline query edit when exporting a result set
- bug #3514490 [auth] Multiple Navigation panels bug still present
- bug #3515181 [users] Error in create user + underscore + create database

3.5.0.0 (not yet released)
+ rfe #2021981 [interface] Add support for mass prefix change.
Expand Down
2 changes: 1 addition & 1 deletion server_privileges.php
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ function PMA_displayLoginInformationFields($mode = 'new')
}

$q = 'GRANT ALL PRIVILEGES ON '
. PMA_backquote(PMA_sqlAddSlashes($username)) . '.* TO \''
. PMA_backquote(PMA_escape_mysql_wildcards(PMA_sqlAddSlashes($username))) . '.* TO \''
. PMA_sqlAddSlashes($username) . '\'@\'' . PMA_sqlAddSlashes($hostname) . '\';';
$sql_query .= $q;
if (! PMA_DBI_try_query($q)) {
Expand Down

0 comments on commit 7656d88

Please sign in to comment.