summaryrefslogtreecommitdiff
path: root/include/my_handler.h
diff options
context:
space:
mode:
authorunknown <ram@gw.udmsearch.izhnet.ru>2002-04-25 15:10:29 +0500
committerunknown <ram@gw.udmsearch.izhnet.ru>2002-04-25 15:10:29 +0500
commit3adee5046d70aa91fead16c289dd2a1b098b3dfd (patch)
treefae16eacfad983f202e51e4a4398875f00513543 /include/my_handler.h
parent139a73cade4827ca2a41d6cfc9db379b2c696fa3 (diff)
downloadmariadb-git-3adee5046d70aa91fead16c289dd2a1b098b3dfd.tar.gz
MI_KEYSEG -> HA_KEYSEG
_mi_key_cmp -> ha_key_cmp BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'include/my_handler.h')
-rw-r--r--include/my_handler.h8
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);