~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.h

  • Committer: Brian Aker
  • Date: 2010-07-16 19:54:08 UTC
  • mfrom: (1660.1.4 rollup)
  • Revision ID: brian@gaz-20100716195408-8fiuxwmy4mpqq4ko
Rollup patch + fix for not intel processors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
   * @note You can use table->in_use as replacement for current_session member
97
97
   * only inside of val_*() and store() members (e.g. you can't use it in cons)
98
98
   */
 
99
private:
99
100
  Table *table;
 
101
public:
100
102
  Table *getTable()
101
103
  {
102
104
    assert(table);
103
105
    return table;
104
106
  }
105
107
 
 
108
  Table *getTable() const
 
109
  {
 
110
    assert(table);
 
111
    return table;
 
112
  }
 
113
 
 
114
  void setTable(Table *table_arg)
 
115
  {
 
116
    table= table_arg;
 
117
  }
 
118
 
106
119
  Table *orig_table; /**< Pointer to the original Table. @TODO What is "the original table"? */
107
120
  const char **table_name; /**< Pointer to the name of the table. @TODO This is redundant with Table::table_name. */
108
121
  const char *field_name; /**< Name of the field */