~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/utility_functions/tests/r/kill_repeated.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
 
CREATE TABLE CONNECTIONS SELECT ID FROM DATA_DICTIONARY.PROCESSLIST WHERE ID != CONNECTION_ID();
2
 
INSERT INTO CONNECTIONS SELECT ID FROM DATA_DICTIONARY.PROCESSLIST WHERE ID != CONNECTION_ID();
 
1
CREATE TABLE CONNECTIONS SELECT ID FROM DATA_DICTIONARY.PROCESSLIST WHERE ID != CONNECTION_ID() AND username="bob";
3
2
SELECT IF (KILL(id), "YES", "NO") FROM CONNECTIONS ORDER BY RAND();
4
3
IF (KILL(id), "YES", "NO")
5
4
YES
7
6
YES
8
7
YES
9
8
YES
10
 
YES
11
 
YES
12
 
YES
13
 
YES
14
 
YES
15
 
SELECT count(ID) FROM DATA_DICTIONARY.PROCESSLIST WHERE COMMAND != "Killed";
 
9
SELECT count(ID) FROM DATA_DICTIONARY.PROCESSLIST WHERE COMMAND != "Killed" AND USERNAME="bob";
16
10
count(ID)
17
 
1
 
11
0
18
12
DROP TABLE CONNECTIONS;