~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/include/wait_condition.inc

Merge Revision revid:svn-v4:16c675df-0fcb-4bc9-8058-dcc011a37293:branches/zip:6925 from MySQL InnoDB

Original revid:svn-v4:16c675df-0fcb-4bc9-8058-dcc011a37293:branches/zip:6925

Also fix wait_condition for drizzle, and queries in the test.

Original Authors: mmakela
Original commit message:
branches/zip: Merge revisions 6921:6924 from branches/5.1:

  ------------------------------------------------------------------------
  r6924 | mmakela | 2010-03-31 15:28:25 +0300 (Wed, 31 Mar 2010) | 1 line
  Changed paths:
     M /branches/5.1/mysql-test/innodb_bug51920.test

  branches/5.1: innodb_bug51920.test: Fix a race condition.
  ------------------------------------------------------------------------

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
    }
48
48
    if (!$success)
49
49
    {
50
 
        real_sleep 0.1;
 
50
        sleep 0.1;
51
51
        dec $wait_counter;
52
52
    }
53
53
}