summaryrefslogtreecommitdiff
path: root/myisam/mi_search.c
diff options
context:
space:
mode:
Diffstat (limited to 'myisam/mi_search.c')
-rw-r--r--myisam/mi_search.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/myisam/mi_search.c b/myisam/mi_search.c
index 340d8ec2db6..7e8577c0656 100644
--- a/myisam/mi_search.c
+++ b/myisam/mi_search.c
@@ -1042,9 +1042,9 @@ uint _mi_keylength(MI_KEYDEF *keyinfo, register uchar *key)
*/
uint _mi_keylength_part(MI_KEYDEF *keyinfo, register uchar *key,
- MI_KEYSEG *end)
+ HA_KEYSEG *end)
{
- reg1 MI_KEYSEG *keyseg;
+ reg1 HA_KEYSEG *keyseg;
uchar *start= key;
for (keyseg=keyinfo->seg ; keyseg != end ; keyseg++)