mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 07:23:04 +01:00
Fixed inability to execute LIKE/STARTING/etc if the second argument is a small (<32KB) blob and the first one is a blob of charset NONE. This is partially related to CORE-3233, see my comment there.
This commit is contained in:
parent
5573581488
commit
7e182bc025
@ -935,12 +935,8 @@ bool ComparativeBoolNode::stringBoolean(thread_db* tdbb, jrd_req* request, dsc*
|
||||
|
||||
// Get address and length of search string - make it string if necessary
|
||||
// but don't transliterate character set if the source blob is binary
|
||||
VaryStr<256> temp2;
|
||||
if (!computed_invariant)
|
||||
{
|
||||
if (type1 == ttype_none)
|
||||
l2 = MOV_get_string(desc2, &p2, &temp2, sizeof(temp2));
|
||||
else
|
||||
l2 = MOV_make_string2(tdbb, desc2, type1, &p2, match_str);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user