~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/count_distinct2.test

  • Committer: Stewart Smith
  • Date: 2010-02-15 01:56:32 UTC
  • mto: (1273.13.96 build)
  • mto: This revision was merged to the branch mainline in revision 1308.
  • Revision ID: stewart@flamingspork.com-20100215015632-pm7lnxfq5j5uh8kj
move DATABASE() to function plugin. modify parser so that it looks for a function named 'database' when DATABASE() is called. Special case still needed in parser due to hilarity of not-really-reserved words.

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
 
64
64
flush status;
65
65
select count(distinct n) from t1;
66
 
--replace_column 2 #
67
66
show status like 'Created_tmp_disk_tables';
68
67
drop table t1;
69
68
 
81
80
enable_query_log;
82
81
flush status;
83
82
select count(distinct s) from t1;
84
 
--replace_column 2 #
85
83
show status like 'Created_tmp_disk_tables';
86
84
drop table t1;
87
85