diff options
Diffstat (limited to 'include/my_handler.h')
-rw-r--r-- | include/my_handler.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/my_handler.h b/include/my_handler.h index ddbb33cd93f..0fa30f580b6 100644 --- a/include/my_handler.h +++ b/include/my_handler.h @@ -23,7 +23,7 @@ #include "m_ctype.h" #include "myisampack.h" -typedef struct st_MI_KEYSEG /* Key-portion */ +typedef struct st_HA_KEYSEG /* Key-portion */ { uint8 type; /* Type of key (for sort) */ uint8 language; @@ -34,7 +34,7 @@ typedef struct st_MI_KEYSEG /* Key-portion */ uint32 start; /* Start of key in record */ uint32 null_pos; /* position to NULL indicator */ CHARSET_INFO *charset; -} MI_KEYSEG; +} HA_KEYSEG; #define get_key_length(length,key) \ { if ((uchar) *(key) != 255) \ @@ -52,11 +52,11 @@ typedef struct st_MI_KEYSEG /* Key-portion */ extern int _mi_compare_text(CHARSET_INFO *, uchar *, uint, uchar *, uint , my_bool); -extern int _mi_key_cmp(register MI_KEYSEG *keyseg, register uchar *a, +extern int ha_key_cmp(register HA_KEYSEG *keyseg, register uchar *a, register uchar *b, uint key_length, uint nextflag, uint *diff_pos); -extern int hp_rb_key_cmp(register MI_KEYSEG *keyseg, register uchar *a, +extern int hp_rb_key_cmp(register HA_KEYSEG *keyseg, register uchar *a, register uchar *b, uint key_length, uint nextflag, uint *diff_pos); |