Remove FLUSH PRIVILEGES from mysql_setpermission

FLUSH PRIVILEGES hasn't been needed for very many years.
This commit is contained in:
Marek Kulik 2021-08-25 09:18:29 +02:00 committed by Daniel Black
parent 683f91a287
commit c45aeeab38

View File

@ -283,7 +283,6 @@ sub addall {
$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";
}