summaryrefslogtreecommitdiff
path: root/myisam/mi_extra.c
diff options
context:
space:
mode:
authorunknown <serg@sergbook.mysql.com>2002-07-14 13:51:03 +0200
committerunknown <serg@sergbook.mysql.com>2002-07-14 13:51:03 +0200
commitd8093cf6ff17e146e33e91ba16f46992859a5cc9 (patch)
tree2226fafc5c59c90673606fdbec9b7fb6bad5fab8 /myisam/mi_extra.c
parent9a1ff13ea4a494d90b505b6d6e7b288d7390b5d0 (diff)
downloadmariadb-git-d8093cf6ff17e146e33e91ba16f46992859a5cc9.tar.gz
yet another generalization for rec_buff handling, MI_INFO doesn't need rec_alloc anymore
myisam/mi_close.c: yet another generalization for rec_buff handling myisam/mi_dynrec.c: yet another generalization for rec_buff handling myisam/mi_extra.c: yet another generalization for rec_buff handling myisam/mi_open.c: yet another generalization for rec_buff handling myisam/myisamdef.h: yet another generalization for rec_buff handling
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;