~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/hash.h

Merge Stewart's dead code removal

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
/* Dynamic hashing of record with different key-length */
21
21
 
22
 
#ifndef DRIZZLED_MY_HASH_H
23
 
#define DRIZZLED_MY_HASH_H
24
 
 
25
 
#include "drizzled/dynamic_array.h"
26
 
 
27
 
namespace drizzled
28
 
{
29
 
 
30
 
typedef struct charset_info_st CHARSET_INFO;
 
22
#ifndef MYSYS_HASH_H
 
23
#define MYSYS_HASH_H
 
24
 
 
25
#include <mysys/my_sys.h>
 
26
 
 
27
#ifdef __cplusplus
 
28
extern "C" {
 
29
#endif
31
30
 
32
31
/*
33
32
  Overhead to store an element in hash
76
75
 
77
76
#define hash_inited(H) ((H)->array.buffer != 0)
78
77
 
79
 
} /* namespace drizzled */
80
 
 
81
 
#endif /* DRIZZLED_MY_HASH_H */
 
78
#ifdef __cplusplus
 
79
}
 
80
#endif
 
81
#endif /* MYSYS_HASH_H */