~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/temporary.h

  • Committer: Brian Aker
  • Date: 2010-10-20 20:26:18 UTC
  • mfrom: (1859.2.13 refactor)
  • Revision ID: brian@tangent.org-20101020202618-9222n39lm329urv5
Merge for Brian 

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
class Temporary : public Table
31
31
{
 
32
  TableShare *_share; /**< Pointer to the shared metadata about the table */
 
33
 
32
34
public:
33
35
  Temporary() :
34
36
    Table()
38
40
  ~Temporary()
39
41
  {
40
42
  }
 
43
 
 
44
  virtual const TableShare *getShare() const { assert(_share); return _share; } /* Get rid of this long term */
 
45
  virtual TableShare *getMutableShare() { assert(_share); return _share; } /* Get rid of this long term */
 
46
  virtual bool hasShare() const { return _share ? true : false ; } /* Get rid of this long term */
 
47
  virtual void setShare(TableShare *new_share) { _share= new_share; } /* Get rid of this long term */
41
48
};
42
49
 
43
50
} /* namespace table */