Skip to content

Commit

Permalink
Update SchemaEvolution.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
hegner authored Sep 11, 2023
1 parent 09455c0 commit 28ca566
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/SchemaEvolution.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}


Expand Down

0 comments on commit 28ca566

Please sign in to comment.