~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/singular.cc

  • Committer: Brian Aker
  • Date: 2011-01-10 22:11:30 UTC
  • mto: (2077.1.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 2078.
  • Revision ID: brian@tangent.org-20110110221130-wqvw2wnb14is5kqc
Clear up naming convention for table type.

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