码迷,mamicode.com
首页 > 其他好文 > 详细

结构体typedef struct dtuple_struct dtuple_t;

时间:2015-11-10 15:35:23      阅读:257      评论:0      收藏:0      [点我收藏+]

标签:

/** Structure for an SQL data tuple of fields (logical record) */
struct dtuple_struct {
    ulint        info_bits;    /*!< info bits of an index record:
                    the default is 0; this field is used
                    if an index record is built from
                    a data tuple */
    ulint        n_fields;    /*!< number of fields in dtuple */
    ulint        n_fields_cmp;    /*!< number of fields which should
                    be used in comparison services
                    of rem0cmp.*; the index search
                    is performed by comparing only these
                    fields, others are ignored; the
                    default value in dtuple creation is
                    the same value as n_fields */
    dfield_t*    fields;        /*!< fields */
    UT_LIST_NODE_T(dtuple_t) tuple_list;
                    /*!< data tuples can be linked into a
                    list using this field */
#ifdef UNIV_DEBUG
    ulint        magic_n;    /*!< magic number, used in
                    debug assertions */
/** Value of dtuple_struct::magic_n */
# define        DATA_TUPLE_MAGIC_N    65478679
#endif /* UNIV_DEBUG */
};

 

 

/* SQL data tuple struct */

 

结构体typedef struct dtuple_struct dtuple_t;

标签:

原文地址:http://www.cnblogs.com/taek/p/4952956.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!