Add default parameter values for methods in maxscales.h
As all current tests use only a single MaxScale, explicitly requiring the number of the MaxScale to use is not convenient.
This commit is contained in:
@ -58,7 +58,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
//Test->repl->flush_hosts();
|
||||
Test->set_timeout(20);
|
||||
int master = Test->maxscales->find_master_maxadmin(0, Test->galera);
|
||||
int master = Test->maxscales->find_master_maxadmin(Test->galera);
|
||||
Test->stop_timeout();
|
||||
Test->tprintf(("Master is %d\n"), master);
|
||||
int k = 0;
|
||||
|
||||
Reference in New Issue
Block a user