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

Function makeAsciiChar

src/jrd/SysFunction.cpp:1180–1195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1178
1179
1180void makeAsciiChar(DataTypeUtilBase*, const SysFunction* function, dsc* result,
1181 int argsCount, const dsc** args)
1182{
1183 fb_assert(argsCount == function->minArgCount);
1184
1185 const dsc* value = args[0];
1186
1187 if (value->isNull())
1188 {
1189 result->makeNullString();
1190 return;
1191 }
1192
1193 result->makeText(1, ttype_none);
1194 result->setNullable(value->isNullable());
1195}
1196
1197
1198void makeBin(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