/* SQL data type struct */
typedef struct dtype_struct        dtype_t;

struct dtype_struct{
    unsigned    mtype:;    /*!< main data type */
    unsigned    prtype:;    /*!< precise type; MySQL data
                    type, charset code, flags to
                    indicate nullability,
                    signedness, whether this is a
                    binary string, whether this is
                    a true VARCHAR where MySQL
                    uses 2 bytes to store the length */

    /* the remaining fields do not affect alphabetical ordering: */

    unsigned    len:;        /*!< length; for MySQL data this
                    is field->pack_length(),
                    except that for a >= 5.0.3
                    type true VARCHAR this is the
                    maximum byte length of the
                    string data (in addition to
                    the string, MySQL uses 1 or 2
                    bytes to store the string length) */
#ifndef UNIV_HOTBACKUP
    unsigned    mbminmaxlen:;    /*!< minimum and maximum length of a
                    character, in bytes;
                    DATA_MBMINMAXLEN(mbminlen,mbmaxlen);
                    mbminlen=DATA_MBMINLEN(mbminmaxlen);
                    mbmaxlen=DATA_MBMINLEN(mbminmaxlen) */
#endif /* !UNIV_HOTBACKUP */
};

最新文章

  1. 细说websocket - php篇
  2. hdu 3172
  3. 【BZOJ】【1042】【HAOI2008】硬币购物
  4. JSONObject 包的依赖
  5. Codeforces Round #185 (Div. 2) B. Archer 水题
  6. Javascript 对输入框中的内容进行 “全选/反选”
  7. java web工程的错误页面的简单配置
  8. 查找被锁对象的名称、sid,锁定的类型-1123
  9. C#:vs2010无法打开vs2012创建的项目
  10. Java与JavaScript中判断两字符串是否相等的区别
  11. River Hopscotch POJ - 3258
  12. Java基础--JDK的安装和配置
  13. 30. Substring with Concatenation of All Words
  14. Templates中的标签if
  15. windows下解决python输出utf-8中文
  16. C# 使用post的方式提交raw格式的数据,数据为json格式,多层嵌套
  17. Spring mvc接收中文参数值乱码(tomcat配置问题)
  18. springboot工程pom的两种配置方式
  19. Arduino和C51开发LCD1602显示屏
  20. 在Textbox中按回车键后继续获取焦点

热门文章

  1. Php 的替代语法
  2. centos6.3安装openvpn客户端
  3. 让hyper-v调整console的大小
  4. entity framework mysql 那些写法你碰不得
  5. 换行符‘\n’和回车符‘\r’
  6. Linux硬链接和符号链接(转)
  7. VC窗口最大化方法
  8. 【原创】一起学C++ 之 字符串 ---------C++ primer plus(第6版)
  9. RAC,客户端连接失败ORA-12514
  10. CLLocationManager 位置定位