MXS-1703 Fix uninitialized pointer in manual switchover
If the current master was given by user, maxscale would crash.
This commit is contained in:
@ -101,7 +101,7 @@ public:
|
||||
* Handle switchover
|
||||
*
|
||||
* @new_master The specified new master
|
||||
* @current_master The specified current master
|
||||
* @current_master The specified current master. If NULL, monitor will autoselect.
|
||||
* @output Pointer where to place output object
|
||||
*
|
||||
* @return True, if switchover was performed, false otherwise.
|
||||
|
Reference in New Issue
Block a user