mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 21:42:35 +01:00
657ef27076
There was no way to see if report-{host,port,user,password} were set up. Fixed with introducing new global variables. The variables are made read-only because of a possible need to change them most probably require the slave server restart. Todo: transform the startup options to be CHANGE master parameters - i.e to deprecate `report-' options, and to change the new vars to be updatable at time of CHANGE master executes with new values. sql/set_var.cc: Adding associations of the server init arguments with the new global read-only variables. mysql-test/suite/rpl/r/rpl_report.result: new results file mysql-test/suite/rpl/t/rpl_report-slave.opt: options initialize the new global variables. mysql-test/suite/rpl/t/rpl_report.test: The new test to check SHOW-ability and SELECT-ablity for the report global vars.
2 lines
100 B
Text
2 lines
100 B
Text
--report-host=127.0.0.1 --report-user='my_user' --report-password='my_password' --report-port=9308
|
|
|