~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/tmp_table_param.h

  • Committer: Brian Aker
  • Date: 2009-05-21 18:09:02 UTC
  • mfrom: (1030.1.3 merge)
  • Revision ID: brian@gaz-20090521180902-5vrm1b0vbe5cby1j
MergeĀ forĀ Brian

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
  void operator=(Tmp_Table_Param &);
36
36
 
37
37
public:
 
38
  KEY *keyinfo;
38
39
  List<Item> copy_funcs;
39
40
  List<Item> save_copy_funcs;
40
41
  Copy_field *copy_field, *copy_field_end;
42
43
  unsigned char     *group_buff;
43
44
  Item      **items_to_copy;                    /* Fields in tmp table */
44
45
  MI_COLUMNDEF *recinfo,*start_recinfo;
45
 
  KEY *keyinfo;
46
46
  ha_rows end_write_records;
47
 
  uint  field_count,sum_func_count,func_count;
 
47
  uint32_t      field_count;
 
48
  uint32_t      sum_func_count;
 
49
  uint32_t      func_count;
48
50
  uint32_t  hidden_field_count;
49
 
  uint  group_parts,group_length,group_null_parts;
50
 
  uint  quick_group;
51
 
  bool  using_indirect_summary_function;
52
 
  /* If >0 convert all blob fields to varchar(convert_blob_length) */
53
 
  uint32_t  convert_blob_length;
54
 
  const CHARSET_INFO *table_charset;
 
51
  uint32_t      group_parts,group_length,group_null_parts;
 
52
  uint32_t      quick_group;
 
53
  bool using_indirect_summary_function;
55
54
  bool schema_table;
 
55
 
56
56
  /*
57
57
    True if GROUP BY and its aggregate functions are already computed
58
58
    by a table access method (e.g. by loose index scan). In this case
60
60
    aggregate functions as normal functions.
61
61
  */
62
62
  bool precomputed_group_by;
 
63
 
63
64
  bool force_copy_fields;
 
65
 
 
66
  /* If >0 convert all blob fields to varchar(convert_blob_length) */
 
67
  uint32_t  convert_blob_length;
 
68
 
 
69
  const CHARSET_INFO *table_charset;
64
70
  /*
65
71
    If true, create_tmp_field called from create_tmp_table will convert
66
72
    all BIT fields to 64-bit longs. This is a workaround the limitation
69
75
  bool bit_fields_as_long;
70
76
 
71
77
  Tmp_Table_Param()
72
 
    :copy_field(0), group_parts(0),
73
 
     group_length(0), group_null_parts(0), convert_blob_length(0),
74
 
     schema_table(0), precomputed_group_by(0), force_copy_fields(0),
75
 
     bit_fields_as_long(0)
 
78
    :copy_field(0),
 
79
    group_parts(0),
 
80
    group_length(0),
 
81
    group_null_parts(0),
 
82
    schema_table(false),
 
83
    precomputed_group_by(false),
 
84
    force_copy_fields(false),
 
85
    convert_blob_length(0),
 
86
    bit_fields_as_long(false)
76
87
  {}
77
88
  ~Tmp_Table_Param()
78
89
  {