~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/singular.cc

  • Committer: Brian Aker
  • Date: 2011-01-13 07:03:39 UTC
  • mfrom: (2077.1.3 drizzle)
  • Revision ID: brian@gir-3-20110113070339-bnfp4yvngb6frhru
Merge in all of the fixes for definition to instance.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
namespace table
37
37
{
38
38
 
39
 
Instance::Instance(Session *session, List<CreateField> &field_list) :
 
39
Singular::Singular(Session *session, List<CreateField> &field_list) :
40
40
  _share(message::Table::INTERNAL),
41
41
  _has_variable_width(false)
42
42
{
138
138
  }
139
139
}
140
140
 
141
 
bool Instance::open_tmp_table()
 
141
bool Singular::open_tmp_table()
142
142
{
143
143
  int error;
144
144
  
185
185
     true  - Error
186
186
*/
187
187
 
188
 
bool Instance::create_myisam_tmp_table(KeyInfo *keyinfo,
 
188
bool Singular::create_myisam_tmp_table(KeyInfo *keyinfo,
189
189
                                                 MI_COLUMNDEF *start_recinfo,
190
190
                                                 MI_COLUMNDEF **recinfo,
191
191
                                                 uint64_t options)
294
294
    a tmp_set bitmap to be used by things like filesort.
295
295
*/
296
296
 
297
 
void Instance::setup_tmp_table_column_bitmaps()
 
297
void Singular::setup_tmp_table_column_bitmaps()
298
298
{
299
299
  uint32_t field_count= getShare()->sizeFields();
300
300
 
308
308
  default_column_bitmaps();
309
309
}
310
310
 
311
 
Instance::~Instance()
 
311
Singular::~Singular()
312
312
{
313
313
  const char *save_proc_info;
314
314