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

Function makeInt64Result

src/jrd/SysFunction.cpp:1028–1041  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1026
1027
1028void makeInt64Result(DataTypeUtilBase* dataTypeUtil, const SysFunction*, dsc* result,
1029 int argsCount, const dsc** args)
1030{
1031 if (dataTypeUtil->getDialect() == 1)
1032 result->makeDouble();
1033 else
1034 result->makeInt64(0);
1035
1036 bool isNullable;
1037 if (initResult(result, argsCount, args, &isNullable))
1038 return;
1039
1040 result->setNullable(isNullable);
1041}
1042
1043
1044void makeLongResult(DataTypeUtilBase*, const SysFunction*, dsc* result,

Callers 1

makeHashFunction · 0.85

Calls 5

initResultFunction · 0.85
makeDoubleMethod · 0.80
makeInt64Method · 0.80
setNullableMethod · 0.80
getDialectMethod · 0.45

Tested by

no test coverage detected