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

Function makeDblDecResult

src/jrd/SysFunction.cpp:980–993  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

978
979
980void makeDblDecResult(DataTypeUtilBase*, const SysFunction*, dsc* result,
981 int argsCount, const dsc** args)
982{
983 if (argsCount == 0 || areParamsDouble(argsCount, args))
984 result->makeDouble();
985 else
986 result->makeDecimal128();
987
988 bool isNullable;
989 if (initResult(result, argsCount, args, &isNullable))
990 return;
991
992 result->setNullable(isNullable);
993}
994
995
996void makeDecFloatResult(DataTypeUtilBase*, const SysFunction*, dsc* result,

Callers

nothing calls this directly

Calls 5

areParamsDoubleFunction · 0.85
initResultFunction · 0.85
makeDoubleMethod · 0.80
makeDecimal128Method · 0.80
setNullableMethod · 0.80

Tested by

no test coverage detected