~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/sum.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-27 14:23:35 UTC
  • mto: This revision was merged to the branch mainline in revision 2350.
  • Revision ID: olafvdspek@gmail.com-20110627142335-38y17d8xxczy6ilm
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
2583
2583
  if (tree || table || tmp_table_param)
2584
2584
    return false;
2585
2585
 
2586
 
  if (!(tmp_table_param= new Tmp_Table_Param))
2587
 
    return true;
 
2586
  tmp_table_param= new Tmp_Table_Param;
2588
2587
 
2589
2588
  /* Create a table with an unique key over all parameters */
2590
2589
  for (uint32_t i=0; i < arg_count ; i++)
3205
3204
  if (table || tree)
3206
3205
    return false;
3207
3206
 
3208
 
  if (!(tmp_table_param= new Tmp_Table_Param))
3209
 
    return true;
 
3207
  tmp_table_param= new Tmp_Table_Param;
3210
3208
 
3211
3209
  /* We'll convert all blobs to varchar fields in the temporary table */
3212
3210
  tmp_table_param->convert_blob_length= max_length *