8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 01:23:03 +01:00

Fixed CORE-1434 - Run-time error EXECUTE STATEMENT

This commit is contained in:
asfernandes 2007-08-31 10:43:03 +00:00
parent bf8e4cc242
commit 3863eae828

View File

@ -255,6 +255,9 @@ rec_err:
src.dsc_sub_type = var->sqlsubtype;
src.dsc_address = (UCHAR*) var->sqldata;
if ((var->sqltype & ~1) == SQL_VARYING)
src.dsc_length += sizeof(SSHORT);
// and assign to the target
EXE_assignment(tdbb, *JrdVar, &src, (var->sqltype & 1) && (*var->sqlind < 0), NULL, NULL);
}