~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/instance/base.h

Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
  instance of table share per one table in the database.
24
24
*/
25
25
 
26
 
#ifndef DRIZZLED_TABLE_INSTANCE_BASE_H
27
 
#define DRIZZLED_TABLE_INSTANCE_BASE_H
 
26
#pragma once
28
27
 
29
28
#include <string>
30
29
 
183
182
    if (iter == name_hash.end())
184
183
        return 0;
185
184
 
186
 
    return (*iter).second;
 
185
    return iter->second;
187
186
  }
188
187
 
189
188
private:
719
718
                              Table &outparam,
720
719
                              bool &error_reported);
721
720
public:
722
 
  bool parse_table_proto(Session& session, message::Table &table);
 
721
  bool parse_table_proto(Session& session, const message::Table &table);
723
722
 
724
 
  virtual bool replicate() const
 
723
  virtual bool is_replicated() const
725
724
  {
726
725
    return false;
727
726
  }
729
728
 
730
729
} /* namespace drizzled */
731
730
 
732
 
#endif /* DRIZZLED_TABLE_INSTANCE_BASE_H */