このページを編集する際は、編集に関する方針に従ってください。
概要 †
- データ型TupleConstrを、以下のメンバを持つ構造体として定義。
- defvalを、以下のメンバを持つ構造体AttrDefaultへのポインタとして定義。
- adnumを、AttrNumber(int16(signed shortの別名)の別名))として定義。
- adbinを、charへのポインタとして定義。
- checkを、以下のメンバを持つ構造体ConstrCheckへのポインタとして定義。
- ccnameを、charへのポインタとして定義。
- ccbinを、charへのポインタとして定義。
- num_defvalを、uint16(unsigned shortの別名)として定義。
- num_checkを、uint16(unsigned shortの別名)として定義。
- has_not_nullを、bool(charの別名)として定義。
実装 †
typedef struct tupleConstr
{
AttrDefault *defval; /* array */
ConstrCheck *check; /* array */
uint16 num_defval;
uint16 num_check;
bool has_not_null;
} TupleConstr;
備考 †
/* This structure contains constraints of a tuple */
履歴 †
コメント †