summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl000018.test
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-01-27 15:33:31 -0700
committerunknown <sasha@mysql.sashanet.com>2001-01-27 15:33:31 -0700
commitdbe03fb0bce93ae750db6c0cd346e87bc82201ab (patch)
treeb2d2f6b0dd73eec46bc4a16978de2f24b148927a /mysql-test/t/rpl000018.test
parenteb5706d128539f1aa98690793e9344df280f98c8 (diff)
downloadmariadb-git-dbe03fb0bce93ae750db6c0cd346e87bc82201ab.tar.gz
fixed up lock counting code - Monty's suggestions
updated manual about table lock counter fixed coredump in DROP DATABASE with long bogus name by non-root user fixed bug in handling STOP immediately after ROTATE added test case for buffer overrun on DROP DATABASE by non-root user added test case for the STOP bug in replication Docs/manual.texi: updates for Table_locks_immediate and Table_locks_waited include/thr_lock.h: fixes suggested by Monty to lock counts mysql-test/r/status.result: clean up of result for changes in the test case mysql-test/t/status.test: make it produce the same results if the had been some activity on the server already mysys/thr_lock.c: fixes suggested by Monty sql/mysqld.cc: fixes suggested by Monty sql/slave.cc: fixed bug in processing STOP event after rotate sql/sql_base.cc: fixes suggested by Monty sql/sql_parse.cc: fixed coredump in drop database with long name by a non-root user sql/sql_repl.cc: better status message
Diffstat (limited to 'mysql-test/t/rpl000018.test')
-rw-r--r--mysql-test/t/rpl000018.test19
1 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/t/rpl000018.test b/mysql-test/t/rpl000018.test
new file mode 100644
index 00000000000..44236323d1d
--- /dev/null
+++ b/mysql-test/t/rpl000018.test
@@ -0,0 +1,19 @@
+connect (master,localhost,root,,test,0,mysql-master.sock);
+connect (slave,localhost,root,,test,0,mysql-slave.sock);
+connection slave;
+reset slave;
+slave start;
+connection master;
+show master logs;
+drop table if exists t1;
+create table t1(n int);
+insert into t1 values (3351);
+save_master_pos;
+connection slave;
+sync_with_master;
+select * from t1;
+connection master;
+drop table t1;
+save_master_pos;
+connection slave;
+sync_with_master;