~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/my_handler.h

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

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