From d137b4dbbac1ce53906ca15817334e3a4daa2655 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Wed, 23 Nov 2016 17:33:40 +0100 Subject: MDEV-5800 MyISAM support for indexed vcols * don't issue an error for ER_KEY_BASED_ON_GENERATED_VIRTUAL_COLUMN * support keyread on vcols * callback into the server to compute vcol values from mi_check/mi_repair * DMLs just work. Automatically. --- include/myisamchk.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/myisamchk.h') diff --git a/include/myisamchk.h b/include/myisamchk.h index e833a816b05..643241d84e5 100644 --- a/include/myisamchk.h +++ b/include/myisamchk.h @@ -58,6 +58,7 @@ typedef enum MI_STATS_METHOD_IGNORE_NULLS } enum_handler_stats_method; +struct st_myisam_info; typedef struct st_handler_check_param { @@ -114,6 +115,8 @@ typedef struct st_handler_check_param uint progress_counter; /* How often to call _report_progress() */ ulonglong progress, max_progress; + int (*fix_record)(struct st_myisam_info *info, uchar *record, int keynum); + mysql_mutex_t print_msg_mutex; my_bool need_print_msg_lock; myf malloc_flags; -- cgit v1.2.1