Commit ad9a140d authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-14884 Failed to enable encryption of temporary files in mariadb 10.3.3

enable the encryption (and abort on failure) after printing --help,
not before
parent 0d8bd7cc
......@@ -5439,12 +5439,12 @@ static int init_server_components()
}
}
if (init_io_cache_encryption())
unireg_abort(1);
if (opt_abort)
unireg_abort(0);
if (init_io_cache_encryption())
unireg_abort(1);
/* if the errmsg.sys is not loaded, terminate to maintain behaviour */
if (!DEFAULT_ERRMSGS[0][0])
unireg_abort(1);
......
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