diff options
author | unknown <serg@serg.mylan> | 2004-01-20 09:05:37 +0100 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2004-01-20 09:05:37 +0100 |
commit | 17bfc6735ccd1e767fbdc7b9b796f0652bb33d1a (patch) | |
tree | 899c7b90b7eb09c15d506c7a4e3177ac9075b59c /myisam/myisamdef.h | |
parent | 4681ca8dfd8076f2a8b9564665f388fe9e85a1be (diff) | |
download | mariadb-git-17bfc6735ccd1e767fbdc7b9b796f0652bb33d1a.tar.gz |
two bugs in parallel repair fixed
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 e1df1d73191..51a2dd3a2b3 100644 --- a/myisam/myisamdef.h +++ b/myisam/myisamdef.h @@ -244,6 +244,8 @@ struct st_myisam_info { my_off_t last_search_keypage; /* Last keypage when searching */ my_off_t dupp_key_pos; ha_checksum checksum; + /* QQ: the folloing two xxx_length fields should be removed, + as they are not compatible with parallel repair */ ulong packed_length,blob_length; /* Length of found, packed record */ int dfile; /* The datafile */ uint opt_flag; /* Optim. for space/speed */ @@ -536,7 +538,8 @@ extern byte *mi_alloc_rec_buff(MI_INFO *,ulong, byte**); extern ulong _mi_rec_unpack(MI_INFO *info,byte *to,byte *from, ulong reclength); -extern my_bool _mi_rec_check(MI_INFO *info,const char *record, byte *packpos); +extern my_bool _mi_rec_check(MI_INFO *info,const char *record, byte *packpos, + ulong reclength); extern int _mi_write_part_record(MI_INFO *info,my_off_t filepos,ulong length, my_off_t next_filepos,byte **record, ulong *reclength,int *flag); |