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:
@ -34,6 +34,7 @@ using namespace std;
|
||||
#include <boost/thread.hpp>
|
||||
using namespace boost;
|
||||
|
||||
#include "config.h"
|
||||
#include "configcpp.h"
|
||||
using namespace config;
|
||||
#include "loggingid.h"
|
||||
@ -64,7 +65,7 @@ IDBErrorInfo::IDBErrorInfo()
|
||||
string configFile(cf->getConfig("SystemConfig", "ErrorMessageFile"));
|
||||
|
||||
if (configFile.length() == 0)
|
||||
configFile = startup::StartUp::installDir() + "/etc/ErrorMessage.txt";
|
||||
configFile = std::string(MCSSYSCONFDIR) + "/columnstore/ErrorMessage.txt";
|
||||
|
||||
ifstream msgFile(configFile.c_str());
|
||||
|
||||
|
Reference in New Issue
Block a user