mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 01:23:03 +01:00
Fixed an UCHAR overflow causing wrong entries in RDB$TYPES.
This commit is contained in:
parent
88f16e0f15
commit
2567451f5e
@ -160,14 +160,14 @@ static const int relfields[] =
|
||||
struct rtyp {
|
||||
const TEXT* rtyp_name;
|
||||
SSHORT rtyp_value;
|
||||
UCHAR rtyp_field;
|
||||
int rtyp_field;
|
||||
};
|
||||
|
||||
#define TYPE(text, type, field) { text, type, (UCHAR) field },
|
||||
#define TYPE(text, type, field) { text, type, field },
|
||||
|
||||
#define CHARSET(name, cs_id, coll_id, bytes, num, s1, s2, attr) \
|
||||
{(name), (cs_id), (UCHAR) nam_charset_name},
|
||||
#define CSALIAS(name, cs_id) {(name), (cs_id), (UCHAR) nam_charset_name},
|
||||
{name, cs_id, nam_charset_name},
|
||||
#define CSALIAS(name, cs_id) {name, cs_id, nam_charset_name},
|
||||
#define COLLATION(name, base_name, cc_id, cs_id, coll_id, sym, attr, specific_attr)
|
||||
#define END_CHARSET
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user