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

when setting systemName also modify my.cnf to update server_audit_syslog_info value.

This commit is contained in:
Ben Thompson
2017-04-06 11:47:54 -05:00
parent 3e85b6ef07
commit 8aa37589b5
3 changed files with 35 additions and 12 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)