~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/sum.cc

  • Committer: Brian Aker
  • Date: 2010-10-28 01:45:34 UTC
  • mfrom: (1878.5.8 catalogs)
  • Revision ID: brian@tangent.org-20101028014534-b6qp4wp6crj60h7k
Merge in catalog tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1027
1027
  field_def.init_for_tmp_table(table_field_type, args[0]->max_length,
1028
1028
                               args[0]->decimals, args[0]->maybe_null);
1029
1029
 
1030
 
  if (! (table= session->create_virtual_tmp_table(field_list)))
 
1030
  if (! (table= session->getInstanceTable(field_list)))
1031
1031
    return(true);
1032
1032
 
1033
1033
  /* XXX: check that the case of CHAR(0) works OK */