~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_stats/tests/r/cumulative.result

  • Committer: Brian Aker
  • Date: 2011-01-05 07:43:57 UTC
  • mto: (2060.2.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2063.
  • Revision ID: brian@tangent.org-20110105074357-9zf9j38hf52xjvef
Merge in work for reserved words in SQL standard.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
9
16
16
UPDATE a SET i=10 WHERE i=3;
17
17
DELETE FROM a WHERE i=10;
18
 
SELECT IF(COUNT_SELECT, "YES", "NO"), IF(COUNT_UPDATE, "YES", "NO"), IF(COUNT_INSERT, "YES", "NO") FROM DATA_DICTIONARY.CUMULATIVE_SQL_COMMANDS WHERE USER != "root" ORDER BY USER;
 
18
SELECT IF(COUNT_SELECT, "YES", "NO"), IF(COUNT_UPDATE, "YES", "NO"), IF(COUNT_INSERT, "YES", "NO") FROM DATA_DICTIONARY.CUMULATIVE_SQL_COMMANDS WHERE USERNAME != "root" ORDER BY USERNAME;
19
19
IF(COUNT_SELECT, "YES", "NO")   IF(COUNT_UPDATE, "YES", "NO")   IF(COUNT_INSERT, "YES", "NO")
20
20
YES     YES     YES
21
21
YES     YES     YES
22
 
SELECT USER, IF(DENIED_CONNECTIONS, "NO", "YES"), IF(LOST_CONNECTIONS, "YES", "NO"), IF(DENIED_CONNECTIONS, "YES", "NO"),  IF(ROWS_FETCHED, "YES", "NO"), IF(ROWS_UPDATED, "YES", "NO"), IF(ROWS_INSERTED, "YES", "NO")  FROM DATA_DICTIONARY.CUMULATIVE_USER_STATS WHERE USER != "root" ORDER BY USER;
23
 
USER    IF(DENIED_CONNECTIONS, "NO", "YES")     IF(LOST_CONNECTIONS, "YES", "NO")       IF(DENIED_CONNECTIONS, "YES", "NO")     IF(ROWS_FETCHED, "YES", "NO")   IF(ROWS_UPDATED, "YES", "NO")   IF(ROWS_INSERTED, "YES", "NO")
 
22
SELECT USERNAME, IF(DENIED_CONNECTIONS, "NO", "YES"), IF(LOST_CONNECTIONS, "YES", "NO"), IF(DENIED_CONNECTIONS, "YES", "NO"),  IF(ROWS_FETCHED, "YES", "NO"), IF(ROWS_UPDATED, "YES", "NO"), IF(ROWS_INSERTED, "YES", "NO")  FROM DATA_DICTIONARY.CUMULATIVE_USER_STATS WHERE USERNAME != "root" ORDER BY USERNAME;
 
23
USERNAME        IF(DENIED_CONNECTIONS, "NO", "YES")     IF(LOST_CONNECTIONS, "YES", "NO")       IF(DENIED_CONNECTIONS, "YES", "NO")     IF(ROWS_FETCHED, "YES", "NO")   IF(ROWS_UPDATED, "YES", "NO")   IF(ROWS_INSERTED, "YES", "NO")
24
24
drizzle YES     YES     NO      YES     YES     YES
25
25
drizzle_test    YES     YES     NO      YES     YES     YES
26
26
DROP TABLE a;