~skinny.moey/drizzle/fix_global_stats

« back to all changes in this revision

Viewing changes to drizzled/table_share.h

  • Committer: Brian Aker
  • Date: 2010-06-11 17:26:39 UTC
  • mto: This revision was merged to the branch mainline in revision 1610.
  • Revision ID: brian@gaz-20100611172639-e9q2sliqizeoz4yd
Update for having share declared type.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
{
57
57
  typedef std::vector<std::string> StringVector;
58
58
public:
59
 
  TableShare();
 
59
  TableShare(TableIdentifier::Type type_arg= message::Table::STANDARD);
60
60
 
61
 
  TableShare(const char *key,
 
61
  TableShare(TableIdentifier::Type type_arg,
 
62
             const char *key,
62
63
             uint32_t key_length,
63
64
             const char *new_table_name,
64
65
             const char *new_path);
65
66
 
66
 
  TableShare(char *key, uint32_t key_length, char *path_arg= NULL, uint32_t path_length_arg= 0);
 
67
  TableShare(TableIdentifier &identifier);
 
68
 
 
69
  TableShare(TableIdentifier::Type type_arg, char *key, uint32_t key_length, char *path_arg= NULL, uint32_t path_length_arg= 0);
67
70
 
68
71
  ~TableShare() 
69
72
  {
485
488
    return tmp_table;
486
489
  }
487
490
 
488
 
  TableIdentifier::Type setType(TableIdentifier::Type arg)
489
 
  {
490
 
    return tmp_table= arg;
491
 
  }
492
 
 
493
491
private:
494
492
  uint32_t ref_count;       /* How many Table objects uses this */
495
493
public: