~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/ha_heap.cc

  • Committer: Monty Taylor
  • Date: 2008-12-16 02:39:00 UTC
  • mto: (685.1.38 devel) (713.1.1 devel)
  • mto: This revision was merged to the branch mainline in revision 713.
  • Revision ID: monty@inaugust.com-20081216023900-w498thzxq8lkk7a5
Turned off stdinc - and then fixed the carnage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
#define DRIZZLE_SERVER 1
17
17
#include <drizzled/server_includes.h>
 
18
#include "heap.h"
 
19
 
18
20
#include <storage/heap/ha_heap.h>
19
21
#include <storage/heap/heapdef.h>
20
22
#include <drizzled/error.h>
24
26
#include <drizzled/field/timestamp.h>
25
27
#include <drizzled/field/varstring.h>
26
28
 
 
29
 
27
30
pthread_mutex_t THR_LOCK_heap= PTHREAD_MUTEX_INITIALIZER;
28
31
 
29
32
static handler *heap_create_handler(handlerton *hton,
821
824
}
822
825
 
823
826
 
 
827
int ha_heap::cmp_ref(const unsigned char *ref1, const unsigned char *ref2)
 
828
{
 
829
  return memcmp(ref1, ref2, sizeof(HEAP_PTR));
 
830
}
 
831
 
 
832
 
824
833
bool ha_heap::check_if_incompatible_data(HA_CREATE_INFO *info,
825
834
                                         uint32_t table_changes)
826
835
{