~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2011-01-23 21:09:42 UTC
  • Revision ID: brian@tangent.org-20110123210942-g6hiv6vatn75ht9r
Additional fix for lcov.

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
 
3
5
4
4
SELECT IF(KILL(id), "YES", "NO") FROM DATA_DICTIONARY.PROCESSLIST WHERE ID != CONNECTION_ID() AND USERNAME="bob";
5
5
IF(KILL(id), "YES", "NO")
6
6
YES
8
8
YES
9
9
YES
10
10
YES
11
 
SELECT count(ID) FROM DATA_DICTIONARY.PROCESSLIST WHERE COMMAND != "Killed";
 
11
SELECT count(ID) FROM DATA_DICTIONARY.PROCESSLIST WHERE COMMAND != "Killed" AND USERNAME="bob" and ID != CONNECTION_ID();
12
12
count(ID)
13
 
1
 
13
0
14
14
SELECT KILL(CONNECTION_ID());
15
15
ERROR HY000: You cannot kill the session you are connected from.