~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/tmp_table_param.h

  • Committer: Monty Taylor
  • Date: 2010-02-05 08:11:15 UTC
  • mfrom: (1283 build)
  • mto: (1273.13.43 fix_is)
  • mto: This revision was merged to the branch mainline in revision 1300.
  • Revision ID: mordred@inaugust.com-20100205081115-dr82nvrwv4lvw7sd
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
  void operator=(Tmp_Table_Param &);
39
39
 
40
40
public:
41
 
  KeyInfo *keyinfo;
 
41
  KEY *keyinfo;
42
42
  List<Item> copy_funcs;
43
43
  List<Item> save_copy_funcs;
44
44
  CopyField *copy_field, *copy_field_end;
70
70
  uint32_t  convert_blob_length;
71
71
 
72
72
  const CHARSET_INFO *table_charset;
 
73
  /*
 
74
    If true, create_tmp_field called from create_tmp_table will convert
 
75
    all BIT fields to 64-bit longs. This is a workaround the limitation
 
76
    that MEMORY tables cannot index BIT columns.
 
77
  */
 
78
  bool bit_fields_as_long;
73
79
 
74
 
  Tmp_Table_Param() :
75
 
    keyinfo(0),
76
 
    copy_funcs(),
77
 
    save_copy_funcs(),
78
 
    copy_field(0),
79
 
    copy_field_end(0),
80
 
    save_copy_field(0),
81
 
    save_copy_field_end(0),
82
 
    group_buff(0),
83
 
    items_to_copy(0),
84
 
    recinfo(0),
85
 
    start_recinfo(0),
86
 
    end_write_records(0),
87
 
    field_count(0),
88
 
    sum_func_count(0),
89
 
    func_count(0),
90
 
    hidden_field_count(0),
 
80
  Tmp_Table_Param()
 
81
    :copy_field(0),
91
82
    group_parts(0),
92
83
    group_length(0),
93
84
    group_null_parts(0),
94
 
    quick_group(0),
95
 
    using_indirect_summary_function(false),
96
85
    schema_table(false),
97
86
    precomputed_group_by(false),
98
87
    force_copy_fields(false),
99
88
    convert_blob_length(0),
100
 
    table_charset(0)
 
89
    bit_fields_as_long(false)
101
90
  {}
102
 
 
103
91
  ~Tmp_Table_Param()
104
92
  {
105
93
    cleanup();