summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl000018.test
diff options
context:
space:
mode:
authorguilhem@mysql.com <>2003-06-10 23:29:49 +0200
committerguilhem@mysql.com <>2003-06-10 23:29:49 +0200
commit96c8d91a0cc36d3b66c1c08e82527ebe04d447d2 (patch)
treefb4220000a5221b9fe835c16793ea056ca5466eb /mysql-test/t/rpl000018.test
parentf4c70678a8a3b4b8f53019252acd422655c8ca3e (diff)
downloadmariadb-git-96c8d91a0cc36d3b66c1c08e82527ebe04d447d2.tar.gz
More error messages. This is intended to help debugging; presently I have a
support issue with an unclear message which can have N reasons for appearing. This should help us know at which point it failed, and get the errno when my_open was involved (as the reason for the unclear message is often a permission problem). RESET SLAVE resets last_error and last_errno in SHOW SLAVE STATUS (without this, rpl_loaddata.test, which is expected to generate an error in last_error, influenced rpl_log_pos.test). A small test update. Added STOP SLAVE to mysql-test-run to get rid of several stupid error messages which are printed while the master restarts and the slave attempts/manages to connect to it and sends it nonsense binlog requests.
Diffstat (limited to 'mysql-test/t/rpl000018.test')
-rw-r--r--mysql-test/t/rpl000018.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/rpl000018.test b/mysql-test/t/rpl000018.test
index 291b482b912..3bd5fd0ef09 100644
--- a/mysql-test/t/rpl000018.test
+++ b/mysql-test/t/rpl000018.test
@@ -6,6 +6,8 @@
require_manager;
connect (master,localhost,root,,test,0,master.sock);
connect (slave,localhost,root,,test,0,slave.sock);
+connection master;
+reset master;
server_stop master;
server_start master;
connection slave;