1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MI_KEYSEG -> HA_KEYSEG

_mi_key_cmp -> ha_key_cmp
This commit is contained in:
ram@gw.udmsearch.izhnet.ru
2002-04-25 15:10:29 +05:00
parent eab2893dac
commit b8a12a8cec
38 changed files with 106 additions and 105 deletions

View File

@ -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);