| 1503 | |
| 1504 | |
| 1505 | unsigned characterLen(DataTypeUtilBase* dataTypeUtil, const dsc* arg) |
| 1506 | { |
| 1507 | unsigned len = arg->getStringLength(); |
| 1508 | unsigned maxBytes = dataTypeUtil->maxBytesPerChar(arg->getCharSet()); |
| 1509 | fb_assert(maxBytes); |
| 1510 | fb_assert(!(len % maxBytes)); |
| 1511 | return len / maxBytes; |
| 1512 | } |
| 1513 | |
| 1514 | |
| 1515 | void makeDecode64(DataTypeUtilBase* dataTypeUtil, const SysFunction* function, dsc* result, int argsCount, const dsc** args) |
no test coverage detected