A Twitch.tv viewer reward and games system.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
1.0 KiB

12 years ago
  1. // Manually extracted from mysql-5.5.23/include/mysql_com.h
  2. exports.NOT_NULL_FLAG = 1; /* Field can't be NULL */
  3. exports.PRI_KEY_FLAG = 2; /* Field is part of a primary key */
  4. exports.UNIQUE_KEY_FLAG = 4; /* Field is part of a unique key */
  5. exports.MULTIPLE_KEY_FLAG = 8; /* Field is part of a key */
  6. exports.BLOB_FLAG = 16; /* Field is a blob */
  7. exports.UNSIGNED_FLAG = 32; /* Field is unsigned */
  8. exports.ZEROFILL_FLAG = 64; /* Field is zerofill */
  9. exports.BINARY_FLAG = 128; /* Field is binary */
  10. /* The following are only sent to new clients */
  11. exports.ENUM_FLAG = 256; /* field is an enum */
  12. exports.AUTO_INCREMENT_FLAG = 512; /* field is a autoincrement field */
  13. exports.TIMESTAMP_FLAG = 1024; /* Field is a timestamp */
  14. exports.SET_FLAG = 2048; /* field is a set */
  15. exports.NO_DEFAULT_VALUE_FLAG = 4096; /* Field doesn't have default value */
  16. exports.ON_UPDATE_NOW_FLAG = 8192; /* Field is set to NOW on UPDATE */
  17. exports.NUM_FLAG = 32768; /* Field is num (for clients) */