| 323 | } |
| 324 | |
| 325 | CsConvert CharSetContainer::lookupConverter(thread_db* tdbb, CHARSET_ID toCsId) |
| 326 | { |
| 327 | if (toCsId == CS_UTF16) |
| 328 | return CsConvert(cs->getStruct(), NULL); |
| 329 | |
| 330 | CharSet* toCs = INTL_charset_lookup(tdbb, toCsId); |
| 331 | if (cs->getId() == CS_UTF16) |
| 332 | return CsConvert(NULL, toCs->getStruct()); |
| 333 | |
| 334 | return CsConvert(cs->getStruct(), toCs->getStruct()); |
| 335 | } |
| 336 | |
| 337 | Collation* CharSetContainer::lookupCollation(thread_db* tdbb, USHORT tt_id) |
| 338 | { |
no test coverage detected