From 13ef987361e64a51fd7e1f2caedef7faa5939a43 Mon Sep 17 00:00:00 2001 From: Dmitry Rubashkin Date: Tue, 23 Jul 2019 13:31:20 +0300 Subject: [PATCH] Git commit fixes --- dbms/src/Common/Config/ConfigProcessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Common/Config/ConfigProcessor.cpp b/dbms/src/Common/Config/ConfigProcessor.cpp index 80da7008ac5..6b90ab23075 100644 --- a/dbms/src/Common/Config/ConfigProcessor.cpp +++ b/dbms/src/Common/Config/ConfigProcessor.cpp @@ -211,7 +211,7 @@ void ConfigProcessor::mergeRecursive(XMLDocumentPtr config, Node * config_root, void ConfigProcessor::merge(XMLDocumentPtr config, XMLDocumentPtr with) { Node * config_root = getRootNode(&*config); - const Node * with_root = getRootNode(&*with); + Node * with_root = getRootNode(&*with); if (config_root->nodeName() != with_root->nodeName()) throw Poco::Exception("Root element doesn't have the corresponding root element as the config file. It must be <" + config_root->nodeName() + ">");