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
201a2547
Commit
201a2547
authored
Jun 21, 2007
by
mats@kindahl-laptop.dnsalias.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing result mismatch in rpl_deadlock_innodb result file.
parent
206b2c72
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
35 deletions
+23
-35
mysql-test/extra/rpl_tests/rpl_deadlock.test
mysql-test/extra/rpl_tests/rpl_deadlock.test
+3
-15
mysql-test/r/rpl_deadlock_innodb.result
mysql-test/r/rpl_deadlock_innodb.result
+20
-20
No files found.
mysql-test/extra/rpl_tests/rpl_deadlock.test
View file @
201a2547
...
@@ -72,11 +72,7 @@ sync_with_master;
...
@@ -72,11 +72,7 @@ sync_with_master;
select
*
from
t1
;
# check that repl-ed succeeded finally
select
*
from
t1
;
# check that repl-ed succeeded finally
select
*
from
t2
/* must be 1 */
;
select
*
from
t2
/* must be 1 */
;
# check that no error is reported
# check that no error is reported
--
replace_column
1
# 7 # 8 # 9 # 16 # 22 # 23 # 33 #
source
include
/
show_slave_status
.
inc
;
--
replace_result
$MASTER_MYPORT
MASTER_MYPORT
--
vertical_results
show
slave
status
;
--
horizontal_results
# 2) Test lock wait timeout
# 2) Test lock wait timeout
...
@@ -93,11 +89,7 @@ sync_with_master;
...
@@ -93,11 +89,7 @@ sync_with_master;
select
*
from
t1
;
# check that repl-ed succeeded finally
select
*
from
t1
;
# check that repl-ed succeeded finally
select
*
from
t2
;
select
*
from
t2
;
# check that no error is reported
# check that no error is reported
--
replace_column
1
# 7 # 8 # 9 # 11 # 16 # 22 # 23 # 33 #
source
include
/
show_slave_status
.
inc
;
--
replace_result
$MASTER_MYPORT
MASTER_MYPORT
--
vertical_results
show
slave
status
;
--
horizontal_results
# Now we repeat 2), but with BEGIN in the same relay log as
# Now we repeat 2), but with BEGIN in the same relay log as
# COMMIT (to see if seeking into hot log is ok).
# COMMIT (to see if seeking into hot log is ok).
...
@@ -117,11 +109,7 @@ commit;
...
@@ -117,11 +109,7 @@ commit;
sync_with_master
;
sync_with_master
;
select
*
from
t1
;
select
*
from
t1
;
select
*
from
t2
;
select
*
from
t2
;
--
replace_column
1
# 7 # 8 # 9 # 11 # 16 # 22 # 23 # 33 #
source
include
/
show_slave_status
.
inc
;
--
replace_result
$MASTER_MYPORT
MASTER_MYPORT
--
vertical_results
show
slave
status
;
--
horizontal_results
connection
master
;
connection
master
;
drop
table
t1
,
t2
,
t3
,
t4
;
drop
table
t1
,
t2
,
t3
,
t4
;
...
...
mysql-test/r/rpl_deadlock_innodb.result
View file @
201a2547
...
@@ -44,14 +44,14 @@ a
...
@@ -44,14 +44,14 @@ a
select * from t2 /* must be 1 */;
select * from t2 /* must be 1 */;
a
a
0
0
show slave status
;
SHOW SLAVE STATUS
;
Slave_IO_State #
Slave_IO_State #
Master_Host 127.0.0.1
Master_Host 127.0.0.1
Master_User root
Master_User root
Master_Port MASTER_
MY
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
#
Read_Master_Log_Pos
1709
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
...
@@ -66,7 +66,7 @@ Replicate_Wild_Ignore_Table
...
@@ -66,7 +66,7 @@ Replicate_Wild_Ignore_Table
Last_Errno 0
Last_Errno 0
Last_Error
Last_Error
Skip_Counter 0
Skip_Counter 0
Exec_Master_Log_Pos
#
Exec_Master_Log_Pos
1709
Relay_Log_Space #
Relay_Log_Space #
Until_Condition None
Until_Condition None
Until_Log_File
Until_Log_File
...
@@ -79,8 +79,8 @@ Master_SSL_Cipher
...
@@ -79,8 +79,8 @@ Master_SSL_Cipher
Master_SSL_Key
Master_SSL_Key
Seconds_Behind_Master #
Seconds_Behind_Master #
Master_SSL_Verify_Server_Cert No
Master_SSL_Verify_Server_Cert No
Last_IO_Errno
0
Last_IO_Errno
#
Last_IO_Error
Last_IO_Error
#
Last_SQL_Errno 0
Last_SQL_Errno 0
Last_SQL_Error
Last_SQL_Error
stop slave;
stop slave;
...
@@ -103,18 +103,18 @@ select * from t2;
...
@@ -103,18 +103,18 @@ select * from t2;
a
a
0
0
0
0
show slave status
;
SHOW SLAVE STATUS
;
Slave_IO_State #
Slave_IO_State #
Master_Host 127.0.0.1
Master_Host 127.0.0.1
Master_User root
Master_User root
Master_Port MASTER_
MY
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
#
Read_Master_Log_Pos
1709
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
Slave_IO_Running
#
Slave_IO_Running
Yes
Slave_SQL_Running Yes
Slave_SQL_Running Yes
Replicate_Do_DB
Replicate_Do_DB
Replicate_Ignore_DB
Replicate_Ignore_DB
...
@@ -125,7 +125,7 @@ Replicate_Wild_Ignore_Table
...
@@ -125,7 +125,7 @@ Replicate_Wild_Ignore_Table
Last_Errno 0
Last_Errno 0
Last_Error
Last_Error
Skip_Counter 0
Skip_Counter 0
Exec_Master_Log_Pos
#
Exec_Master_Log_Pos
1709
Relay_Log_Space #
Relay_Log_Space #
Until_Condition None
Until_Condition None
Until_Log_File
Until_Log_File
...
@@ -138,8 +138,8 @@ Master_SSL_Cipher
...
@@ -138,8 +138,8 @@ Master_SSL_Cipher
Master_SSL_Key
Master_SSL_Key
Seconds_Behind_Master #
Seconds_Behind_Master #
Master_SSL_Verify_Server_Cert No
Master_SSL_Verify_Server_Cert No
Last_IO_Errno
0
Last_IO_Errno
#
Last_IO_Error
Last_IO_Error
#
Last_SQL_Errno 0
Last_SQL_Errno 0
Last_SQL_Error
Last_SQL_Error
set @my_max_relay_log_size= @@global.max_relay_log_size;
set @my_max_relay_log_size= @@global.max_relay_log_size;
...
@@ -167,18 +167,18 @@ a
...
@@ -167,18 +167,18 @@ a
0
0
0
0
0
0
show slave status
;
SHOW SLAVE STATUS
;
Slave_IO_State #
Slave_IO_State #
Master_Host 127.0.0.1
Master_Host 127.0.0.1
Master_User root
Master_User root
Master_Port MASTER_
MY
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
#
Read_Master_Log_Pos
1709
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
Slave_IO_Running
#
Slave_IO_Running
Yes
Slave_SQL_Running Yes
Slave_SQL_Running Yes
Replicate_Do_DB
Replicate_Do_DB
Replicate_Ignore_DB
Replicate_Ignore_DB
...
@@ -189,7 +189,7 @@ Replicate_Wild_Ignore_Table
...
@@ -189,7 +189,7 @@ Replicate_Wild_Ignore_Table
Last_Errno 0
Last_Errno 0
Last_Error
Last_Error
Skip_Counter 0
Skip_Counter 0
Exec_Master_Log_Pos
#
Exec_Master_Log_Pos
1709
Relay_Log_Space #
Relay_Log_Space #
Until_Condition None
Until_Condition None
Until_Log_File
Until_Log_File
...
@@ -202,8 +202,8 @@ Master_SSL_Cipher
...
@@ -202,8 +202,8 @@ Master_SSL_Cipher
Master_SSL_Key
Master_SSL_Key
Seconds_Behind_Master #
Seconds_Behind_Master #
Master_SSL_Verify_Server_Cert No
Master_SSL_Verify_Server_Cert No
Last_IO_Errno
0
Last_IO_Errno
#
Last_IO_Error
Last_IO_Error
#
Last_SQL_Errno 0
Last_SQL_Errno 0
Last_SQL_Error
Last_SQL_Error
drop table t1,t2,t3,t4;
drop table t1,t2,t3,t4;
...
...
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