summaryrefslogtreecommitdiff
path: root/myisam
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
commite637fe922a384ce695692046ab4e1a2dcad8d740 (patch)
treeea99fe3617cc6e96ead9347600e0b20c602e3c1e /myisam
parent65ba6aa2934e465fa31ed6185dcd22c714bc1403 (diff)
downloadmariadb-git-e637fe922a384ce695692046ab4e1a2dcad8d740.tar.gz
Fixed a probable typo. Unfortunately we will not be able to test this ;-)
Diffstat (limited to 'myisam')
-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;