summaryrefslogtreecommitdiffstats
path: root/storage/myisam/sort.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/myisam/sort.c')
-rw-r--r--storage/myisam/sort.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/storage/myisam/sort.c b/storage/myisam/sort.c
index 375c1840..0fb475c4 100644
--- a/storage/myisam/sort.c
+++ b/storage/myisam/sort.c
@@ -529,6 +529,11 @@ pthread_handler_t thr_find_all_keys(void *arg)
{
MI_SORT_PARAM *sort_param= (MI_SORT_PARAM*) arg;
my_bool error= FALSE;
+
+ MI_SORT_INFO *si= sort_param->sort_info;
+ if (si->param->init_fix_record)
+ si->param->init_fix_record(si->info->external_ref);
+
/* If my_thread_init fails */
if (my_thread_init() || thr_find_all_keys_exec(sort_param))
error= TRUE;