summaryrefslogtreecommitdiff
path: root/myisam/mi_info.c
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-05-01 15:41:59 +0200
committerunknown <serg@serg.mylan>2004-05-01 15:41:59 +0200
commit66f2d8bffa093629d90244e4c9aca7a5d1542ded (patch)
tree2102c0bebbd328026c172370dd5c0a06449b4b9e /myisam/mi_info.c
parent4173696d65b6688c6864cfb6265880237f57d271 (diff)
downloadmariadb-git-66f2d8bffa093629d90244e4c9aca7a5d1542ded.tar.gz
myisam_data_pointer_size
include/mysql.h: compatibility fix
Diffstat (limited to 'myisam/mi_info.c')
-rw-r--r--myisam/mi_info.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/myisam/mi_info.c b/myisam/mi_info.c
index f4eace198f9..cf63ef63618 100644
--- a/myisam/mi_info.c
+++ b/myisam/mi_info.c
@@ -75,7 +75,8 @@ int mi_status(MI_INFO *info, register MI_ISAMINFO *x, uint flag)
x->filenr = info->dfile;
x->options = share->options;
x->create_time=share->state.create_time;
- x->reflength= mi_get_pointer_length(share->base.max_data_file_length,4);
+ x->reflength= mi_get_pointer_length(share->base.max_data_file_length,
+ myisam_data_pointer_size);
x->record_offset= ((share->options &
(HA_OPTION_PACK_RECORD | HA_OPTION_COMPRESS_RECORD)) ?
0L : share->base.pack_reclength);