~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/my_handler.h

  • Committer: Lee Bieber
  • Date: 2011-03-29 22:31:41 UTC
  • mfrom: (2257.1.3 build)
  • Revision ID: kalebral@gmail.com-20110329223141-yxc22h3l2he58sk0
Merge Andrew - 743842: Build failure using GCC 4.6
Merge Stewart - 738022: CachedDirectory silently fails to add entries if stat() fails
Merge Olaf - Common fwd: add copyright, add more declaration

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_info.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 */