mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
6524330944
into mysql.com:/home/ndbdev/jmiller/clones/mysql-5.1-new mysql-test/extra/rpl_tests/rpl_log.test: Auto merged mysql-test/r/rpl_insert_id.result: Auto merged mysql-test/r/rpl_replicate_do.result: Auto merged mysql-test/r/rpl_row_log.result: Auto merged mysql-test/r/rpl_skip_error.result: Auto merged mysql-test/t/rpl_replicate_do.test: Auto merged mysql-test/t/rpl_skip_error.test: Auto merged BitKeeper/deleted/.del-rpl000004.result~a3147834a662043a: Auto merged BitKeeper/deleted/.del-rpl000004.test~61532b03f9ad2734: Auto merged mysql-test/t/rpl_load_from_master.test: Auto merged
43 lines
1.6 KiB
Text
43 lines
1.6 KiB
Text
stop slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
reset master;
|
|
reset slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
start slave;
|
|
drop table if exists t11;
|
|
drop table if exists t11;
|
|
create table t2 (n int);
|
|
insert into t2 values(4);
|
|
create table t2 (s char(20));
|
|
load data infile '../std_data_ln/words.dat' into table t2;
|
|
insert into t2 values('five');
|
|
create table t1 (m int);
|
|
insert into t1 values(15),(16),(17);
|
|
update t1 set m=20 where m=16;
|
|
delete from t1 where m=17;
|
|
create table t11 select * from t1;
|
|
select * from t1 ORDER BY m;
|
|
m
|
|
15
|
|
20
|
|
select * from t2;
|
|
n
|
|
4
|
|
select * from t11;
|
|
ERROR 42S02: Table 'test.t11' doesn't exist
|
|
drop table if exists t1,t2,t11;
|
|
show slave status;
|
|
Slave_IO_State Master_Host Master_User Master_Port Connect_Retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_Do_DB Replicate_Ignore_DB Replicate_Do_Table Replicate_Ignore_Table Replicate_Wild_Do_Table Replicate_Wild_Ignore_Table Last_Errno Last_Error Skip_Counter Exec_Master_Log_Pos Relay_Log_Space Until_Condition Until_Log_File Until_Log_Pos Master_SSL_Allowed Master_SSL_CA_File Master_SSL_CA_Path Master_SSL_Cert Master_SSL_Cipher Master_SSL_Key Seconds_Behind_Master
|
|
# 127.0.0.1 root MASTER_PORT 1 master-bin.000001 # # # master-bin.000001 Yes Yes test.t1 # 0 0 # # None 0 No #
|
|
create table t1 (ts timestamp);
|
|
set one_shot time_zone='met';
|
|
insert into t1 values('2005-08-12 00:00:00');
|
|
set one_shot time_zone='met';
|
|
select * from t1;
|
|
ts
|
|
2005-08-12 00:00:00
|
|
set one_shot time_zone='met';
|
|
select * from t1;
|
|
ts
|
|
2005-08-12 00:00:00
|
|
drop table t1;
|