~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.h

  • Committer: Padraig O'Sullivan
  • Date: 2009-07-08 04:26:02 UTC
  • mto: (1089.3.4 merge)
  • mto: This revision was merged to the branch mainline in revision 1092.
  • Revision ID: osullivan.padraig@gmail.com-20090708042602-x4hmf9ny8dcpvb22
Replaced an instance where a uint8_t type was being used to hold a
collection of flags. Converted it to a std::bitset<2> instead.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
  A set of constants used for checking non aggregated fields and sum
73
73
  functions mixture in the ONLY_FULL_GROUP_BY_MODE.
74
74
*/
75
 
#define NON_AGG_FIELD_USED  1
76
 
#define SUM_FUNC_USED       2
 
75
enum enum_group_by_mode_type
 
76
{
 
77
  NON_AGG_FIELD_USED= 0,
 
78
  SUM_FUNC_USED
 
79
};
77
80
 
78
81
/**
79
82
  This enumeration type is used only by the function find_item_in_list