1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

modify liboam changeMyCnf to add new values with prefix 'loose-' add change to setConfig and setSystemName to set the server_audit_syslog_info value when systemName is changed

This commit is contained in:
Ben Thompson
2017-04-18 15:58:09 -05:00
parent 41cab72832
commit 60fd4c6029
3 changed files with 36 additions and 9 deletions

View File

@ -129,7 +129,13 @@ int main(int argc, char** argv)
if (xflg)
cf->delConfig(argv[optind + 0], argv[optind + 1]);
else
{
cf->setConfig(argv[optind + 0], argv[optind + 1], argv[optind + 2]);
if (strcmp(argv[optind + 1],"SystemName") == 0)
{
oam.changeMyCnf( "server_audit_syslog_info", argv[optind + 2] );
}
}
cf->write();
if (dflg || serverInstallType == oam::INSTALL_COMBINE_DM_UM_PM)