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

Fixed CORE-1489 - DATEADD wrong work with NULL arguments

This commit is contained in:
asfernandes 2007-10-01 15:49:42 +00:00
parent 49d7e2d9d2
commit fa4d185a33

View File

@ -549,7 +549,12 @@ static void makeDateAdd(DataTypeUtilBase* dataTypeUtil, SysFunction* function, d
{
fb_assert(argsCount >= 3);
bool isNullable;
if (initResult(result, argsCount, args, &isNullable))
return;
*result = *args[2];
result->setNullable(isNullable);
}