~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.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:
39
39
#include "drizzled/item/param.h"
40
40
#include "drizzled/index_hint.h"
41
41
 
 
42
#include <bitset>
 
43
 
42
44
class select_result_interceptor;
43
45
 
44
46
/* YACC and LEX Definitions */
509
511
      1 - aggregate functions are used in this select,
510
512
          defined as SUM_FUNC_USED.
511
513
  */
512
 
  uint8_t full_group_by_flag;
 
514
  std::bitset<2> full_group_by_flag;
513
515
  void init_query();
514
516
  void init_select();
515
517
  Select_Lex_Unit* master_unit();