MySQL 5.6.14 Source Code Document
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
wait_for_ndb_to_binlog.inc
1
# ==== Purpose ====
2
#
3
# Several test primitives from mysql-test/extra/rpl_tests
4
# are shared for test cases for MyISAM, InnoDB, NDB and
5
# other engines.
6
# For NDB engine all events will be added by NDB injector
7
# so tests only can continue after injector is ready,
8
# this test waits for proper injector thread state.
9
#
10
# ==== Usage ====
11
#
12
# let $engine_type= NDB;
13
# --source include/wait_for_ndb_to_binlog.inc
14
#
15
# ==== Parameters =====
16
#
17
# $engine_type
18
# Type of engine. If type is NDB then it waits for injector
19
# thread proper state.
20
21
if
(`SELECT UPPER(LEFT(
'$engine_type'
,3)) =
'NDB'
`) {
22
let $show_statement= SHOW PROCESSLIST;
23
let $field= State;
24
let $condition= =
'Waiting for event from ndbcluster'
;
25
source include/wait_show_condition.inc;
26
}
mysql-test
include
wait_for_ndb_to_binlog.inc
Generated on Sat Nov 9 2013 01:25:01 for MySQL 5.6.14 Source Code Document by
1.8.1.2