From 28ca56697b3d7e7a2d14ad7ae8445b26fd7b0f2c Mon Sep 17 00:00:00 2001 From: hegner Date: Mon, 11 Sep 2023 10:11:06 +0200 Subject: [PATCH] Update SchemaEvolution.cc --- src/SchemaEvolution.cc | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/SchemaEvolution.cc b/src/SchemaEvolution.cc index 34d0718e7..23059f93f 100644 --- a/src/SchemaEvolution.cc +++ b/src/SchemaEvolution.cc @@ -61,13 +61,9 @@ void SchemaEvolution::registerEvolutionFunc(const std::string& collType, SchemaV versionMap.resize(currentVersion); } versionMap[fromVersion - 1] = evolutionFunc; - // TODO: temporarily switching off UserDefined logic - //if (priority == Priority::UserDefined) { - // versionMap[fromVersion - 1] = evolutionFunc; - //} else { - // std::cerr << "Not updating evolution function because priority is not UserDefined" << std::endl; - // } - //} + if (priority != Priority::UserDefined) { + std::cerr << "Not updating evolution function because priority is not UserDefined" << std::endl; + } }