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

Function initResult

src/jrd/SysFunction.cpp:455–472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453
454
455bool initResult(dsc* result, int argsCount, const dsc** args, bool* isNullable)
456{
457 *isNullable = false;
458
459 for (int i = 0; i < argsCount; ++i)
460 {
461 if (args[i]->isNull())
462 {
463 result->setNull();
464 return true;
465 }
466
467 if (args[i]->isNullable())
468 *isNullable = true;
469 }
470
471 return false;
472}
473
474
475void setParamsDouble(DataTypeUtilBase*, const SysFunction*, int argsCount, dsc** args)

Callers 13

makeDoubleResultFunction · 0.85
makeDblDecResultFunction · 0.85
makeDecFloatResultFunction · 0.85
makeInt64ResultFunction · 0.85
makeLongResultFunction · 0.85
makeBooleanResultFunction · 0.85
makeShortResultFunction · 0.85
makeVarBinaryFunction · 0.85
makeDateAddFunction · 0.85
makeDateDiffFunction · 0.85
makeFirstLastDayResultFunction · 0.85
makeOverlayFunction · 0.85

Calls 3

isNullMethod · 0.45
setNullMethod · 0.45
isNullableMethod · 0.45

Tested by

no test coverage detected