~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/heap/hp_open.cc

Merge Stewart's dead code removal

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#include "heap_priv.h"
19
19
 
20
20
#include <string.h>
21
 
#include <cstdlib>
22
21
 
23
22
using namespace std;
24
23
 
84
83
  pthread_mutex_lock(&THR_LOCK_heap);
85
84
  if (!(share= hp_find_named_heap(name)))
86
85
  {
87
 
    errno= ENOENT;
 
86
    my_errno= ENOENT;
88
87
    pthread_mutex_unlock(&THR_LOCK_heap);
89
88
    return(0);
90
89
  }