mirror of
https://github.com/MariaDB/server.git
synced 2025-11-10 23:02:54 +03:00
Fix the way that instance manager finds the version number of instances, so that it works properly when the executable name isn't the same as what the instance-manager launched, such as when wrapping a libtool-wrapped executable from the source tree. This removes the 'Ver ' reported in the version column output by 'SHOW INSTANCE STATUS ...', but the format of this column is not documented (and is pretty free-form to begin with). server-tools/instance-manager/instance_options.cc: Look for 'Ver' to get version from running mysqld --version server-tools/instance-manager/parse_output.cc: Make parse_output_and_get_value() look at the whole line to find the word, instead of just at the beginning of each line. sql/mysqld.cc: Note that the instance manager relies on 'Ver' in mysqld --version
Instance Manager - manage MySQL instances locally and remotely.
File description:
mysqlmanager.cc - entry point to the manager, main,
options.{h,cc} - handle startup options
manager.{h,cc} - manager process
mysql_connection.{h,cc} - handle one connection with mysql client.
See also instance manager architecture description in mysqlmanager.cc.