Commit a45b4c61 authored by Vasil Dimov's avatar Vasil Dimov

Print a deprecation warning when ignore-builtin-innodb is used

This is part of
Bug#13586262 INNODB - HIBISCUS: ISSUE DEPRECATION WARNINGS FOR VARIABLES

Reviewed by:	Mark Alff
parent b1d094f2
......@@ -3804,6 +3804,10 @@ a file name for --log-bin-index option", opt_binlog_index_name);
if (ha_init_errors())
DBUG_RETURN(1);
if (opt_ignore_builtin_innodb)
sql_print_warning("ignore-builtin-innodb is deprecated "
"and will be removed in future releases.");
if (plugin_init(&remaining_argc, remaining_argv,
(opt_noacl ? PLUGIN_INIT_SKIP_PLUGIN_TABLE : 0) |
(opt_help ? PLUGIN_INIT_SKIP_INITIALIZATION : 0)))
......
......@@ -854,6 +854,7 @@ static Sys_var_charptr Sys_ft_stopword_file(
static Sys_var_mybool Sys_ignore_builtin_innodb(
"ignore_builtin_innodb",
"DEPRECATED. This option will be removed in future releases. "
"Disable initialization of builtin InnoDB plugin",
READ_ONLY GLOBAL_VAR(opt_ignore_builtin_innodb),
CMD_LINE(OPT_ARG), DEFAULT(FALSE));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment