mirror of https://github.com/ByConity/ByConity
fix sync
This commit is contained in:
parent
34addcf61f
commit
3bc8d9daa9
|
@ -22,6 +22,7 @@ Macros::Macros(const Poco::Util::AbstractConfiguration & config, const String &
|
||||||
macros[key] = config.getString(root_key + "." + key);
|
macros[key] = config.getString(root_key + "." + key);
|
||||||
if (key == "database" || key == "table" || key == "uuid")
|
if (key == "database" || key == "table" || key == "uuid")
|
||||||
{
|
{
|
||||||
|
if (log)
|
||||||
LOG_WARNING(log,
|
LOG_WARNING(log,
|
||||||
"Config file contains '{}' macro. This macro has special meaning "
|
"Config file contains '{}' macro. This macro has special meaning "
|
||||||
"and it's explicit definition is not recommended. Implicit unfolding for "
|
"and it's explicit definition is not recommended. Implicit unfolding for "
|
||||||
|
|
|
@ -26,7 +26,7 @@ class Macros
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Macros() = default;
|
Macros() = default;
|
||||||
Macros(const Poco::Util::AbstractConfiguration & config, const String & key, Poco::Logger * log);
|
Macros(const Poco::Util::AbstractConfiguration & config, const String & key, Poco::Logger * log = nullptr);
|
||||||
|
|
||||||
struct MacroExpansionInfo
|
struct MacroExpansionInfo
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue