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_query_to_succeed.inc
1
#
2
# Run a query over and over until it succeeds ot timeout occurs
3
#
4
5
6
let $counter= 100;
7
8
disable_abort_on_error;
9
disable_query_log;
10
disable_result_log;
11
eval $query;
12
while
($mysql_errno)
13
{
14
eval $query;
15
sleep 0.1;
16
dec $counter;
17
18
if
(!$counter)
19
{
20
--die
"Waited too long for query to succeed"
;
21
}
22
}
23
enable_abort_on_error;
24
enable_query_log;
25
enable_result_log;
mysql-test
include
wait_for_query_to_succeed.inc
Generated on Sat Nov 9 2013 01:25:01 for MySQL 5.6.14 Source Code Document by
1.8.1.2