~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_share.h

  • Committer: Stewart Smith
  • Date: 2009-10-27 02:01:17 UTC
  • mto: This revision was merged to the branch mainline in revision 1196.
  • Revision ID: stewart@flamingspork.com-20091027020117-xdr11hnga92azo24
move key_block_size out of table_share and into the table proto. init it in parser

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
    return (table_proto) ? table_proto->options().comment().length() : 0; 
124
124
  }
125
125
 
 
126
  inline bool hasKeyBlockSize()
 
127
  {
 
128
    return (table_proto) ? table_proto->options().has_key_block_size() : false;
 
129
  }
 
130
 
 
131
  inline uint32_t getKeyBlockSize()
 
132
  {
 
133
    return (table_proto) ? table_proto->options().key_block_size() : 0;
 
134
  }
 
135
 
126
136
  inline uint64_t getMaxRows()
127
137
  {
128
138
    return max_rows;
141
151
  enum tmp_table_type tmp_table;
142
152
 
143
153
  uint32_t ref_count;       /* How many Table objects uses this */
144
 
  uint32_t key_block_size;                      /* create key_block_size, if used */
145
154
  uint32_t null_bytes;
146
155
  uint32_t last_null_bit_pos;
147
156
  uint32_t fields;                              /* Number of fields */