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:
Markus Mäkelä
2017-12-20 10:11:19 +02:00
parent f9e8af83ce
commit 5e2ac6a921
4 changed files with 43 additions and 25 deletions

View File

@ -33,7 +33,7 @@ int main(int argc, char *argv[])
long int i1, i2;
Test->set_timeout(20);
master = Test->maxscales->find_master_maxadmin(0, Test->galera);
master = Test->maxscales->find_master_maxadmin(Test->galera);
if (master >= 0)
{