Why is this an issue?
In src/storage/btree_index.cpp:71:
size_t len = std::min(s.size(), static_cast<size_t>(7));
std::memcpy(data, s.data(), len);
Text keys truncated to 7 bytes. Different strings compare as equal, causing wrong data returned.
What is causing it?
Fixed 8-byte key storage with silent truncation.
How can it be solved?
Implement variable-length keys.
Category
Severity
Why is this an issue?
In
src/storage/btree_index.cpp:71:Text keys truncated to 7 bytes. Different strings compare as equal, causing wrong data returned.
What is causing it?
Fixed 8-byte key storage with silent truncation.
How can it be solved?
Implement variable-length keys.
Category
Severity