Fix TableParser.t modifying mysql.user and mysql.db, and pt-online-schema-change/basics.t modifying mysql.proc.

This commit is contained in:
Daniel Nichter
2012-06-05 11:51:33 -07:00
parent 5d8b2956a0
commit 04d6a51074
3 changed files with 9 additions and 1 deletions

View File

@@ -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: {