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

Function makeUuidToChar

src/jrd/SysFunction.cpp:1948–1963  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1946
1947
1948void makeUuidToChar(DataTypeUtilBase*, const SysFunction* function, dsc* result,
1949 int argsCount, const dsc** args)
1950{
1951 fb_assert(argsCount == function->minArgCount);
1952
1953 const dsc* value = args[0];
1954
1955 if (value->isNull())
1956 {
1957 result->makeNullString();
1958 return;
1959 }
1960
1961 result->makeText(GUID_BODY_SIZE, ttype_ascii);
1962 result->setNullable(value->isNullable());
1963}
1964
1965
1966dsc* evlStdMath(thread_db* tdbb, const SysFunction* function, const NestValueArray& args,

Callers

nothing calls this directly

Calls 5

makeNullStringMethod · 0.80
makeTextMethod · 0.80
setNullableMethod · 0.80
isNullMethod · 0.45
isNullableMethod · 0.45

Tested by

no test coverage detected