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

fixes #13615
This commit is contained in:
Noah Hilverling 2016-12-15 15:12:19 +01:00
parent 3ba1d9ea56
commit e9eeb030a6

View File

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