diff options
author | kacper776 <kacper1342@gmail.com> | 2022-11-06 22:31:18 +0100 |
---|---|---|
committer | kacper776 <54678026+kacper776@users.noreply.github.com> | 2022-11-06 22:53:57 +0100 |
commit | 7b3c37e8f60066fad6b8a3527d88bbdd8d8b35fb (patch) | |
tree | bb6afe279502b2dc1157396ad3816599608c8663 | |
parent | 3daf250b13aa8bd19f879636e15c17d09eaa557e (diff) |
remove random "+4" from String Tpe length
-rw-r--r-- | komfydb/common/type.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/komfydb/common/type.cc b/komfydb/common/type.cc index bc8ec32..492a70b 100644 --- a/komfydb/common/type.cc +++ b/komfydb/common/type.cc @@ -10,8 +10,7 @@ int Type::GetLen() { if (value == Value::INT) { return INT_LEN; } else { - // TODO check why this +4 is necessary? - return STR_LEN + 4; + return STR_LEN; } } |