Commit 59afc31f authored by unknown's avatar unknown

Fix a test case (proper clean up).


mysql-test/r/mysqldump.result:
  Update results.
mysql-test/t/mysqldump.test:
  Fix a bug in the test case that left user mysqltest_1@localhost 
  around (this broke furhter tests).
parent 579a3524
...@@ -2876,7 +2876,7 @@ drop view v1; ...@@ -2876,7 +2876,7 @@ drop view v1;
drop table t1; drop table t1;
drop database mysqldump_dbb; drop database mysqldump_dbb;
use test; use test;
create user mysqltest_1; create user mysqltest_1@localhost;
create table t1(a int, b varchar(34)); create table t1(a int, b varchar(34));
reset master; reset master;
mysqldump: Couldn't execute 'FLUSH TABLES': Access denied; you need the RELOAD privilege for this operation (1227) mysqldump: Couldn't execute 'FLUSH TABLES': Access denied; you need the RELOAD privilege for this operation (1227)
...@@ -2891,4 +2891,4 @@ CREATE TABLE `t1` ( ...@@ -2891,4 +2891,4 @@ CREATE TABLE `t1` (
`b` varchar(34) default NULL `b` varchar(34) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1; ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
drop table t1; drop table t1;
drop user mysqltest_1; drop user mysqltest_1@localhost;
...@@ -1273,7 +1273,7 @@ drop database mysqldump_dbb; ...@@ -1273,7 +1273,7 @@ drop database mysqldump_dbb;
use test; use test;
# Create user without sufficient privs to perform the requested operation # Create user without sufficient privs to perform the requested operation
create user mysqltest_1; create user mysqltest_1@localhost;
create table t1(a int, b varchar(34)); create table t1(a int, b varchar(34));
# To get consistent output, reset the master, starts over from first log # To get consistent output, reset the master, starts over from first log
...@@ -1308,4 +1308,4 @@ grant REPLICATION CLIENT on *.* to mysqltest_1@localhost; ...@@ -1308,4 +1308,4 @@ grant REPLICATION CLIENT on *.* to mysqltest_1@localhost;
# Clean up # Clean up
drop table t1; drop table t1;
drop user mysqltest_1; drop user mysqltest_1@localhost;
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