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

Function setParamsDblDec

src/jrd/SysFunction.cpp:522–536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520
521
522void setParamsDblDec(DataTypeUtilBase*, const SysFunction*, int argsCount, dsc** args)
523{
524 bool fDbl = areParamsDouble(argsCount, args);
525
526 for (int i = 0; i < argsCount; ++i)
527 {
528 if (args[i]->isUnknown())
529 {
530 if (fDbl)
531 args[i]->makeDouble();
532 else
533 args[i]->makeDecimal128();
534 }
535 }
536}
537
538
539void setParamsDecFloat(DataTypeUtilBase*, const SysFunction*, int argsCount, dsc** args)

Callers

nothing calls this directly

Calls 4

areParamsDoubleFunction · 0.85
makeDoubleMethod · 0.80
makeDecimal128Method · 0.80
isUnknownMethod · 0.45

Tested by

no test coverage detected