~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/include/wait_until_rows_count.inc

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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