mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 06:43:03 +01:00
Fixed CORE-1347 - Unexpected "cannot transliterate" error
This commit is contained in:
parent
35d337bd3d
commit
e68d7a24f3
@ -4614,8 +4614,11 @@ static bool string_boolean(thread_db* tdbb, jrd_nod* node, dsc* desc1,
|
||||
blb* blob = BLB_open(tdbb, request->req_transaction,
|
||||
reinterpret_cast<bid*>(desc1->dsc_address));
|
||||
|
||||
if (charset->isMultiByte() && !(obj->getFlags() & TEXTTYPE_DIRECT_MATCH))
|
||||
if (charset->isMultiByte() &&
|
||||
(node->nod_type == nod_contains || !(obj->getFlags() & TEXTTYPE_DIRECT_MATCH)))
|
||||
{
|
||||
buffer.getBuffer(blob->blb_length); // alloc space to put entire blob in memory
|
||||
}
|
||||
|
||||
/* Performs the string_function on each segment of the blob until
|
||||
a positive result is obtained */
|
||||
|
Loading…
Reference in New Issue
Block a user