~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/memory/ha_heap.cc

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include <drizzled/field/varstring.h>
21
21
#include <drizzled/plugin/daemon.h>
22
22
#include <drizzled/plugin/storage_engine.h>
23
 
#include <drizzled/util/test.h>
24
 
#include <drizzled/session/table_messages.h>
25
 
#include <drizzled/statistics_variables.h>
26
 
#include <drizzled/system_variables.h>
27
23
 
28
24
#include <boost/thread/mutex.hpp>
29
25
 
32
28
 
33
29
#include <string>
34
30
 
 
31
 
35
32
using namespace drizzled;
36
33
using namespace std;
37
34
 
75
72
  int doCreateTable(Session &session,
76
73
                    Table &table_arg,
77
74
                    const identifier::Table &identifier,
78
 
                    const message::Table &create_proto);
 
75
                    message::Table &create_proto);
79
76
 
80
77
  /* For whatever reason, internal tables can be created by Cursor::open()
81
78
     for MEMORY.
85
82
  int heap_create_table(Session *session, const char *table_name,
86
83
                        Table *table_arg,
87
84
                        bool internal_table,
88
 
                        const message::Table &create_proto,
 
85
                        message::Table &create_proto,
89
86
                        HP_SHARE **internal_share);
90
87
 
91
88
  int doRenameTable(Session&, const identifier::Table &from, const identifier::Table &to);
107
104
  bool doDoesTableExist(Session& session, const identifier::Table &identifier);
108
105
  void doGetTableIdentifiers(CachedDirectory &directory,
109
106
                             const identifier::Schema &schema_identifier,
110
 
                             identifier::table::vector &set_of_identifiers);
 
107
                             identifier::Table::vector &set_of_identifiers);
111
108
};
112
109
 
113
110
void HeapEngine::doGetTableIdentifiers(CachedDirectory&,
114
111
                                       const identifier::Schema&,
115
 
                                       identifier::table::vector&)
 
112
                                       identifier::Table::vector&)
116
113
{
117
114
}
118
115
 
657
654
int HeapEngine::doCreateTable(Session &session,
658
655
                              Table &table_arg,
659
656
                              const identifier::Table &identifier,
660
 
                              const message::Table& create_proto)
 
657
                              message::Table& create_proto)
661
658
{
662
659
  int error;
663
660
  HP_SHARE *internal_share;
680
677
int HeapEngine::heap_create_table(Session *session, const char *table_name,
681
678
                                  Table *table_arg,
682
679
                                  bool internal_table, 
683
 
                                  const message::Table &create_proto,
 
680
                                  message::Table &create_proto,
684
681
                                  HP_SHARE **internal_share)
685
682
{
686
683
  uint32_t key, parts, mem_per_row_keys= 0;