summaryrefslogtreecommitdiff
path: root/myisam/mi_extra.c
diff options
context:
space:
mode:
authorserg@sergbook.mysql.com <>2002-07-14 13:51:03 +0200
committerserg@sergbook.mysql.com <>2002-07-14 13:51:03 +0200
commit3f6491e3eb2ef6708dc94495c72d5c11d4428c4f (patch)
tree2226fafc5c59c90673606fdbec9b7fb6bad5fab8 /myisam/mi_extra.c
parent0ae810ae85f2eadb842491f544ac8a6d61b0fd26 (diff)
downloadmariadb-git-3f6491e3eb2ef6708dc94495c72d5c11d4428c4f.tar.gz
yet another generalization for rec_buff handling, MI_INFO doesn't need rec_alloc anymore
Diffstat (limited to 'myisam/mi_extra.c')
-rw-r--r--myisam/mi_extra.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/myisam/mi_extra.c b/myisam/mi_extra.c
index a1fe68f7087..9e514a6c055 100644
--- a/myisam/mi_extra.c
+++ b/myisam/mi_extra.c
@@ -328,11 +328,7 @@ int mi_extra(MI_INFO *info, enum ha_extra_function function)
}
}
if (share->base.blobs)
- {
- my_free(info->rec_alloc,MYF(MY_ALLOW_ZERO_PTR));
- info->rec_alloc=info->rec_buff=0;
- mi_fix_rec_buff_for_blob(info, 0);
- }
+ mi_fix_rec_buff_for_blob(info, -1);
break;
case HA_EXTRA_NORMAL: /* Theese isn't in use */
info->quick_mode=0;