mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
96c8d91a0c
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.
14 lines
216 B
Text
14 lines
216 B
Text
reset master;
|
|
reset slave;
|
|
slave start;
|
|
show master logs;
|
|
Log_name
|
|
master-bin.001
|
|
master-bin.002
|
|
drop table if exists t1;
|
|
create table t1(n int);
|
|
insert into t1 values (3351);
|
|
select * from t1;
|
|
n
|
|
3351
|
|
drop table t1;
|