Comment 0 for bug 1238331

Revision history for this message
Alex Yurchenko (ayurchen) wrote :

It appears that some options in the argv list passed to find_wsrep_new_cluster() can be NULL. This is because:
1. find_wsrep_new_cluster() clears up all occurrences of --wsrep-new-cluster from the argv vector padding it with NULLs and reducing option count.
2. mysql_install_plugin() restores option count to argc_orig before calling my_load_defaults()

So we end up with modified argv vector but original argc count.