MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / makeDateAdd

Function makeDateAdd

src/jrd/SysFunction.cpp:1383–1395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1381
1382
1383void makeDateAdd(DataTypeUtilBase*, const SysFunction*, dsc* result, int argsCount, const dsc** args)
1384{
1385 fb_assert(argsCount >= 3);
1386
1387 *result = *args[2];
1388
1389 bool isNullable;
1390 if (initResult(result, argsCount, args, &isNullable))
1391 return;
1392
1393 *result = *args[2];
1394 result->setNullable(isNullable);
1395}
1396
1397
1398void makeDateDiff(DataTypeUtilBase* dataTypeUtil, const SysFunction*, dsc* result, int argsCount, const dsc** args)

Callers

nothing calls this directly

Calls 2

initResultFunction · 0.85
setNullableMethod · 0.80

Tested by

no test coverage detected