~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/count_distinct2.test

  • Committer: Toru Maesaka
  • Date: 2009-05-18 06:07:03 UTC
  • mto: (1054.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 1056.
  • Revision ID: dev@torum.net-20090518060703-5d2f2luyqaho10yq
Add memory allocation check and fix SEGV problem caused in statement_cleanup() by using calloc. This is temporary, the query statement list should be migrated to a proper container like std::vector

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