~vkolesnikov/pbxt/pbxt-preload-test-bug

« back to all changes in this revision

Viewing changes to src/ha_pbxt.h

  • Committer: Paul McCullagh
  • Date: 2009-11-11 10:20:47 UTC
  • Revision ID: paul.mccullagh@primebase.org-20091111102047-r67bigvvfjzk2qbm
Further changes for Drizzle (thanks Padraig)

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include <mysys/thr_lock.h>
31
31
#include <drizzled/cursor.h>
32
32
 
33
 
using drizzled::plugin::StorageEngine;
34
 
 
35
33
#else
36
34
#include "mysql_priv.h"
37
35
#endif
55
53
 
56
54
#ifdef DRIZZLED
57
55
 
58
 
class PBXTStorageEngine : public StorageEngine {
 
56
class PBXTStorageEngine : public drizzled::plugin::StorageEngine 
 
57
{
59
58
 
60
59
        int delete_system_table(const char *table_path);
61
60
        int rename_system_table(const char * from, const char * to);
62
61
 
63
62
public:
64
63
        PBXTStorageEngine(std::string name_arg)
65
 
        : StorageEngine(name_arg, HTON_NO_FLAGS) {}
 
64
        : drizzled::plugin::StorageEngine(name_arg, HTON_NO_FLAGS) {}
66
65
 
67
66
        void operator delete(void *) {}
68
67
        void operator delete[] (void *) {}
74
73
        /* override */ void drop_database(char *);
75
74
        /* override */ bool show_status(Session *, stat_print_fn *, enum ha_stat_type);
76
75
        /* override */ const char **bas_ext() const;
77
 
        /* override */ int createTableImplementation(Session *session, const char *table_name, 
78
 
                                Table *table_arg, HA_CREATE_INFO *create_info, drizzled::message::Table* proto);
79
 
        /* override */ int renameTableImplementation(Session *, const char *from, const char *to);
80
 
        /* override */ int deleteTableImplementation(Session* session, const std::string table_path);
 
76
        /* override */ int doCreateTable(Session *session, const char *table_name, 
 
77
                                Table &table_arg, HA_CREATE_INFO
 
78
                                &create_info, drizzled::message::Table &proto);
 
79
        /* override */ int doRenameTable(Session *, const char *from, const char *to);
 
80
        /* override */ int doDropTable(Session &session, std::string table_path);
81
81
};
82
82
 
83
83
typedef PBXTStorageEngine handlerton;