[phpMyAdmin Git] [phpmyadmin/phpmyadmin] 8ad474: Do not invoke FLUSH PRIVILEGES when server in --sk...
Michal Čihař
michal at cihar.com
Fri Jan 8 11:37:15 CET 2016
Branch: refs/heads/QA_4_5
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: 8ad474dda0458c69b6a29f1b2ad1984b22662bce
https://github.com/phpmyadmin/phpmyadmin/commit/8ad474dda0458c69b6a29f1b2ad1984b22662bce
Author: Michal Čihař <michal at cihar.com>
Date: 2016-01-08 (Fri, 08 Jan 2016)
Changed paths:
M ChangeLog
M libraries/check_user_privileges.lib.php
Log Message:
-----------
Do not invoke FLUSH PRIVILEGES when server in --skip-grant-tables
In this case we know the user has all privileges, so there is no need to
check it.
Also FLUSH PRIVILEGES causes --skip-grant-tables to end, making all
previous checks invalid.
Fixes #11828
Signed-off-by: Michal Čihař <michal at cihar.com>
More information about the Git
mailing list