~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/temporary.h

  • Committer: Stewart Smith
  • Date: 2010-11-03 03:30:27 UTC
  • mto: (1902.1.1 build) (1910.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1903.
  • Revision ID: stewart@flamingspork.com-20101103033027-lskb6gxwwforfz71
fix docs warning: underline/overline too short for replace.rst

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
  TableShare *_share; /**< Pointer to the shared metadata about the table */
33
33
 
34
34
public:
35
 
  Temporary(const TableIdentifier::Type type_arg,
36
 
            const TableIdentifier &identifier,
 
35
  Temporary(TableIdentifier::Type type_arg,
 
36
             TableIdentifier &identifier,
37
37
             char *path_arg, uint32_t path_length_arg) :
38
38
    Table()
39
39
  {
48
48
  virtual TableShare *getMutableShare() { assert(_share); return _share; } /* Get rid of this long term */
49
49
  virtual bool hasShare() const { return _share ? true : false ; } /* Get rid of this long term */
50
50
  virtual void setShare(TableShare *new_share) { _share= new_share; } /* Get rid of this long term */
51
 
 
52
 
  void release(void)
53
 
  {
54
 
    delete _share;
55
 
    _share= NULL;
56
 
  }
57
51
};
58
52
 
59
 
 
60
53
} /* namespace table */
61
54
} /* namespace drizzled */
62
55