From a863b2b0a4f5f50b47ee54e007f1f5737f7c9973 Mon Sep 17 00:00:00 2001 From: Andrey Mironov Date: Fri, 13 Nov 2015 14:08:25 +0300 Subject: [PATCH] dbms: take ComplexKeyDictionary::keys_pool size into account when determining bytes_allocated [#METR-17328] --- dbms/include/DB/Dictionaries/ComplexKeyDictionary.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dbms/include/DB/Dictionaries/ComplexKeyDictionary.h b/dbms/include/DB/Dictionaries/ComplexKeyDictionary.h index 466acc8f072..4f8217ed14f 100644 --- a/dbms/include/DB/Dictionaries/ComplexKeyDictionary.h +++ b/dbms/include/DB/Dictionaries/ComplexKeyDictionary.h @@ -335,6 +335,8 @@ private: } } } + + bytes_allocated += keys_pool.size(); } template