summaryrefslogtreecommitdiff
path: root/sql/set_var.h
diff options
context:
space:
mode:
authorKristian Nielsen <knielsen@knielsen-hq.org>2017-03-24 12:06:29 +0100
committerKristian Nielsen <knielsen@knielsen-hq.org>2017-04-21 10:30:16 +0200
commit3cc89b3e85605ecb09b4b2222c8b0b8222a29fde (patch)
tree8f47b17503e935e0c38be9cd95c48976a6ffd37d /sql/set_var.h
parent4eebf431b07b93cc05e1b15f1e77b6cfcdcf737f (diff)
downloadmariadb-git-3cc89b3e85605ecb09b4b2222c8b0b8222a29fde.tar.gz
MDEV-12179: Per-engine mysql.gtid_slave_pos table
Intermediate commit. Ignore unknown engines in --gtid-pos-auto-engines command-line options (but not SET GLOBAL). This seems useful, to allow a default that auto-creates the gtid pos table for engines like TokuDB and MyRocks (which greatly benefit from such), but does not prevent server startup when those engines are not available.
Diffstat (limited to 'sql/set_var.h')
-rw-r--r--sql/set_var.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/set_var.h b/sql/set_var.h
index a6f0cb02fe8..cdd0f7da1ba 100644
--- a/sql/set_var.h
+++ b/sql/set_var.h
@@ -423,7 +423,8 @@ int sys_var_init();
uint sys_var_elements();
int sys_var_add_options(DYNAMIC_ARRAY *long_options, int parse_flags);
void sys_var_end(void);
-plugin_ref *resolve_engine_list(const char *str_arg, size_t str_arg_len);
+plugin_ref *resolve_engine_list(const char *str_arg, size_t str_arg_len,
+ bool error_on_unknown_engine);
void free_engine_list(plugin_ref *list);
plugin_ref *copy_engine_list(plugin_ref *list);
char *pretty_print_engine_list(THD *thd, plugin_ref *list);