~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.h

  • Committer: patrick crews
  • Date: 2011-03-15 12:12:09 UTC
  • mfrom: (1099.4.216 drizzle)
  • Revision ID: gleebix@gmail.com-20110315121209-8g2tkf31w0rx9ter
Tags: 2011.03.12
Updated translations

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef DRIZZLED_PLUGIN_STORAGE_ENGINE_H
21
 
#define DRIZZLED_PLUGIN_STORAGE_ENGINE_H
 
20
#pragma once
22
21
 
23
22
 
24
23
#include <drizzled/cached_directory.h>
46
45
class TableList;
47
46
class Session;
48
47
class Cursor;
49
 
typedef struct st_hash HASH;
 
48
struct HASH;
50
49
 
51
50
class TableShare;
52
51
typedef bool (stat_print_fn)(Session *session, const char *type, uint32_t type_len,
282
281
  virtual int doCreateTable(Session &session,
283
282
                            Table &table_arg,
284
283
                            const drizzled::identifier::Table &identifier,
285
 
                            message::Table &message)= 0;
 
284
                            const message::Table &message)= 0;
286
285
 
287
286
  virtual int doRenameTable(Session &session,
288
287
                            const drizzled::identifier::Table &from, const drizzled::identifier::Table &to)= 0;
422
421
protected:
423
422
  static int deleteDefinitionFromPath(const drizzled::identifier::Table &identifier);
424
423
  static int renameDefinitionFromPath(const drizzled::identifier::Table &dest, const drizzled::identifier::Table &src);
425
 
  static int writeDefinitionFromPath(const drizzled::identifier::Table &identifier, message::Table &proto);
 
424
  static int writeDefinitionFromPath(const drizzled::identifier::Table &identifier, const message::Table &proto);
426
425
  static bool readTableFile(const std::string &path, message::Table &table_message);
427
426
 
428
427
public:
465
464
} /* namespace plugin */
466
465
} /* namespace drizzled */
467
466
 
468
 
#endif /* DRIZZLED_PLUGIN_STORAGE_ENGINE_H */