summaryrefslogtreecommitdiff
path: root/myisam/mi_search.c
diff options
context:
space:
mode:
authorunknown <ingo@mysql.com>2004-07-26 13:58:08 +0200
committerunknown <ingo@mysql.com>2004-07-26 13:58:08 +0200
commitfc6511ce59aa2a37b8685851363b16c171ab1bb1 (patch)
treeea99fe3617cc6e96ead9347600e0b20c602e3c1e /myisam/mi_search.c
parentf8afa5253d4bfcad508b0e325a24d6e1f3e3a6a7 (diff)
downloadmariadb-git-fc6511ce59aa2a37b8685851363b16c171ab1bb1.tar.gz
Fixed a probable typo. Unfortunately we will not be able to test this ;-)
Diffstat (limited to 'myisam/mi_search.c')
-rw-r--r--myisam/mi_search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_search.c b/myisam/mi_search.c
index b98ee351195..ce228c5ba5d 100644
--- a/myisam/mi_search.c
+++ b/myisam/mi_search.c
@@ -540,7 +540,7 @@ my_off_t _mi_dpos(MI_INFO *info, uint nod_flag, uchar *after_key)
after_key-=(nod_flag + info->s->rec_reflength);
switch (info->s->rec_reflength) {
#if SIZEOF_OFF_T > 4
- case 8: pos= (my_off_t) mi_uint5korr(after_key); break;
+ case 8: pos= (my_off_t) mi_uint8korr(after_key); break;
case 7: pos= (my_off_t) mi_uint7korr(after_key); break;
case 6: pos= (my_off_t) mi_uint6korr(after_key); break;
case 5: pos= (my_off_t) mi_uint5korr(after_key); break;