~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/information_engine/information_engine.h

  • Committer: Monty Taylor
  • Date: 2010-02-04 08:14:46 UTC
  • mfrom: (1277.2.1 build) (1280.2.1 build)
  • mto: This revision was merged to the branch mainline in revision 1283.
  • Revision ID: mordred@inaugust.com-20100204081446-ldh9m486va30uap6
Put everything in drizzled into drizzled namespace.
Put internal stuff into drizzled::internal namespace.
Removed some cruft.
Now every symbol that is shipped in a header is in the drizzled namespace
and everything in the server that's not shipped is labeled internal. woot. 
Removed a lot of the extra extern "C" stuff that was in there. Less ugliness for
internal callbacks now for Sun Studio.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
public:
36
36
  InformationEngine(const std::string &name_arg)
37
37
    : drizzled::plugin::StorageEngine(name_arg,
38
 
                                      HTON_ALTER_NOT_SUPPORTED |
39
 
                                      HTON_SKIP_STORE_LOCK |
40
 
                                      HTON_HIDDEN |
41
 
                                      HTON_TEMPORARY_NOT_SUPPORTED)
 
38
                                      drizzled::HTON_ALTER_NOT_SUPPORTED |
 
39
                                      drizzled::HTON_SKIP_STORE_LOCK |
 
40
                                      drizzled::HTON_HIDDEN |
 
41
                                      drizzled::HTON_TEMPORARY_NOT_SUPPORTED)
42
42
  {
43
43
    pthread_mutex_init(&mutex, NULL);
44
44
  }
55
55
    drizzled::plugin::InfoSchemaTable *table;
56
56
 
57
57
  public:
58
 
    THR_LOCK lock;
 
58
    drizzled::THR_LOCK lock;
59
59
 
60
60
    Share(const std::string &in_name) :
61
61
      count(1)
143
143
  void freeShare(Share *share);
144
144
 
145
145
 
146
 
  int doCreateTable(Session *,
 
146
  int doCreateTable(drizzled::Session *,
147
147
                    const char *,
148
 
                    Table&,
 
148
                    drizzled::Table&,
149
149
                    drizzled::message::Table&)
150
150
  {
151
151
    return EPERM;
152
152
  }
153
153
 
154
 
  int doDropTable(Session&, const std::string) 
 
154
  int doDropTable(drizzled::Session&, const std::string) 
155
155
  { 
156
156
    return EPERM; 
157
157
  }
158
158
 
159
 
  virtual Cursor *create(TableShare &table, drizzled::memory::Root *mem_root);
 
159
  virtual drizzled::Cursor *create(drizzled::TableShare &table,
 
160
                                   drizzled::memory::Root *mem_root);
160
161
 
161
162
  const char **bas_ext() const 
162
163
  {
167
168
                       std::string &db, 
168
169
                       std::set<std::string> &set_of_names);
169
170
 
170
 
  int doGetTableDefinition(Session &session,
 
171
  int doGetTableDefinition(drizzled::Session &session,
171
172
                           const char *path,
172
173
                           const char *db,
173
174
                           const char *table_name,