dsc.h (Firebird-3.0.2.32703-0.tar.bz2) | : | dsc.h (Firebird-3.0.4.33054-0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 231 | skipping to change at line 231 | |||
USHORT getCollation() const | USHORT getCollation() const | |||
{ | { | |||
return getTextType() >> 8; | return getTextType() >> 8; | |||
} | } | |||
void clear() | void clear() | |||
{ | { | |||
memset(this, 0, sizeof(*this)); | memset(this, 0, sizeof(*this)); | |||
} | } | |||
void clearFlags() | ||||
{ | ||||
if (isBlob() && dsc_sub_type == isc_blob_text) | ||||
dsc_flags &= 0xFF00; | ||||
else | ||||
dsc_flags = 0; | ||||
} | ||||
void makeBlob(SSHORT subType, USHORT ttype, ISC_QUAD* address = NULL) | void makeBlob(SSHORT subType, USHORT ttype, ISC_QUAD* address = NULL) | |||
{ | { | |||
clear(); | clear(); | |||
dsc_dtype = dtype_blob; | dsc_dtype = dtype_blob; | |||
dsc_length = sizeof(ISC_QUAD); | dsc_length = sizeof(ISC_QUAD); | |||
setBlobSubType(subType); | setBlobSubType(subType); | |||
setTextType(ttype); | setTextType(ttype); | |||
dsc_address = (UCHAR*) address; | dsc_address = (UCHAR*) address; | |||
} | } | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 8 lines changed or added |