Commit c45aeeab authored by Marek Kulik's avatar Marek Kulik Committed by Daniel Black

Remove FLUSH PRIVILEGES from mysql_setpermission

FLUSH PRIVILEGES hasn't been needed for very many years.
parent 683f91a2
...@@ -283,7 +283,6 @@ sub addall { ...@@ -283,7 +283,6 @@ sub addall {
$sth = $dbh->do("REVOKE ALL ON $db.* FROM \'$user\'\@\'$host\'") || die $dbh->errstr; $sth = $dbh->do("REVOKE ALL ON $db.* FROM \'$user\'\@\'$host\'") || die $dbh->errstr;
} }
} }
$dbh->do("FLUSH PRIVILEGES") || print STDERR "Can't flush privileges\n";
print "Everything is inserted and mysql privileges have been reloaded.\n\n"; print "Everything is inserted and mysql privileges have been reloaded.\n\n";
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment