MXS-1703 Fix uninitialized pointer in manual switchover

If the current master was given by user, maxscale would crash.
This commit is contained in:
Esa Korhonen
2018-03-20 14:30:15 +02:00
parent e4efc29297
commit 09a22b26c8
2 changed files with 9 additions and 8 deletions

View File

@ -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.