~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_create.c

  • Committer: Brian Aker
  • Date: 2009-03-20 22:16:09 UTC
  • mfrom: (937.2.14 sparc)
  • Revision ID: brian@tangent.org-20090320221609-8daq0o52mnm23knn
Merge from Stewart.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
                        uint32_t max_records);
26
26
 
27
27
#define FIXED_REC_OVERHEAD (sizeof(unsigned char))
28
 
#define VARIABLE_REC_OVERHEAD (sizeof(unsigned char**) + sizeof(unsigned char))
 
28
#define VARIABLE_REC_OVERHEAD (sizeof(unsigned char**) + ALIGN_SIZE(sizeof(unsigned char)))
29
29
 
30
30
/* Minimum size that a chunk can take, 12 bytes on 32bit, 24 bytes on 64bit */
31
31
#define VARIABLE_MIN_CHUNK_SIZE \