~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/ha_heap.cc

  • Committer: Brian Aker
  • Date: 2008-11-22 02:53:34 UTC
  • Revision ID: brian@tangent.org-20081122025334-me4nekbor2xk3iq8
Refactor out dead mutexes

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <drizzled/field/timestamp.h>
24
24
#include <drizzled/field/varstring.h>
25
25
 
 
26
pthread_mutex_t THR_LOCK_heap= PTHREAD_MUTEX_INITIALIZER;
 
27
 
26
28
static handler *heap_create_handler(handlerton *hton,
27
29
                                    TABLE_SHARE *table,
28
30
                                    MEM_ROOT *mem_root);
29
31
 
30
32
int heap_deinit(void *)
31
33
{
 
34
  pthread_mutex_init(&THR_LOCK_heap,MY_MUTEX_INIT_FAST);
 
35
 
32
36
  return hp_panic(HA_PANIC_CLOSE);
33
37
}
34
38