| 1308 | |
| 1309 | |
| 1310 | void makeBlobAppend(DataTypeUtilBase* dataTypeUtil, const SysFunction* function, dsc* result, |
| 1311 | int argsCount, const dsc** args) |
| 1312 | { |
| 1313 | fb_assert(argsCount >= function->minArgCount); |
| 1314 | |
| 1315 | result->makeBlob(isc_blob_untyped, ttype_binary); |
| 1316 | result->setNullable(true); |
| 1317 | |
| 1318 | if (argsCount > 0) |
| 1319 | { |
| 1320 | for (int i = 0; i < argsCount; ++i) |
| 1321 | { |
| 1322 | if (makeBlobAppendBlob(result, args[i])) |
| 1323 | break; |
| 1324 | } |
| 1325 | |
| 1326 | result->setNullable(true); |
| 1327 | |
| 1328 | for (int i = 0; i < argsCount; ++i) |
| 1329 | { |
| 1330 | if (!args[i]->isNullable()) |
| 1331 | { |
| 1332 | result->setNullable(false); |
| 1333 | break; |
| 1334 | } |
| 1335 | } |
| 1336 | } |
| 1337 | } |
| 1338 | |
| 1339 | |
| 1340 | void makeCeilFloor(DataTypeUtilBase*, const SysFunction* function, dsc* result, |
nothing calls this directly
no test coverage detected