| 1931 | |
| 1932 | |
| 1933 | void 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 | |
| 1948 | void makeUuidToChar(DataTypeUtilBase*, const SysFunction* function, dsc* result, |
nothing calls this directly
no test coverage detected