~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/singular.h

  • 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:
20
20
 
21
21
/* Structs that defines the Table */
22
22
 
23
 
#ifndef DRIZZLED_TABLE_INSTANCE_H
24
 
#define DRIZZLED_TABLE_INSTANCE_H
 
23
#ifndef DRIZZLED_TABLE_SINGULAR_H
 
24
#define DRIZZLED_TABLE_SINGULAR_H
25
25
 
26
26
namespace drizzled
27
27
{
29
29
namespace table
30
30
{
31
31
 
32
 
class Instance : public Table
 
32
class Singular : public Table
33
33
{
34
34
  TableShare _share;
35
35
  bool _has_variable_width;
36
36
 
37
37
public:
38
 
  Instance() :
 
38
  Singular() :
39
39
    _share(message::Table::INTERNAL),
40
40
    _has_variable_width(false)
41
41
  {
42
42
  }
43
43
 
44
 
  Instance(Session *session, List<CreateField> &field_list);
 
44
  Singular(Session *session, List<CreateField> &field_list);
45
45
 
46
46
  TableShare *getMutableShare(void)
47
47
  {
79
79
    _has_variable_width= true;
80
80
  }
81
81
 
82
 
  ~Instance();
 
82
  ~Singular();
83
83
};
84
84
 
85
85
} /* namespace table */
86
86
} /* namespace drizzled */
87
87
 
88
 
#endif /* DRIZZLED_TABLE_INSTANCE_H */
 
88
#endif /* DRIZZLED_TABLE_SINGULAR_H */