~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item_sum.cc

  • Committer: Monty Taylor
  • Date: 2008-09-23 06:09:48 UTC
  • mto: This revision was merged to the branch mainline in revision 419.
  • Revision ID: monty@inaugust.com-20080923060948-pec1d5wxetf84tte
Cleaned up stuff out of global.h.

Show diffs side-by-side

added added

removed removed

Lines of Context:
846
846
 
847
847
/***************************************************************************/
848
848
 
849
 
C_MODE_START
 
849
#ifdef __cplusplus
 
850
extern "C" {
 
851
#endif
850
852
 
851
853
/* Declarations for auxilary C-callbacks */
852
854
 
863
865
  return ((Item_sum_distinct*) (item))->unique_walk_function(element);
864
866
}
865
867
 
866
 
C_MODE_END
 
868
#ifdef __cplusplus
 
869
}
 
870
#endif
867
871
 
868
872
/* Item_sum_distinct */
869
873
 
2457
2461
  return 0;
2458
2462
}
2459
2463
 
2460
 
 
2461
 
C_MODE_START
 
2464
#ifdef __cplusplus
 
2465
extern "C" {
 
2466
#endif
2462
2467
 
2463
2468
static int count_distinct_walk(void *elem __attribute__((unused)),
2464
2469
                               element_count count __attribute__((unused)),
2468
2473
  return 0;
2469
2474
}
2470
2475
 
2471
 
C_MODE_END
 
2476
#ifdef __cplusplus
 
2477
}
 
2478
#endif
 
2479
 
2472
2480
 
2473
2481
 
2474
2482
void Item_sum_count_distinct::cleanup()