mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 02:03:03 +01:00
Fixed CORE-1033 - like doesn't work for computed values (at least in a view)
This commit is contained in:
parent
df0d781398
commit
d24d14f963
@ -2843,12 +2843,12 @@ static dsc* concatenate(thread_db* tdbb, jrd_nod* node, impure_value* impure)
|
||||
return value2;
|
||||
|
||||
{
|
||||
USHORT ttype1 = INTL_TTYPE(value1);
|
||||
USHORT ttype1 = INTL_TEXT_TYPE(*value1);
|
||||
|
||||
if ((value2->dsc_sub_type != CS_NONE) &&
|
||||
((ttype1 == CS_NONE) || (ttype1 == CS_ASCII)))
|
||||
{
|
||||
ttype1 = value2->dsc_sub_type;
|
||||
ttype1 = INTL_TEXT_TYPE(*value2);
|
||||
}
|
||||
|
||||
/* Both values are present; build the concatenation */
|
||||
|
Loading…
Reference in New Issue
Block a user