summaryrefslogtreecommitdiff
path: root/include/myisamchk.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-11-23 17:33:40 +0100
committerSergei Golubchik <serg@mariadb.org>2016-12-12 20:27:36 +0100
commitd137b4dbbac1ce53906ca15817334e3a4daa2655 (patch)
tree14d421c0a6327365d584942b1e9164a7ee5ca379 /include/myisamchk.h
parenta418c9920047d5222a0d065343347312127b780f (diff)
downloadmariadb-git-d137b4dbbac1ce53906ca15817334e3a4daa2655.tar.gz
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.
Diffstat (limited to 'include/myisamchk.h')
-rw-r--r--include/myisamchk.h3
1 files changed, 3 insertions, 0 deletions
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;