Commit 13e47c5e authored by unknown's avatar unknown

Fix for bug#8315 NdbScanFilter cmp method only works for strings of exact word boundry length

parent 65cd36fc
......@@ -1865,6 +1865,11 @@ int Dbtup::interpreterNextLab(Signal* signal,
}
else
{
/* --------------------------------------------------------- */
// If length of argument rounded to nearest word is
// the same as attribute size, use that as argument size
/* --------------------------------------------------------- */
if ((((argLen + 3) >> 2) << 2) == attrLen) argLen= attrLen;
res = (*sqlType.m_cmp)(cs, s1, attrLen, s2, argLen, true);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment