You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +03:00
Deep build refactoring phase 1 (#3562)
* configcpp refactored * logging and datatypes refactored * more dataconvert * chore(build): massive removals, auto add files to debian install file * chore(codemanagement): nodeps headers, potentioal library * chore(build): configure before autobake * chore(build): use custom cmake commands for components, mariadb-plugin-columnstore.install generated * chore(build): install deps as separate step for build-packages * more deps * check debian/mariadb-plugin-columnstore.install automatically * chore(build): add option for multibracnh compilation * Fix warning
This commit is contained in:
@@ -42,7 +42,6 @@ class ByteStream;
|
||||
|
||||
}
|
||||
|
||||
|
||||
namespace config
|
||||
{
|
||||
/** @brief a config file I/F class
|
||||
@@ -55,7 +54,6 @@ namespace config
|
||||
class Config
|
||||
{
|
||||
public:
|
||||
|
||||
/** @brief Config factory method
|
||||
*
|
||||
* Creates a singleton Config object
|
||||
@@ -96,8 +94,7 @@ class Config
|
||||
* @param name the param name whose value is to be returned
|
||||
* @param values the values in the section are returned in this vector
|
||||
*/
|
||||
void getConfig(const std::string& section, const std::string& name,
|
||||
std::vector<std::string>& values);
|
||||
void getConfig(const std::string& section, const std::string& name, std::vector<std::string>& values);
|
||||
|
||||
/** @brief set name's value in section
|
||||
*
|
||||
@@ -132,13 +129,6 @@ class Config
|
||||
*/
|
||||
void write(const std::string& fileName) const;
|
||||
|
||||
/** @brief write a stream copy of config file to disk
|
||||
*
|
||||
* write a stream copy of config file to disk. used to distributed mass updates to system nodes
|
||||
*
|
||||
*/
|
||||
void writeConfigFile(messageqcpp::ByteStream msg) const;
|
||||
|
||||
/** @brief return the name of this config file
|
||||
*
|
||||
* return the name of this config file.
|
||||
@@ -256,12 +246,10 @@ class Config
|
||||
|
||||
static Config& globConfigInstance();
|
||||
|
||||
|
||||
Config(const Config& rhs);
|
||||
Config& operator=(const Config& rhs);
|
||||
Config(const std::string& configFile);
|
||||
|
||||
|
||||
xmlDocPtr fDoc;
|
||||
const std::string fConfigFile;
|
||||
time_t fMtime;
|
||||
@@ -272,11 +260,8 @@ class Config
|
||||
*
|
||||
*/
|
||||
void checkAndReloadConfig();
|
||||
|
||||
};
|
||||
|
||||
|
||||
} // namespace config
|
||||
|
||||
#undef EXPORT
|
||||
|
||||
|
Reference in New Issue
Block a user