You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Move config files
This patch: * Moves config files from /usr/local/mariadb/columnstore/etc to ENGINE_SYSCONFDIR/columnstore (ENGINE_SYSCONFDIR is /etc by default) * Sets a define called MCSSYSCONFDIR whic contains the ENGINE_SYSCONFDIR compile time setting * Modifies scripts and code to use the new paths * Removes a whole bunch of files we don't use
This commit is contained in:
@ -28,6 +28,7 @@
|
||||
#include <boost/uuid/uuid_io.hpp>
|
||||
|
||||
#include "columnstoreversion.h"
|
||||
#include "config.h"
|
||||
#include "IDBDataFile.h"
|
||||
#include "IDBPolicy.h"
|
||||
#include "processmonitor.h"
|
||||
@ -5885,7 +5886,7 @@ bool ProcessMonitor::amazonIPCheck()
|
||||
log.writeLog(__LINE__, "Module is Running: '" + moduleName + "' / Instance '" + instanceID + "' current IP being reconfigured in Columnstore.xml. old = " + IPAddr + ", new = " + currentIPAddr, LOG_TYPE_DEBUG);
|
||||
|
||||
// update the Columnstore.xml with the new IP Address
|
||||
string cmd = "sed -i s/" + IPAddr + "/" + currentIPAddr + "/g /usr/local/mariadb/columnstore/etc/Columnstore.xml";
|
||||
string cmd = "sed -i s/" + IPAddr + "/" + currentIPAddr + "/g " + MCSSYSCONFDIR + "/columnstore/Columnstore.xml";
|
||||
system(cmd.c_str());
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user