Remove leftover

This commit is contained in:
Robert Schulze 2023-05-08 12:19:39 +00:00
parent 1b7c207d7a
commit d2216a4339
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A

View File

@ -13,6 +13,7 @@
/// TODOs for future work: /// TODOs for future work:
/// - allow to specify an arbitrary hash function (currently always CityHash is used) /// - allow to specify an arbitrary hash function (currently always CityHash is used)
/// - allow function chaining a la entropyLearnedHash(trainEntropyLearnedHash()) /// - allow function chaining a la entropyLearnedHash(trainEntropyLearnedHash())
/// - support more datatypes for data (besides String)
namespace DB namespace DB
@ -128,7 +129,6 @@ public:
void setPartialKeyPositionsForId(const String & user_name, const String & id, const PartialKeyPositions & partial_key_positions) void setPartialKeyPositionsForId(const String & user_name, const String & id, const PartialKeyPositions & partial_key_positions)
{ {
std::lock_guard lock(mutex); std::lock_guard lock(mutex);
/// partial_key_positions_by_id[id] = partial_key_positions;
auto & ids_for_user = partial_key_positions_by_id[user_name]; auto & ids_for_user = partial_key_positions_by_id[user_name];
ids_for_user[id] = partial_key_positions; ids_for_user[id] = partial_key_positions;
} }