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 @@ using namespace std;
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
|
||||
#include "config.h"
|
||||
#include "dbbuilder.h"
|
||||
#include "systemcatalog.h"
|
||||
#include "liboamcpp.h"
|
||||
@ -227,7 +228,7 @@ int main(int argc, char* argv[])
|
||||
//@bug5554, make sure IDBPolicy matches the Columnstore.xml config
|
||||
try
|
||||
{
|
||||
string calpontConfigFile(startup::StartUp::installDir() + "/etc/Columnstore.xml");
|
||||
string calpontConfigFile(std::string(MCSSYSCONFDIR) + "/columnstore/Columnstore.xml");
|
||||
config::Config* sysConfig = config::Config::makeConfig(calpontConfigFile.c_str());
|
||||
string tmp = sysConfig->getConfig("Installation", "DBRootStorageType");
|
||||
|
||||
|
Reference in New Issue
Block a user