~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-12-09 06:02:39 UTC
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20101209060239-t0ujftvcvd558yno
Tags: upstream-2010.12.05
ImportĀ upstreamĀ versionĀ 2010.12.05

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SELECT COUNT(ID) FROM DATA_DICTIONARY.PROCESSLIST ORDER BY ID;
 
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";
 
12
count(ID)
 
13
6
 
14
SELECT KILL(CONNECTION_ID());
 
15
ERROR HY000: You cannot kill the session you are connected from.