| 39 | |
| 40 | |
| 41 | SSHORT DataTypeUtilBase::getResultBlobSubType(const dsc* value1, const dsc* value2) |
| 42 | { |
| 43 | const SSHORT subType1 = value1->getBlobSubType(); |
| 44 | const SSHORT subType2 = value2->getBlobSubType(); |
| 45 | |
| 46 | if (value1->isUnknown()) |
| 47 | return subType2; |
| 48 | |
| 49 | if (value2->isUnknown()) |
| 50 | return subType1; |
| 51 | |
| 52 | if (subType2 == isc_blob_untyped) // binary |
| 53 | return subType2; |
| 54 | |
| 55 | return subType1; |
| 56 | } |
| 57 | |
| 58 | |
| 59 | USHORT DataTypeUtilBase::getResultTextType(const dsc* value1, const dsc* value2) |
no test coverage detected