~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/memory/heap_priv.h

  • Committer: Brian Aker
  • Date: 2011-02-04 09:29:39 UTC
  • mfrom: (2139.3.6 catalogs)
  • mto: This revision was merged to the branch mainline in revision 2144.
  • Revision ID: brian@tangent.org-20110204092939-nlwrimamw0fxxhgl
Main bit of this patch is that Inno now just uses the identifier so we only
have one spot to make changes for paths.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#ifndef PLUGIN_MEMORY_HEAP_PRIV_H
18
18
#define PLUGIN_MEMORY_HEAP_PRIV_H
19
19
 
20
 
#include <config.h>
 
20
#include "config.h"
21
21
#include <drizzled/base.h>
22
22
 
23
 
#include <drizzled/internal/my_sys.h>
24
 
#include <drizzled/charset_info.h>
25
 
#include <drizzled/internal/my_pthread.h>
 
23
#include "drizzled/internal/my_sys.h"
 
24
#include "drizzled/charset_info.h"
 
25
#include "drizzled/internal/my_pthread.h"
26
26
#include "heap.h"                       /* Structs & some defines */
27
 
#include <drizzled/tree.h>
 
27
#include "drizzled/tree.h"
28
28
#include <list>
29
29
 
30
30
#include <boost/thread/mutex.hpp>
39
39
 
40
40
#define CHUNK_STATUS_DELETED 0    /* this chunk has been deleted and can be reused */
41
41
#define CHUNK_STATUS_ACTIVE  1    /* this chunk represents the first part of a live record */
 
42
#define CHUNK_STATUS_LINKED  2    /* this chunk is a continuation from another chunk (part of chunkset) */
42
43
 
43
44
        /* Some extern variables */
44
45
 
55
56
 
56
57
#define get_chunk_status(info,ptr) (ptr[(info)->offset_status])
57
58
 
 
59
#define get_chunk_count(info,rec_length) ((rec_length + (info)->chunk_dataspace_length - 1) / (info)->chunk_dataspace_length)
 
60
 
58
61
typedef struct st_hp_hash_info
59
62
{
60
63
  struct st_hp_hash_info *next_key;