mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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
This commit is contained in:
@ -3804,6 +3804,10 @@ a file name for --log-bin-index option", opt_binlog_index_name);
|
|||||||
if (ha_init_errors())
|
if (ha_init_errors())
|
||||||
DBUG_RETURN(1);
|
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,
|
if (plugin_init(&remaining_argc, remaining_argv,
|
||||||
(opt_noacl ? PLUGIN_INIT_SKIP_PLUGIN_TABLE : 0) |
|
(opt_noacl ? PLUGIN_INIT_SKIP_PLUGIN_TABLE : 0) |
|
||||||
(opt_help ? PLUGIN_INIT_SKIP_INITIALIZATION : 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(
|
static Sys_var_mybool Sys_ignore_builtin_innodb(
|
||||||
"ignore_builtin_innodb",
|
"ignore_builtin_innodb",
|
||||||
|
"DEPRECATED. This option will be removed in future releases. "
|
||||||
"Disable initialization of builtin InnoDB plugin",
|
"Disable initialization of builtin InnoDB plugin",
|
||||||
READ_ONLY GLOBAL_VAR(opt_ignore_builtin_innodb),
|
READ_ONLY GLOBAL_VAR(opt_ignore_builtin_innodb),
|
||||||
CMD_LINE(OPT_ARG), DEFAULT(FALSE));
|
CMD_LINE(OPT_ARG), DEFAULT(FALSE));
|
||||||
|
Reference in New Issue
Block a user