~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.h

  • Committer: Brian Aker
  • Date: 2010-06-04 23:50:43 UTC
  • mfrom: (1578.2.16 drizzle)
  • Revision ID: brian@gaz-20100604235043-61wg3zu6qhtkqiap
Merge for getTable() to have its own getField.* type methods. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
public:
64
64
  TableShare *s; /**< Pointer to the shared metadata about the table */
65
65
 
 
66
private:
66
67
  Field **field; /**< Pointer to fields collection */
 
68
public:
 
69
 
 
70
  Field **getFields() const
 
71
  {
 
72
    return field;
 
73
  }
 
74
 
 
75
  Field *getField(uint32_t arg) const
 
76
  {
 
77
    return field[arg];
 
78
  }
 
79
 
 
80
  void setFields(Field **arg)
 
81
  {
 
82
    field= arg;
 
83
  }
 
84
 
 
85
  void setFieldAt(Field *arg, uint32_t arg_pos)
 
86
  {
 
87
    field[arg_pos]= arg;
 
88
  }
67
89
 
68
90
  Cursor *cursor; /**< Pointer to the storage engine's Cursor managing this table */
69
91
  Table *next;