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
no_running_events.inc
1
########## include/no_running_events.inc ###################################
2
# #
3
# Wait till all event executors have finished their work. #
4
# #
5
# Different event executors share the characteristics that their entry within #
6
# processlist contains command = 'Connect'. #
7
# Of course the corresponding query will also catch other connections being #
8
# within the connect phase. This is no problem since the connect phase is #
9
# usually very short. #
10
# #
11
# A wait_timeout of >= 3 seconds was during experiments in case of "simple" #
12
# SQL commands sufficient even on a testing box with heavy parallel load. #
13
# "simple" = no sleeps, no long running commands, no waiting for lock ... #
14
# We use here the default of 30 seconds because this wastes some time only in #
15
# case of unexpected situations. #
16
# #
17
# Creation: #
18
# 2008-12-19 mleich Implement this check needed for test bug fixes #
19
# #
20
################################################################################
21
22
let $wait_condition=
23
SELECT COUNT(*) = 0 FROM information_schema.processlist
24
WHERE command =
'Connect'
;
25
--source include/wait_condition.inc
mysql-test
include
no_running_events.inc
Generated on Sat Nov 9 2013 01:24:55 for MySQL 5.6.14 Source Code Document by
1.8.1.2