| 1826 | |
| 1827 | |
| 1828 | void makeReverse(DataTypeUtilBase*, const SysFunction* function, dsc* result, |
| 1829 | int argsCount, const dsc** args) |
| 1830 | { |
| 1831 | fb_assert(argsCount == function->minArgCount); |
| 1832 | |
| 1833 | const dsc* value = args[0]; |
| 1834 | |
| 1835 | if (value->isNull()) |
| 1836 | { |
| 1837 | result->makeNullString(); |
| 1838 | return; |
| 1839 | } |
| 1840 | |
| 1841 | if (value->isBlob()) |
| 1842 | *result = *value; |
| 1843 | else |
| 1844 | result->makeVarying(value->getStringLength(), value->getTextType()); |
| 1845 | |
| 1846 | result->setNullable(value->isNullable()); |
| 1847 | } |
| 1848 | |
| 1849 | |
| 1850 | void makeRound(DataTypeUtilBase*, const SysFunction* function, dsc* result, |
nothing calls this directly
no test coverage detected