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

Function setParamVarying

src/jrd/SysFunction.cpp:690–702  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

688
689
690void setParamVarying(dsc* param, USHORT textType, bool condition)
691{
692 if (!param)
693 return;
694
695 if (param->isUnknown() || condition)
696 {
697 USHORT l = param->getStringLength();
698 if (param->isUnknown() || l == 0)
699 l = 64;
700 param->makeVarying(l, textType);
701 }
702}
703
704
705bool dscHasData(const dsc* param)

Callers 6

setParamsEncryptFunction · 0.85
setParamsRsaEncryptFunction · 0.85
setParamsRsaSignFunction · 0.85
setParamsRsaVerifyFunction · 0.85
setParamsRsaPublicFunction · 0.85
setParamsHashFunction · 0.85

Calls 3

getStringLengthMethod · 0.80
makeVaryingMethod · 0.80
isUnknownMethod · 0.45

Tested by

no test coverage detected