~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/heap/ha_heap.cc

  • Committer: Brian Aker
  • Date: 2009-11-18 06:11:12 UTC
  • mfrom: (1220.1.10 staging)
  • Revision ID: brian@gaz-20091118061112-tyf4qrfr5v7i946b
Monty + Brian Merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
    addAlias("HEAP");
47
47
  }
48
48
 
 
49
  uint64_t table_flags() const
 
50
  {
 
51
    return (HA_FAST_KEY_READ |
 
52
            HA_NO_BLOBS | HA_NULL_IN_KEY |
 
53
            HA_NO_TRANSACTIONS |
 
54
            HA_HAS_RECORDS |
 
55
            HA_STATS_RECORDS_IS_EXACT);
 
56
  }
 
57
 
49
58
  virtual Cursor *create(TableShare &table,
50
59
                          MEM_ROOT *mem_root)
51
60
  {
95
104
                                     const bool,
96
105
                                     drizzled::message::Table *table_proto)
97
106
{
98
 
  int error= 1;
 
107
  int error= ENOENT;
99
108
  ProtoCache::iterator iter;
100
109
 
101
110
  pthread_mutex_lock(&proto_cache_mutex);
920
929
}
921
930
 
922
931
 
923
 
drizzle_declare_plugin(heap)
 
932
drizzle_declare_plugin
924
933
{
925
934
  "MEMORY",
926
935
  "1.0",