mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Remove FLUSH PRIVILEGES from mysql_setpermission
FLUSH PRIVILEGES hasn't been needed for very many years.
This commit is contained in:
committed by
Daniel Black
parent
683f91a287
commit
c45aeeab38
@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user