diff options
Diffstat (limited to 'isam/open.c')
-rw-r--r-- | isam/open.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/isam/open.c b/isam/open.c index 48fab27cac1..9dc27981507 100644 --- a/isam/open.c +++ b/isam/open.c @@ -415,6 +415,9 @@ static void setup_functions(register ISAM_SHARE *share) share->read_rnd=_nisam_read_rnd_dynamic_record; share->delete_record=_nisam_delete_dynamic_record; share->compare_record=_nisam_cmp_dynamic_record; + + /* add bits used to pack data to pack_reclength for faster allocation */ + share->base.pack_reclength+= share->base.pack_bits; if (share->base.blobs) { share->update_record=_nisam_update_blob_record; |