summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2001-01-21 16:33:39 +0200
committerunknown <monty@donna.mysql.com>2001-01-21 16:33:39 +0200
commitea5451ff79c2c125ff21b27f75479f09c46a660d (patch)
tree7fd2b17b673d232a6c11c7fa1f28e82eca3969b9 /mysql-test
parentab7afc8c36279051e25d157993281bd9dba4a58a (diff)
parentd9d879feeafb713abd58add7e0ab930478e1dab6 (diff)
downloadmariadb-git-ea5451ff79c2c125ff21b27f75479f09c46a660d.tar.gz
Merge
BitKeeper/etc/logging_ok: auto-union configure.in: Auto merged Docs/manual.texi: SCCS merged
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/dirty-close.result4
-rw-r--r--mysql-test/t/dirty-close.test10
-rw-r--r--mysql-test/t/rpl000001.test2
3 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/r/dirty-close.result b/mysql-test/r/dirty-close.result
new file mode 100644
index 00000000000..f85b057eefa
--- /dev/null
+++ b/mysql-test/r/dirty-close.result
@@ -0,0 +1,4 @@
+n
+1
+2
+3
diff --git a/mysql-test/t/dirty-close.test b/mysql-test/t/dirty-close.test
new file mode 100644
index 00000000000..69ee7162314
--- /dev/null
+++ b/mysql-test/t/dirty-close.test
@@ -0,0 +1,10 @@
+connect (con1,localhost,root,,test,0,mysql-master.sock);
+connect (con2,localhost,root,,test,0,mysql-master.sock);
+connection con1;
+dirty_close con1;
+connection con2;
+drop table if exists t1;
+create table t1 (n int);
+insert into t1 values (1),(2),(3);
+select * from t1;
+drop table t1;
diff --git a/mysql-test/t/rpl000001.test b/mysql-test/t/rpl000001.test
index a26580d7ef7..c7b1f817e81 100644
--- a/mysql-test/t/rpl000001.test
+++ b/mysql-test/t/rpl000001.test
@@ -5,6 +5,8 @@ drop table if exists t1;
create table t1 (word char(20) not null);
load data infile '../../std_data/words.dat' into table t1;
drop table if exists foo;
+set password = password('foo');
+set password = password('');
create table foo(n int);
insert into foo values(1),(2);
save_master_pos;