summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authoringo@mysql.com <>2004-07-26 13:58:08 +0200
committeringo@mysql.com <>2004-07-26 13:58:08 +0200
commitd2c8d8d6095ed226e670681b533dd7e879bbfbf8 (patch)
treeea99fe3617cc6e96ead9347600e0b20c602e3c1e /myisam
parentb9512a55aa2ff17559886447a4b372179002568f (diff)
downloadmariadb-git-d2c8d8d6095ed226e670681b533dd7e879bbfbf8.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;