From 4da092418eabaecb0f40857654f0782da696b986 Mon Sep 17 00:00:00 2001 From: Alexey Arno Date: Wed, 29 Jul 2015 17:14:44 +0300 Subject: [PATCH] dbms: Server: Fixes. [#METR-17276] --- dbms/include/DB/Common/HashTable/HashTable.h | 6 +++--- dbms/include/DB/Common/HashTable/SmallTable.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dbms/include/DB/Common/HashTable/HashTable.h b/dbms/include/DB/Common/HashTable/HashTable.h index 2ce34905d69..0b216e1ca0e 100644 --- a/dbms/include/DB/Common/HashTable/HashTable.h +++ b/dbms/include/DB/Common/HashTable/HashTable.h @@ -465,7 +465,7 @@ public: if ((read_count == 0) || is_eof) throw DB::Exception("No available data", DB::ErrorCodes::NO_AVAILABLE_DATA); - return Cell::getKey(cell.getValue()); + return cell.getValue(); } private: @@ -803,7 +803,7 @@ public: { Cell x; x.read(rb); - insert(Cell::getKey(x.getValue())); + insert(x.getValue()); } } @@ -827,7 +827,7 @@ public: Cell x; DB::assertString(",", rb); x.readText(rb); - insert(Cell::getKey(x.getValue())); + insert(x.getValue()); } } diff --git a/dbms/include/DB/Common/HashTable/SmallTable.h b/dbms/include/DB/Common/HashTable/SmallTable.h index 521fe117845..c68963a4798 100644 --- a/dbms/include/DB/Common/HashTable/SmallTable.h +++ b/dbms/include/DB/Common/HashTable/SmallTable.h @@ -105,7 +105,7 @@ public: if ((read_count == 0) || is_eof) throw DB::Exception("No available data", DB::ErrorCodes::NO_AVAILABLE_DATA); - return Cell::getKey(cell.getValue()); + return cell.getValue(); } private: