Commit 492e7b08 authored by unknown's avatar unknown
Browse files

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 867f7368
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2876,7 +2876,7 @@ drop view v1;
drop table t1;
drop database mysqldump_dbb;
use test;
create user mysqltest_1;
create user mysqltest_1@localhost;
create table t1(a int, b varchar(34));
reset master;
mysqldump: Couldn't execute 'FLUSH TABLES': Access denied; you need the RELOAD privilege for this operation (1227)
@@ -2891,4 +2891,4 @@ CREATE TABLE `t1` (
  `b` varchar(34) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
drop table t1;
drop user mysqltest_1;
drop user mysqltest_1@localhost;
+2 −2
Original line number Diff line number Diff line
@@ -1273,7 +1273,7 @@ drop database mysqldump_dbb;
use test;

# 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));

# To get consistent output, reset the master, starts over from first log
@@ -1308,4 +1308,4 @@ grant REPLICATION CLIENT on *.* to mysqltest_1@localhost;

# Clean up
drop table t1;
drop user mysqltest_1;
drop user mysqltest_1@localhost;