mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-12 01:00:57 +08:00
Fix TableParser.t modifying mysql.user and mysql.db, and pt-online-schema-change/basics.t modifying mysql.proc.
This commit is contained in:
@@ -623,7 +623,6 @@ SKIP: {
|
||||
{ PrintError => 0, RaiseError => 1 });
|
||||
$root_dbh->do("GRANT SELECT ON test.* TO 'user'\@'\%'");
|
||||
$root_dbh->do('FLUSH PRIVILEGES');
|
||||
$root_dbh->disconnect();
|
||||
|
||||
my $user_dbh = DBI->connect(
|
||||
"DBI:mysql:host=127.0.0.1;port=12345", 'user', undef,
|
||||
@@ -697,6 +696,9 @@ SKIP: {
|
||||
);
|
||||
|
||||
$user_dbh->disconnect();
|
||||
|
||||
$root_dbh->do("DROP USER 'user'\@'\%'");
|
||||
$root_dbh->disconnect();
|
||||
};
|
||||
|
||||
SKIP: {
|
||||
|
||||
Reference in New Issue
Block a user