mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
300b3fb642
Novell patches Makefile.am: Novell patch client/mysql.cc: Novell patch configure.in: Novell patch extra/mysql_waitpid.c: Novell patch include/my_pthread.h: Novell patch include/mysql.h: Novell patch libmysql/libmysql.c: Novell patch libmysqld/libmysqld.c: Novell patch mysql-test/mysql-test-run.sh: Don't use running server with --valgrind mysql-test/r/innodb.result: Updated results mysql-test/r/rpl000001.result: Updated results mysql-test/r/rpl000004.result: Updated results mysql-test/r/rpl_log.result: Updated results mysql-test/r/type_blob.result: Updated results mysql-test/std_data/words.dat: Added more words to make type_blob test relevant mysql-test/t/innodb.test: test of multi-table-delete mysql-test/t/rpl000001.test: Update for new word file mysql-test/t/type_blob.test: Test if BLOB IS NULL on NOT NULL column mysys/my_init.c: Novell patch mysys/my_netware.c: Novell patch netware/Makefile.am: Novell patch netware/init_db.sql: Novell patch netware/isamchk.def: Novell patch netware/isamlog.def: Novell patch netware/libmysql.def: Novell patch netware/my_print_defaults.def: Novell patch netware/myisamchk.def: Novell patch netware/myisamlog.def: Novell patch netware/myisampack.def: Novell patch netware/mysql.def: Novell patch netware/mysql_install_db.c: Novell patch netware/mysql_install_db.def: Novell patch netware/mysql_test_run.def: Novell patch netware/mysqladmin.def: Novell patch netware/mysqlbinlog.def: Novell patch netware/mysqlcheck.def: Novell patch netware/mysqld_safe.c: Novell patch netware/mysqldump.def: Novell patch netware/mysqlimport.def: Novell patch netware/mysqlshow.def: Novell patch netware/mysqltest.def: Novell patch netware/pack_isam.def: Novell patch netware/perror.def: Novell patch netware/replace.def: Novell patch netware/resolveip.def: Novell patch netware/test_db.sql: Novell patch scripts/make_binary_distribution.sh: Novell patch sql/item_cmpfunc.h: Optimization of 'IS NULL' sql/mysql_priv.h: Code cleanup sql/mysqld.cc: Novell patch sql/net_pkg.cc: Code cleanup sql/records.cc: Fixed multi-table-delete for InnoDB tables sql/sql_delete.cc: Fixed multi-table-delete for InnoDB tables sql/sql_handler.cc: Code cleanup sql/sql_table.cc: Code cleanup sql/structs.h: Fixed multi-table-delete for InnoDB tables
92 lines
4.3 KiB
Text
92 lines
4.3 KiB
Text
slave stop;
|
|
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;
|
|
slave start;
|
|
slave stop;
|
|
reset master;
|
|
reset slave;
|
|
reset master;
|
|
create table t1(n int not null auto_increment primary key);
|
|
insert into t1 values (NULL);
|
|
drop table t1;
|
|
create table t1 (word char(20) not null);
|
|
load data infile '../../std_data/words.dat' into table t1;
|
|
drop table t1;
|
|
show binlog events;
|
|
Log_name Pos Event_type Server_id Orig_log_pos Info
|
|
master-bin.001 4 Start 1 4 Server ver: VERSION, Binlog ver: 3
|
|
master-bin.001 79 Query 1 79 use test; create table t1(n int not null auto_increment primary key)
|
|
master-bin.001 172 Intvar 1 172 INSERT_ID=1
|
|
master-bin.001 200 Query 1 200 use test; insert into t1 values (NULL)
|
|
master-bin.001 263 Query 1 263 use test; drop table t1
|
|
master-bin.001 311 Query 1 311 use test; create table t1 (word char(20) not null)
|
|
master-bin.001 386 Create_file 1 386 db=test;table=t1;file_id=1;block_len=581
|
|
master-bin.001 1056 Exec_load 1 1056 ;file_id=1
|
|
master-bin.001 1079 Query 1 1079 use test; drop table t1
|
|
show binlog events from 79 limit 1;
|
|
Log_name Pos Event_type Server_id Orig_log_pos Info
|
|
master-bin.001 79 Query 1 79 use test; create table t1(n int not null auto_increment primary key)
|
|
show binlog events from 79 limit 2;
|
|
Log_name Pos Event_type Server_id Orig_log_pos Info
|
|
master-bin.001 79 Query 1 79 use test; create table t1(n int not null auto_increment primary key)
|
|
master-bin.001 172 Intvar 1 172 INSERT_ID=1
|
|
show binlog events from 79 limit 2,1;
|
|
Log_name Pos Event_type Server_id Orig_log_pos Info
|
|
master-bin.001 200 Query 1 200 use test; insert into t1 values (NULL)
|
|
flush logs;
|
|
slave start;
|
|
flush logs;
|
|
slave stop;
|
|
create table t1 (n int);
|
|
insert into t1 values (1);
|
|
drop table t1;
|
|
show binlog events;
|
|
Log_name Pos Event_type Server_id Orig_log_pos Info
|
|
master-bin.001 4 Start 1 4 Server ver: VERSION, Binlog ver: 3
|
|
master-bin.001 79 Query 1 79 use test; create table t1(n int not null auto_increment primary key)
|
|
master-bin.001 172 Intvar 1 172 INSERT_ID=1
|
|
master-bin.001 200 Query 1 200 use test; insert into t1 values (NULL)
|
|
master-bin.001 263 Query 1 263 use test; drop table t1
|
|
master-bin.001 311 Query 1 311 use test; create table t1 (word char(20) not null)
|
|
master-bin.001 386 Create_file 1 386 db=test;table=t1;file_id=1;block_len=581
|
|
master-bin.001 1056 Exec_load 1 1056 ;file_id=1
|
|
master-bin.001 1079 Query 1 1079 use test; drop table t1
|
|
master-bin.001 1127 Rotate 1 1127 master-bin.002;pos=4
|
|
show binlog events in 'master-bin.002';
|
|
Log_name Pos Event_type Server_id Orig_log_pos Info
|
|
master-bin.002 4 Query 1 4 use test; create table t1 (n int)
|
|
master-bin.002 62 Query 1 62 use test; insert into t1 values (1)
|
|
master-bin.002 122 Query 1 122 use test; drop table t1
|
|
show master logs;
|
|
Log_name
|
|
master-bin.001
|
|
master-bin.002
|
|
slave start;
|
|
show master logs;
|
|
Log_name
|
|
slave-bin.001
|
|
slave-bin.002
|
|
show binlog events in 'slave-bin.001' from 4;
|
|
Log_name Pos Event_type Server_id Orig_log_pos Info
|
|
slave-bin.001 4 Start 2 4 Server ver: VERSION, Binlog ver: 3
|
|
slave-bin.001 79 Query 1 79 use test; create table t1(n int not null auto_increment primary key)
|
|
slave-bin.001 172 Intvar 1 172 INSERT_ID=1
|
|
slave-bin.001 200 Query 1 200 use test; insert into t1 values (NULL)
|
|
slave-bin.001 263 Query 1 263 use test; drop table t1
|
|
slave-bin.001 311 Query 1 311 use test; create table t1 (word char(20) not null)
|
|
slave-bin.001 386 Create_file 1 386 db=test;table=t1;file_id=1;block_len=581
|
|
slave-bin.001 1065 Exec_load 1 1056 ;file_id=1
|
|
slave-bin.001 1088 Query 1 1079 use test; drop table t1
|
|
slave-bin.001 1136 Rotate 2 1136 slave-bin.002;pos=4
|
|
show binlog events in 'slave-bin.002' from 4;
|
|
Log_name Pos Event_type Server_id Orig_log_pos Info
|
|
slave-bin.002 4 Query 1 4 use test; create table t1 (n int)
|
|
slave-bin.002 62 Query 1 62 use test; insert into t1 values (1)
|
|
slave-bin.002 122 Query 1 122 use test; drop table t1
|
|
show slave status;
|
|
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 Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
|
127.0.0.1 root MASTER_PORT 1 master-bin.002 170 slave-relay-bin.002 1457 master-bin.002 Yes Yes 0 0 170 1461
|
|
show binlog events in 'slave-bin.005' from 4;
|
|
Error when executing command SHOW BINLOG EVENTS: Could not find target log
|