~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/rpl_tblmap.h

  • Committer: Brian Aker
  • Date: 2008-08-16 22:34:15 UTC
  • mto: This revision was merged to the branch mainline in revision 346.
  • Revision ID: brian@tangent.org-20080816223415-n24esdpfcqi4pwpy
Refactor around classes. TABLE_LIST has been factored out of table.h

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
  table_mapping();
62
62
  ~table_mapping();
63
63
 
64
 
  TABLE* get_table(ulong table_id);
 
64
  Table* get_table(ulong table_id);
65
65
 
66
 
  int       set_table(ulong table_id, TABLE* table);
 
66
  int       set_table(ulong table_id, Table* table);
67
67
  int       remove_table(ulong table_id);
68
68
  void      clear_tables();
69
69
  ulong     count() const { return m_table_ids.records; }
76
76
  struct entry { 
77
77
    ulong table_id;
78
78
    union {
79
 
      TABLE *table;
 
79
      Table *table;
80
80
      entry *next;
81
81
    };
82
82
  };
96
96
  */
97
97
  entry *m_free;
98
98
 
99
 
  /* Correspondance between an id (a number) and a TABLE object */
 
99
  /* Correspondance between an id (a number) and a Table object */
100
100
  HASH m_table_ids;
101
101
};
102
102