~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/ha_heap.cc

  • Committer: Brian Aker
  • Date: 2009-04-01 01:25:04 UTC
  • mfrom: (968.2.27 mordred)
  • Revision ID: brian@tangent.org-20090401012504-mq9sxcmph5jc1fh6
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
class HeapEngine : public StorageEngine
38
38
{
39
39
public:
40
 
  HeapEngine(string name_arg) : StorageEngine(name_arg) {}
 
40
  HeapEngine(string name_arg) : StorageEngine(name_arg, HTON_CAN_RECREATE) {}
41
41
  virtual handler *create(TABLE_SHARE *table,
42
42
                          MEM_ROOT *mem_root)
43
43
  {
49
49
{
50
50
  StorageEngine **engine= static_cast<StorageEngine **>(p);
51
51
  *engine= new HeapEngine(engine_name);
52
 
 
53
 
  (*engine)->state=      SHOW_OPTION_YES;
54
 
  (*engine)->flags=      HTON_CAN_RECREATE;
55
 
 
56
52
  return 0;
57
53
}
58
54