You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +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:
@@ -29,6 +29,7 @@
|
||||
#include <netdb.h>
|
||||
#include <readline/readline.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "liboamcpp.h"
|
||||
#include "configcpp.h"
|
||||
#include "installdir.h"
|
||||
@@ -326,11 +327,11 @@ void reportThread(string reporttype)
|
||||
system(cmd.c_str());
|
||||
cmd = "echo ' ' >> " + outputFile;
|
||||
system(cmd.c_str());
|
||||
cmd = "echo '################# cat /etc/Columnstore.xml ################# ' >> " + outputFile;
|
||||
cmd = "echo '################# cat /etc/columnstore/Columnstore.xml ################# ' >> " + outputFile;
|
||||
system(cmd.c_str());
|
||||
cmd = "echo ' ' >> " + outputFile;
|
||||
system(cmd.c_str());
|
||||
cmd = "cat " + installDir + "/etc/Columnstore.xml >> " + outputFile;
|
||||
cmd = "cat " + std::string(MCSSYSCONFDIR) + "/columnstore/Columnstore.xml >> " + outputFile;
|
||||
system(cmd.c_str());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user