~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/heapdef.h

  • Committer: Padraig O'Sullivan
  • Date: 2009-03-28 03:32:31 UTC
  • mto: (968.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 971.
  • Revision ID: osullivan.padraig@gmail.com-20090328033231-71zz58278t2wn78d
Initial work on removing LIST from the heap storage engine.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include <mysys/my_pthread.h>
26
26
#include "heap.h"                       /* Structs & some defines */
27
27
#include <mysys/my_tree.h>
 
28
#include <list>
28
29
 
29
30
/*
30
31
  When allocating keys /rows in the internal block structure, do it
47
48
 
48
49
        /* Some extern variables */
49
50
 
50
 
extern LIST *heap_open_list,*heap_share_list;
 
51
extern std::list<HP_SHARE *> heap_share_list;
 
52
extern std::list<HP_INFO *> heap_open_list;
51
53
 
52
54
#define test_active(info) \
53
55
if (!(info->update & HA_STATE_AKTIV))\