8
0
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:
asfernandes 2007-07-05 15:39:01 +00:00
parent 35d337bd3d
commit e68d7a24f3

View File

@ -4614,8 +4614,11 @@ static bool string_boolean(thread_db* tdbb, jrd_nod* node, dsc* desc1,
blb* blob = BLB_open(tdbb, request->req_transaction, blb* blob = BLB_open(tdbb, request->req_transaction,
reinterpret_cast<bid*>(desc1->dsc_address)); 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 buffer.getBuffer(blob->blb_length); // alloc space to put entire blob in memory
}
/* Performs the string_function on each segment of the blob until /* Performs the string_function on each segment of the blob until
a positive result is obtained */ a positive result is obtained */