8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 05:23:03 +01:00

Fixed the hash-join part of CORE-4909: MERGE / HASH JOINs produce incorrect results when VARCHAR join keys differ only by trailing spaces.

This commit is contained in:
dimitr 2015-08-16 15:47:30 +00:00
parent 6cc8feaf64
commit 6131cf1216

View File

@ -650,7 +650,7 @@ void HashJoin::computeKeys(thread_db* tdbb, jrd_req* request,
if (desc->isText())
{
dsc to;
to.makeText(keyLength, ttype_binary, keyBuffer);
to.makeText(keyLength, desc->getTextType(), keyBuffer);
if (IS_INTL_DATA(desc))
{