~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/my_handler.h

mergeĀ lp:~linuxjedi/drizzle/trunk-remove-drizzleadmin

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
   Software Foundation, Inc., 51 Franklin Place - Suite 330, Boston,
16
16
   MA 02110-1301, USA */
17
17
 
18
 
#ifndef PLUGIN_MYISAM_MY_HANDLER_H
19
 
#define PLUGIN_MYISAM_MY_HANDLER_H
 
18
#pragma once
20
19
 
21
 
#include "drizzled/charset_info.h"
 
20
#include <drizzled/charset.h>
22
21
#include <plugin/myisam/myisampack.h>
23
22
 
24
23
/*
45
44
 
46
45
typedef struct st_HA_KEYSEG             /* Key-portion */
47
46
{
48
 
  const drizzled::CHARSET_INFO *charset;
 
47
  const drizzled::charset_info_st *charset;
49
48
  uint32_t start;                               /* Start of key in record */
50
49
  uint32_t null_pos;                    /* position to NULL indicator */
51
50
  uint16_t bit_pos;                       /* Position to bit part */
104
103
#define clr_rec_bits(bit_ptr, bit_ofs, bit_len) \
105
104
  set_rec_bits(0, bit_ptr, bit_ofs, bit_len)
106
105
 
107
 
extern int ha_compare_text(const drizzled::CHARSET_INFO * const, unsigned char *, uint, unsigned char *, uint, bool, bool);
 
106
extern int ha_compare_text(const drizzled::charset_info_st * const, unsigned char *, uint, unsigned char *, uint, bool, bool);
108
107
 
109
108
extern HA_KEYSEG *ha_find_null(HA_KEYSEG *keyseg, unsigned char *a);
110
109
void my_handler_error_register(void);
118
117
*/
119
118
#define portable_sizeof_char_ptr 8
120
119
 
121
 
#endif /* PLUGIN_MYISAM_MY_HANDLER_H */