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

Function setParamsGetSetContext

src/jrd/SysFunction.cpp:829–848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

827
828
829void setParamsGetSetContext(DataTypeUtilBase*, const SysFunction*, int argsCount, dsc** args)
830{
831 if (argsCount >= 1 && args[0]->isUnknown())
832 {
833 args[0]->makeVarying(80, ttype_none);
834 args[0]->setNullable(true);
835 }
836
837 if (argsCount >= 2 && args[1]->isUnknown())
838 {
839 args[1]->makeVarying(80, ttype_none);
840 args[1]->setNullable(true);
841 }
842
843 if (argsCount >= 3 && args[2]->isUnknown())
844 {
845 args[2]->makeVarying(MAX_CTX_VAR_SIZE, ttype_none);
846 args[2]->setNullable(true);
847 }
848}
849
850
851void setParamsResetContext(DataTypeUtilBase*, const SysFunction*, int argsCount, dsc** args)

Callers

nothing calls this directly

Calls 3

makeVaryingMethod · 0.80
setNullableMethod · 0.80
isUnknownMethod · 0.45

Tested by

no test coverage detected