1
by brian
clean slate |
1 |
# t/rpl_locktrans_myisam.test |
2 |
#
|
|
3 |
# Transactional LOCK TABLE tests |
|
4 |
||
5 |
# Transactional lock tests require multiple sessions. |
|
6 |
--source include/not_embedded.inc
|
|
7 |
||
8 |
# This is a replication test. |
|
9 |
--source include/master-slave.inc
|
|
10 |
||
11 |
## --source include/have_myisam.inc |
|
12 |
let $engine_type= MyISAM; |
|
13 |
||
14 |
# Storage engine does not support transactions. |
|
15 |
let $transactional= 0; |
|
16 |
||
17 |
# Storage engine does not support the NOWAIT option. |
|
18 |
let $nowait_support= 0; |
|
19 |
||
20 |
# Define a storage engine that does not support transactional locking. |
|
21 |
let $other_non_trans_engine_type= MyISAM; |
|
22 |
||
23 |
--source include/locktrans.inc
|
|
24 |
||
25 |
sync_slave_with_master; |
|
26 |
connection slave; |
|
27 |
--replace_result $MASTER_MYPORT MASTER_PORT
|
|
28 |
--replace_column 1 # 7 # 8 # 9 # 22 # 23 # 33 #
|
|
29 |
--query_vertical show slave status;
|
|
30 |