diff options
author | unknown <ramil@mysql.com> | 2005-09-05 16:41:01 +0500 |
---|---|---|
committer | unknown <ramil@mysql.com> | 2005-09-05 16:41:01 +0500 |
commit | 43b0448081cc5a2e79e598c32f96a95a85fd4aed (patch) | |
tree | 2493207f50f811c98d8997a5e70c1942b480f720 /myisam/myisamdef.h | |
parent | aea2e857e0ca3959addca37c58f04ddb8d27a54a (diff) | |
parent | 943f8335f11c30b6188589e484ceacd1b1b786f8 (diff) | |
download | mariadb-git-43b0448081cc5a2e79e598c32f96a95a85fd4aed.tar.gz |
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/usr/home/ram/work/4.1.b4214
myisam/mi_check.c:
Auto merged
myisam/myisampack.c:
Auto merged
Diffstat (limited to 'myisam/myisamdef.h')
-rw-r--r-- | myisam/myisamdef.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/myisam/myisamdef.h b/myisam/myisamdef.h index a41bcf5449b..15b310e907e 100644 --- a/myisam/myisamdef.h +++ b/myisam/myisamdef.h @@ -149,6 +149,7 @@ typedef struct st_mi_blob /* Info of record */ typedef struct st_mi_isam_pack { ulong header_length; uint ref_length; + uchar version; } MI_PACK; @@ -669,7 +670,9 @@ extern void _myisam_log_record(enum myisam_log_commands command,MI_INFO *info, int result); extern my_bool _mi_memmap_file(MI_INFO *info); extern void _mi_unmap_file(MI_INFO *info); -extern uint save_pack_length(byte *block_buff,ulong length); +extern uint save_pack_length(uint version, byte *block_buff, ulong length); +extern uint read_pack_length(uint version, const uchar *buf, ulong *length); +extern uint calc_pack_length(uint version, ulong length); uint mi_state_info_write(File file, MI_STATE_INFO *state, uint pWrite); char *mi_state_info_read(char *ptr, MI_STATE_INFO *state); |