1
by brian
clean slate |
1 |
# include/wait_until_rows_count.inc |
2 |
#
|
|
3 |
# SUMMARY |
|
4 |
#
|
|
5 |
# Waits until SELECT count(*) = $count from $table returns true, or |
|
6 |
# the operation times out. |
|
7 |
#
|
|
8 |
# USAGE |
|
9 |
#
|
|
10 |
# let $count= 5; |
|
11 |
# let $table= t1; |
|
12 |
# --source include/wait_until_rows_count.inc |
|
13 |
#
|
|
14 |
# EXAMPLE |
|
15 |
# extra/binlog/binlog_insert_delayed.test |
|
16 |
#
|
|
17 |
||
18 |
let $wait_condition= |
|
19 |
select count(*) = $count from $table; |
|
20 |
--source include/wait_condition.inc |