DbTool: Do not replace '%' with '%%' in method grantPrivileges

(cherry picked from commit e9eeb030a6)

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
This commit is contained in:
Noah Hilverling 2016-12-15 15:12:19 +01:00 committed by Eric Lippmann
parent 099f8e4126
commit 0b4390411c
1 changed files with 1 additions and 1 deletions

View File

@ -583,7 +583,7 @@ class DbTool
$to = sprintf(
' TO %s@%s',
$this->quoteIdentifier($username),
str_replace('%', '%%', $this->quoteIdentifier($host))
$this->quoteIdentifier($host)
);
$dbPrivileges = array();