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

Function makeUuid

src/jrd/SysFunction.cpp:1933–1945  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1931
1932
1933void makeUuid(DataTypeUtilBase*, const SysFunction* function, dsc* result,
1934 int argsCount, const dsc** args)
1935{
1936 fb_assert(argsCount == function->minArgCount);
1937
1938 if (argsCount > 0 && args[0]->isNull())
1939 result->makeNullString();
1940 else
1941 result->makeText(16, ttype_binary);
1942
1943 if (argsCount > 0 && args[0]->isNullable())
1944 result->setNullable(true);
1945}
1946
1947
1948void makeUuidToChar(DataTypeUtilBase*, const SysFunction* function, dsc* result,

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