~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/utility_functions/tests/r/kill_query.result

updating to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
SELECT COUNT(ID) FROM DATA_DICTIONARY.PROCESSLIST ORDER BY ID;
 
1
SELECT COUNT(ID) FROM DATA_DICTIONARY.PROCESSLIST WHERE ID != CONNECTION_ID() AND USERNAME="bob" ORDER BY ID;
2
2
COUNT(ID)
3
 
6
4
 
SELECT IF((KILL QUERY (id)), "YES", "NO"), IF((ID >0), "YES", "NO") FROM DATA_DICTIONARY.PROCESSLIST WHERE ID != CONNECTION_ID();
5
 
IF((KILL QUERY (id)), "YES", "NO")      IF((ID >0), "YES", "NO")
6
 
YES     YES
7
 
YES     YES
8
 
YES     YES
9
 
YES     YES
10
 
YES     YES
11
 
SELECT count(ID) FROM DATA_DICTIONARY.PROCESSLIST WHERE COMMAND != "Killed";
 
3
5
 
4
SELECT IF(KILL(id), "YES", "NO") FROM DATA_DICTIONARY.PROCESSLIST WHERE ID != CONNECTION_ID() AND USERNAME="bob";
 
5
IF(KILL(id), "YES", "NO")
 
6
YES
 
7
YES
 
8
YES
 
9
YES
 
10
YES
 
11
SELECT count(ID) FROM DATA_DICTIONARY.PROCESSLIST WHERE COMMAND != "Killed" AND USERNAME="bob" and ID != CONNECTION_ID();
12
12
count(ID)
13
 
6
 
13
0
14
14
SELECT KILL(CONNECTION_ID());
15
15
ERROR HY000: You cannot kill the session you are connected from.