mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 04:03:03 +01:00
Fixed CORE-1434 - Run-time error EXECUTE STATEMENT
This commit is contained in:
parent
bf8e4cc242
commit
3863eae828
@ -255,6 +255,9 @@ rec_err:
|
|||||||
src.dsc_sub_type = var->sqlsubtype;
|
src.dsc_sub_type = var->sqlsubtype;
|
||||||
src.dsc_address = (UCHAR*) var->sqldata;
|
src.dsc_address = (UCHAR*) var->sqldata;
|
||||||
|
|
||||||
|
if ((var->sqltype & ~1) == SQL_VARYING)
|
||||||
|
src.dsc_length += sizeof(SSHORT);
|
||||||
|
|
||||||
// and assign to the target
|
// and assign to the target
|
||||||
EXE_assignment(tdbb, *JrdVar, &src, (var->sqltype & 1) && (*var->sqlind < 0), NULL, NULL);
|
EXE_assignment(tdbb, *JrdVar, &src, (var->sqltype & 1) && (*var->sqlind < 0), NULL, NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user