Commit 4cccd578 authored by Nirbhay Choubey's avatar Nirbhay Choubey

MDEV-6659: mysqld --help --verbose initializes wsrep

Do not initialize/load wsrep subsystem if server is
started in help mode.
parent bc59e4c1
...@@ -4467,7 +4467,7 @@ will be ignored as the --log-bin option is not defined."); ...@@ -4467,7 +4467,7 @@ will be ignored as the --log-bin option is not defined.");
#endif #endif
#ifdef WITH_WSREP /* WSREP BEFORE SE */ #ifdef WITH_WSREP /* WSREP BEFORE SE */
if (!wsrep_recovery) if (!wsrep_recovery && !opt_help)
{ {
if (opt_bootstrap) // bootsrap option given - disable wsrep functionality if (opt_bootstrap) // bootsrap option given - disable wsrep functionality
{ {
......
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