Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
7466b750
Commit
7466b750
authored
Sep 21, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After merge fixes
parent
01fe0214
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
305 additions
and
62 deletions
+305
-62
mysql-test/extra/rpl_tests/rpl_insert_id.test
mysql-test/extra/rpl_tests/rpl_insert_id.test
+41
-17
mysql-test/r/rpl_insert_id.result
mysql-test/r/rpl_insert_id.result
+13
-8
mysql-test/r/rpl_row_max_relay_size.result
mysql-test/r/rpl_row_max_relay_size.result
+230
-18
mysql-test/r/rpl_stm_max_relay_size.result
mysql-test/r/rpl_stm_max_relay_size.result
+18
-18
mysql-test/t/rpl_row_max_relay_size.test
mysql-test/t/rpl_row_max_relay_size.test
+3
-1
No files found.
mysql-test/extra/rpl_tests/rpl_insert_id.test
View file @
7466b750
...
@@ -9,8 +9,21 @@
...
@@ -9,8 +9,21 @@
# column and index but without primary key.
# column and index but without primary key.
##############################################################
##############################################################
--
echo
#
--
echo
# Setup
--
echo
#
# We also check how the foreign_key_check variable is replicated
use
test
;
--
disable_warnings
drop
table
if
exists
t1
,
t2
,
t3
;
--
enable_warnings
--
echo
#
--
echo
# See if queries that use both auto_increment and LAST_INSERT_ID()
--
echo
# are replicated well
--
echo
#
--
echo
# We also check how the foreign_key_check variable is replicated
--
echo
#
--
source
include
/
master
-
slave
.
inc
--
source
include
/
master
-
slave
.
inc
#should work for both SBR and RBR
#should work for both SBR and RBR
...
@@ -49,7 +62,9 @@ select * from t1;
...
@@ -49,7 +62,9 @@ select * from t1;
select
*
from
t2
;
select
*
from
t2
;
connection
master
;
connection
master
;
# check if INSERT SELECT in auto_increment is well replicated (bug #490)
--
echo
#
--
echo
# check if INSERT SELECT in auto_increment is well replicated (bug #490)
--
echo
#
drop
table
t2
;
drop
table
t2
;
drop
table
t1
;
drop
table
t1
;
...
@@ -72,10 +87,11 @@ save_master_pos;
...
@@ -72,10 +87,11 @@ save_master_pos;
connection
slave
;
connection
slave
;
sync_with_master
;
sync_with_master
;
#
--
echo
#
# Bug#8412: Error codes reported in binary log for CHARACTER SET,
--
echo
# Bug#8412: Error codes reported in binary log for CHARACTER SET,
# FOREIGN_KEY_CHECKS
--
echo
# FOREIGN_KEY_CHECKS
#
--
echo
#
connection
master
;
connection
master
;
SET
TIMESTAMP
=
1000000000
;
SET
TIMESTAMP
=
1000000000
;
CREATE
TABLE
t1
(
a
INT
UNIQUE
);
CREATE
TABLE
t1
(
a
INT
UNIQUE
);
...
@@ -88,11 +104,10 @@ connection master;
...
@@ -88,11 +104,10 @@ connection master;
drop
table
t1
;
drop
table
t1
;
sync_slave_with_master
;
sync_slave_with_master
;
# End of 4.1 tests
--
echo
#
--
echo
# Bug#14553: NULL in WHERE resets LAST_INSERT_ID
#
--
echo
#
# Bug#14553: NULL in WHERE resets LAST_INSERT_ID
#
connection
master
;
connection
master
;
create
table
t1
(
a
int
auto_increment
,
key
(
a
));
create
table
t1
(
a
int
auto_increment
,
key
(
a
));
create
table
t2
(
a
int
);
create
table
t2
(
a
int
);
...
@@ -107,11 +122,16 @@ connection master;
...
@@ -107,11 +122,16 @@ connection master;
drop
table
t1
;
drop
table
t1
;
drop
table
t2
;
drop
table
t2
;
#
--
echo
#
# BUG#15728: LAST_INSERT_ID function inside a stored function returns 0
--
echo
# End of 4.1 tests
#
--
echo
#
# The solution is not to reset last_insert_id on enter to sub-statement.
#
--
echo
#
--
echo
# BUG#15728: LAST_INSERT_ID function inside a stored function returns 0
--
echo
#
--
echo
# The solution is not to reset last_insert_id on enter to sub-statement.
--
echo
#
connection
master
;
connection
master
;
--
disable_warnings
--
disable_warnings
drop
function
if
exists
bug15728
;
drop
function
if
exists
bug15728
;
...
@@ -254,12 +274,16 @@ select * from t1 order by n;
...
@@ -254,12 +274,16 @@ select * from t1 order by n;
connection
master
;
connection
master
;
drop
table
t1
;
drop
table
t1
;
sync_slave_with_master
;
# End of 5.0 tests
--
echo
#
--
echo
# End of 5.0 tests
--
echo
#
# Test for BUG#20341 "stored function inserting into one
# Test for BUG#20341 "stored function inserting into one
# auto_increment puts bad data in slave"
# auto_increment puts bad data in slave"
connection
master
;
truncate
table
t2
;
truncate
table
t2
;
create
table
t1
(
id
tinyint
primary
key
);
# no auto_increment
create
table
t1
(
id
tinyint
primary
key
);
# no auto_increment
...
...
mysql-test/r/rpl_insert_id.result
View file @
7466b750
#
#
# Setup
# Setup
#
#
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;
use test;
use test;
drop table if exists t1, t2, t3;
drop table if exists t1, t2, t3;
#
#
...
@@ -15,6 +9,12 @@ drop table if exists t1, t2, t3;
...
@@ -15,6 +9,12 @@ drop table if exists t1, t2, t3;
#
#
# We also check how the foreign_key_check variable is replicated
# We also check how the foreign_key_check variable is replicated
#
#
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;
create table t1(a int auto_increment, key(a));
create table t1(a int auto_increment, key(a));
create table t2(b int auto_increment, c int, key(b));
create table t2(b int auto_increment, c int, key(b));
insert into t1 values (1),(2),(3);
insert into t1 values (1),(2),(3);
...
@@ -111,6 +111,11 @@ drop table t2;
...
@@ -111,6 +111,11 @@ drop table t2;
#
#
# End of 4.1 tests
# End of 4.1 tests
#
#
#
# BUG#15728: LAST_INSERT_ID function inside a stored function returns 0
#
# The solution is not to reset last_insert_id on enter to sub-statement.
#
drop function if exists bug15728;
drop function if exists bug15728;
drop function if exists bug15728_insert;
drop function if exists bug15728_insert;
drop table if exists t1, t2;
drop table if exists t1, t2;
...
@@ -258,9 +263,9 @@ n b
...
@@ -258,9 +263,9 @@ n b
2 100
2 100
3 350
3 350
drop table t1;
drop table t1;
#
# End of 5.0 tests
# End of 5.0 tests
#
truncate table t2;
truncate table t2;
create table t1 (id tinyint primary key);
create table t1 (id tinyint primary key);
create function insid() returns int
create function insid() returns int
...
...
mysql-test/r/rpl_row_max_relay_size.result
View file @
7466b750
SET SESSION BINLOG_FORMAT=ROW;
SET GLOBAL BINLOG_FORMAT=ROW;
stop slave;
stop slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
reset master;
reset master;
...
@@ -5,9 +7,15 @@ reset slave;
...
@@ -5,9 +7,15 @@ reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;
start slave;
stop slave;
stop slave;
#
# Generate a big enough master's binlog to cause relay log rotations
#
create table t1 (a int);
create table t1 (a int);
drop table t1;
drop table t1;
reset slave;
reset slave;
#
# Test 1
#
set global max_binlog_size=8192;
set global max_binlog_size=8192;
set global max_relay_log_size=8192-1;
set global max_relay_log_size=8192-1;
select @@global.max_relay_log_size;
select @@global.max_relay_log_size;
...
@@ -15,47 +23,251 @@ select @@global.max_relay_log_size;
...
@@ -15,47 +23,251 @@ select @@global.max_relay_log_size;
4096
4096
start slave;
start slave;
show slave status;
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
Slave_IO_State #
# 127.0.0.1 root MASTER_PORT 1 master-bin.000001 58664 # # master-bin.000001 Yes Yes # 0 0 58664 # None 0 No #
Master_Host 127.0.0.1
Master_User root
Master_Port MASTER_PORT
Connect_Retry 1
Master_Log_File master-bin.000001
Read_Master_Log_Pos 58664
Relay_Log_File #
Relay_Log_Pos #
Relay_Master_Log_File master-bin.000001
Slave_IO_Running Yes
Slave_SQL_Running Yes
Replicate_Do_DB
Replicate_Ignore_DB
Replicate_Do_Table
Replicate_Ignore_Table #
Replicate_Wild_Do_Table
Replicate_Wild_Ignore_Table
Last_Errno 0
Last_Error
Skip_Counter 0
Exec_Master_Log_Pos 58664
Relay_Log_Space #
Until_Condition None
Until_Log_File
Until_Log_Pos 0
Master_SSL_Allowed No
Master_SSL_CA_File
Master_SSL_CA_Path
Master_SSL_Cert
Master_SSL_Cipher
Master_SSL_Key
Seconds_Behind_Master #
#
# Test 2
#
stop slave;
stop slave;
reset slave;
reset slave;
set global max_relay_log_size=(5*4096);
set global max_relay_log_size=(5*4096);
select @@global.max_relay_log_size;
select @@global.max_relay_log_size;
@@global.max_relay_log_size
@@global.max_relay_log_size 20480
20480
start slave;
start slave;
show slave status;
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
Slave_IO_State #
# 127.0.0.1 root MASTER_PORT 1 master-bin.000001 58664 # # master-bin.000001 Yes Yes # 0 0 58664 # None 0 No #
Master_Host 127.0.0.1
Master_User root
Master_Port MASTER_PORT
Connect_Retry 1
Master_Log_File master-bin.000001
Read_Master_Log_Pos 58664
Relay_Log_File #
Relay_Log_Pos #
Relay_Master_Log_File master-bin.000001
Slave_IO_Running Yes
Slave_SQL_Running Yes
Replicate_Do_DB
Replicate_Ignore_DB
Replicate_Do_Table
Replicate_Ignore_Table #
Replicate_Wild_Do_Table
Replicate_Wild_Ignore_Table
Last_Errno 0
Last_Error
Skip_Counter 0
Exec_Master_Log_Pos 58664
Relay_Log_Space #
Until_Condition None
Until_Log_File
Until_Log_Pos 0
Master_SSL_Allowed No
Master_SSL_CA_File
Master_SSL_CA_Path
Master_SSL_Cert
Master_SSL_Cipher
Master_SSL_Key
Seconds_Behind_Master #
#
# Test 3: max_relay_log_size = 0
#
stop slave;
stop slave;
reset slave;
reset slave;
set global max_relay_log_size=0;
set global max_relay_log_size=0;
select @@global.max_relay_log_size;
select @@global.max_relay_log_size;
@@global.max_relay_log_size
@@global.max_relay_log_size 0
0
start slave;
start slave;
show slave status;
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
Slave_IO_State #
# 127.0.0.1 root MASTER_PORT 1 master-bin.000001 58664 # # master-bin.000001 Yes Yes # 0 0 58664 # None 0 No #
Master_Host 127.0.0.1
Master_User root
Master_Port MASTER_PORT
Connect_Retry 1
Master_Log_File master-bin.000001
Read_Master_Log_Pos 58664
Relay_Log_File #
Relay_Log_Pos #
Relay_Master_Log_File master-bin.000001
Slave_IO_Running Yes
Slave_SQL_Running Yes
Replicate_Do_DB
Replicate_Ignore_DB
Replicate_Do_Table
Replicate_Ignore_Table #
Replicate_Wild_Do_Table
Replicate_Wild_Ignore_Table
Last_Errno 0
Last_Error
Skip_Counter 0
Exec_Master_Log_Pos 58664
Relay_Log_Space #
Until_Condition None
Until_Log_File
Until_Log_Pos 0
Master_SSL_Allowed No
Master_SSL_CA_File
Master_SSL_CA_Path
Master_SSL_Cert
Master_SSL_Cipher
Master_SSL_Key
Seconds_Behind_Master #
#
# Test 4: Tests below are mainly to ensure that we have not coded with wrong assumptions
#
stop slave;
stop slave;
reset slave;
reset slave;
flush logs;
flush logs;
show slave status;
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
Slave_IO_State #
# 127.0.0.1 root MASTER_PORT 1 4 # # No No # 0 0 0 # None 0 No #
Master_Host 127.0.0.1
Master_User root
Master_Port MASTER_PORT
Connect_Retry 1
Master_Log_File
Read_Master_Log_Pos 4
Relay_Log_File #
Relay_Log_Pos #
Relay_Master_Log_File
Slave_IO_Running No
Slave_SQL_Running No
Replicate_Do_DB
Replicate_Ignore_DB
Replicate_Do_Table
Replicate_Ignore_Table #
Replicate_Wild_Do_Table
Replicate_Wild_Ignore_Table
Last_Errno 0
Last_Error
Skip_Counter 0
Exec_Master_Log_Pos 0
Relay_Log_Space #
Until_Condition None
Until_Log_File
Until_Log_Pos 0
Master_SSL_Allowed No
Master_SSL_CA_File
Master_SSL_CA_Path
Master_SSL_Cert
Master_SSL_Cipher
Master_SSL_Key
Seconds_Behind_Master #
#
# Test 5
#
reset slave;
reset slave;
start slave;
start slave;
flush logs;
flush logs;
create table t1 (a int);
create table t1 (a int);
show slave status;
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
Slave_IO_State #
# 127.0.0.1 root MASTER_PORT 1 master-bin.000001 58750 # # master-bin.000001 Yes Yes # 0 0 58750 # None 0 No #
Master_Host 127.0.0.1
Master_User root
Master_Port MASTER_PORT
Connect_Retry 1
Master_Log_File master-bin.000001
Read_Master_Log_Pos 58750
Relay_Log_File #
Relay_Log_Pos #
Relay_Master_Log_File master-bin.000001
Slave_IO_Running Yes
Slave_SQL_Running Yes
Replicate_Do_DB
Replicate_Ignore_DB
Replicate_Do_Table
Replicate_Ignore_Table #
Replicate_Wild_Do_Table
Replicate_Wild_Ignore_Table
Last_Errno 0
Last_Error
Skip_Counter 0
Exec_Master_Log_Pos 58750
Relay_Log_Space #
Until_Condition None
Until_Log_File
Until_Log_Pos 0
Master_SSL_Allowed No
Master_SSL_CA_File
Master_SSL_CA_Path
Master_SSL_Cert
Master_SSL_Cipher
Master_SSL_Key
Seconds_Behind_Master #
#
# Test 6: one more rotation, to be sure Relay_Log_Space is correctly updated
#
flush logs;
flush logs;
drop table t1;
drop table t1;
show slave status;
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
Slave_IO_State #
# 127.0.0.1 root MASTER_PORT 1 master-bin.000001 58826 # # master-bin.000001 Yes Yes # 0 0 58826 # None 0 No #
Master_Host 127.0.0.1
Master_User root
Master_Port MASTER_PORT
Connect_Retry 1
Master_Log_File master-bin.000001
Read_Master_Log_Pos 58826
Relay_Log_File #
Relay_Log_Pos #
Relay_Master_Log_File master-bin.000001
Slave_IO_Running Yes
Slave_SQL_Running Yes
Replicate_Do_DB
Replicate_Ignore_DB
Replicate_Do_Table
Replicate_Ignore_Table #
Replicate_Wild_Do_Table
Replicate_Wild_Ignore_Table
Last_Errno 0
Last_Error
Skip_Counter 0
Exec_Master_Log_Pos 58826
Relay_Log_Space #
Until_Condition None
Until_Log_File
Until_Log_Pos 0
Master_SSL_Allowed No
Master_SSL_CA_File
Master_SSL_CA_Path
Master_SSL_Cert
Master_SSL_Cipher
Master_SSL_Key
Seconds_Behind_Master #
flush logs;
flush logs;
show master status;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
File master-bin.000002
master-bin.000002 102 <Binlog_Ignore_DB>
Position 102
Binlog_Do_DB <Binlog_Ignore_DB>
Binlog_Ignore_DB
#
# End of 4.1 tests
#
mysql-test/r/rpl_stm_max_relay_size.result
View file @
7466b750
...
@@ -27,7 +27,7 @@ Master_User root
...
@@ -27,7 +27,7 @@ Master_User root
Master_Port MASTER_PORT
Master_Port MASTER_PORT
Connect_Retry 1
Connect_Retry 1
Master_Log_File master-bin.000001
Master_Log_File master-bin.000001
Read_Master_Log_Pos 7295
2
Read_Master_Log_Pos 7295
6
Relay_Log_File #
Relay_Log_File #
Relay_Log_Pos #
Relay_Log_Pos #
Relay_Master_Log_File master-bin.000001
Relay_Master_Log_File master-bin.000001
...
@@ -36,13 +36,13 @@ Slave_SQL_Running Yes
...
@@ -36,13 +36,13 @@ Slave_SQL_Running Yes
Replicate_Do_DB
Replicate_Do_DB
Replicate_Ignore_DB
Replicate_Ignore_DB
Replicate_Do_Table
Replicate_Do_Table
Replicate_Ignore_Table
Replicate_Ignore_Table
#
Replicate_Wild_Do_Table
Replicate_Wild_Do_Table
Replicate_Wild_Ignore_Table
Replicate_Wild_Ignore_Table
Last_Errno 0
Last_Errno 0
Last_Error
Last_Error
Skip_Counter 0
Skip_Counter 0
Exec_Master_Log_Pos 7295
2
Exec_Master_Log_Pos 7295
6
Relay_Log_Space #
Relay_Log_Space #
Until_Condition None
Until_Condition None
Until_Log_File
Until_Log_File
...
@@ -70,7 +70,7 @@ Master_User root
...
@@ -70,7 +70,7 @@ Master_User root
Master_Port MASTER_PORT
Master_Port MASTER_PORT
Connect_Retry 1
Connect_Retry 1
Master_Log_File master-bin.000001
Master_Log_File master-bin.000001
Read_Master_Log_Pos 7295
2
Read_Master_Log_Pos 7295
6
Relay_Log_File #
Relay_Log_File #
Relay_Log_Pos #
Relay_Log_Pos #
Relay_Master_Log_File master-bin.000001
Relay_Master_Log_File master-bin.000001
...
@@ -79,13 +79,13 @@ Slave_SQL_Running Yes
...
@@ -79,13 +79,13 @@ Slave_SQL_Running Yes
Replicate_Do_DB
Replicate_Do_DB
Replicate_Ignore_DB
Replicate_Ignore_DB
Replicate_Do_Table
Replicate_Do_Table
Replicate_Ignore_Table
Replicate_Ignore_Table
#
Replicate_Wild_Do_Table
Replicate_Wild_Do_Table
Replicate_Wild_Ignore_Table
Replicate_Wild_Ignore_Table
Last_Errno 0
Last_Errno 0
Last_Error
Last_Error
Skip_Counter 0
Skip_Counter 0
Exec_Master_Log_Pos 7295
2
Exec_Master_Log_Pos 7295
6
Relay_Log_Space #
Relay_Log_Space #
Until_Condition None
Until_Condition None
Until_Log_File
Until_Log_File
...
@@ -113,7 +113,7 @@ Master_User root
...
@@ -113,7 +113,7 @@ Master_User root
Master_Port MASTER_PORT
Master_Port MASTER_PORT
Connect_Retry 1
Connect_Retry 1
Master_Log_File master-bin.000001
Master_Log_File master-bin.000001
Read_Master_Log_Pos 7295
2
Read_Master_Log_Pos 7295
6
Relay_Log_File #
Relay_Log_File #
Relay_Log_Pos #
Relay_Log_Pos #
Relay_Master_Log_File master-bin.000001
Relay_Master_Log_File master-bin.000001
...
@@ -122,13 +122,13 @@ Slave_SQL_Running Yes
...
@@ -122,13 +122,13 @@ Slave_SQL_Running Yes
Replicate_Do_DB
Replicate_Do_DB
Replicate_Ignore_DB
Replicate_Ignore_DB
Replicate_Do_Table
Replicate_Do_Table
Replicate_Ignore_Table
Replicate_Ignore_Table
#
Replicate_Wild_Do_Table
Replicate_Wild_Do_Table
Replicate_Wild_Ignore_Table
Replicate_Wild_Ignore_Table
Last_Errno 0
Last_Errno 0
Last_Error
Last_Error
Skip_Counter 0
Skip_Counter 0
Exec_Master_Log_Pos 7295
2
Exec_Master_Log_Pos 7295
6
Relay_Log_Space #
Relay_Log_Space #
Until_Condition None
Until_Condition None
Until_Log_File
Until_Log_File
...
@@ -162,7 +162,7 @@ Slave_SQL_Running No
...
@@ -162,7 +162,7 @@ Slave_SQL_Running No
Replicate_Do_DB
Replicate_Do_DB
Replicate_Ignore_DB
Replicate_Ignore_DB
Replicate_Do_Table
Replicate_Do_Table
Replicate_Ignore_Table
Replicate_Ignore_Table
#
Replicate_Wild_Do_Table
Replicate_Wild_Do_Table
Replicate_Wild_Ignore_Table
Replicate_Wild_Ignore_Table
Last_Errno 0
Last_Errno 0
...
@@ -194,7 +194,7 @@ Master_User root
...
@@ -194,7 +194,7 @@ Master_User root
Master_Port MASTER_PORT
Master_Port MASTER_PORT
Connect_Retry 1
Connect_Retry 1
Master_Log_File master-bin.000001
Master_Log_File master-bin.000001
Read_Master_Log_Pos 730
38
Read_Master_Log_Pos 730
42
Relay_Log_File #
Relay_Log_File #
Relay_Log_Pos #
Relay_Log_Pos #
Relay_Master_Log_File master-bin.000001
Relay_Master_Log_File master-bin.000001
...
@@ -203,13 +203,13 @@ Slave_SQL_Running Yes
...
@@ -203,13 +203,13 @@ Slave_SQL_Running Yes
Replicate_Do_DB
Replicate_Do_DB
Replicate_Ignore_DB
Replicate_Ignore_DB
Replicate_Do_Table
Replicate_Do_Table
Replicate_Ignore_Table
Replicate_Ignore_Table
#
Replicate_Wild_Do_Table
Replicate_Wild_Do_Table
Replicate_Wild_Ignore_Table
Replicate_Wild_Ignore_Table
Last_Errno 0
Last_Errno 0
Last_Error
Last_Error
Skip_Counter 0
Skip_Counter 0
Exec_Master_Log_Pos 730
38
Exec_Master_Log_Pos 730
42
Relay_Log_Space #
Relay_Log_Space #
Until_Condition None
Until_Condition None
Until_Log_File
Until_Log_File
...
@@ -233,7 +233,7 @@ Master_User root
...
@@ -233,7 +233,7 @@ Master_User root
Master_Port MASTER_PORT
Master_Port MASTER_PORT
Connect_Retry 1
Connect_Retry 1
Master_Log_File master-bin.000001
Master_Log_File master-bin.000001
Read_Master_Log_Pos 7311
4
Read_Master_Log_Pos 7311
8
Relay_Log_File #
Relay_Log_File #
Relay_Log_Pos #
Relay_Log_Pos #
Relay_Master_Log_File master-bin.000001
Relay_Master_Log_File master-bin.000001
...
@@ -242,13 +242,13 @@ Slave_SQL_Running Yes
...
@@ -242,13 +242,13 @@ Slave_SQL_Running Yes
Replicate_Do_DB
Replicate_Do_DB
Replicate_Ignore_DB
Replicate_Ignore_DB
Replicate_Do_Table
Replicate_Do_Table
Replicate_Ignore_Table
Replicate_Ignore_Table
#
Replicate_Wild_Do_Table
Replicate_Wild_Do_Table
Replicate_Wild_Ignore_Table
Replicate_Wild_Ignore_Table
Last_Errno 0
Last_Errno 0
Last_Error
Last_Error
Skip_Counter 0
Skip_Counter 0
Exec_Master_Log_Pos 7311
4
Exec_Master_Log_Pos 7311
8
Relay_Log_Space #
Relay_Log_Space #
Until_Condition None
Until_Condition None
Until_Log_File
Until_Log_File
...
@@ -263,8 +263,8 @@ Seconds_Behind_Master #
...
@@ -263,8 +263,8 @@ Seconds_Behind_Master #
flush logs;
flush logs;
show master status;
show master status;
File master-bin.000002
File master-bin.000002
Position
98
Position
102
Binlog_Do_DB
Binlog_Do_DB
<Binlog_Ignore_DB>
Binlog_Ignore_DB
Binlog_Ignore_DB
#
#
# End of 4.1 tests
# End of 4.1 tests
...
...
mysql-test/t/rpl_row_max_relay_size.test
View file @
7466b750
...
@@ -5,6 +5,8 @@
...
@@ -5,6 +5,8 @@
# Requires statement logging
# Requires statement logging
--
source
include
/
not_ndb_default
.
inc
--
source
include
/
not_ndb_default
.
inc
--
source
include
/
have_binlog_format_row
.
inc
--
source
include
/
have_row_based
.
inc
SET
SESSION
BINLOG_FORMAT
=
ROW
;
SET
GLOBAL
BINLOG_FORMAT
=
ROW
;
--
source
extra
/
rpl_tests
/
rpl_max_relay_size
.
test
--
source
extra
/
rpl_tests
/
rpl_max_relay_size
.
test
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment