144
144
uses a primary key. Without primary key, we can't call position().
146
146
#define HA_PRIMARY_KEY_REQUIRED_FOR_POSITION (1 << 16)
147
#define HA_CAN_RTREEKEYS (1 << 17)
147
#define HA_CAN_RTREEKEYS (1 << 17) /* Historical, no longer supported */
148
148
#define HA_NOT_DELETE_WITH_CACHE (1 << 18)
150
150
The following is we need to a primary key to delete (and update) a row.
153
153
#define HA_PRIMARY_KEY_REQUIRED_FOR_DELETE (1 << 19)
154
154
#define HA_NO_PREFIX_CHAR_KEYS (1 << 20)
155
#define HA_CAN_FULLTEXT (1 << 21)
156
#define HA_CAN_SQL_HANDLER (1 << 22)
155
#define HA_CAN_FULLTEXT (1 << 21) /* Historical, no longer supported */
156
#define HA_CAN_SQL_HANDLER (1 << 22) /* Historical, no longer supported */
157
157
#define HA_NO_AUTO_INCREMENT (1 << 23)
158
158
#define HA_HAS_CHECKSUM (1 << 24)
159
159
/* Table data are stored in separate files (for lower_case_table_names) */
160
160
#define HA_FILE_BASED (1 << 26)
161
#define HA_NO_VARCHAR (1 << 27)
162
#define HA_CAN_BIT_FIELD (1 << 28) /* supports bit fields */
161
#define HA_NO_VARCHAR (1 << 27) /* Historical, no longer supported */
162
#define HA_CAN_BIT_FIELD (1 << 28) /* Historical, no longer supported */
163
163
#define HA_NEED_READ_RANGE_BUFFER (1 << 29) /* for read_multi_range */
164
164
#define HA_ANY_INDEX_MAY_BE_UNIQUE (1 << 30)
165
165
#define HA_NO_COPY_ON_ALTER (1LL << 31)
166
166
#define HA_HAS_RECORDS (1LL << 32) /* records() gives exact count*/
167
167
/* Has it's own method of binlog logging */
168
#define HA_HAS_OWN_BINLOGGING (1LL << 33)
168
#define HA_HAS_OWN_BINLOGGING (1LL << 33) /* Historical, no longer supported */
169
169
#define HA_MRR_CANT_SORT (1LL << 34)
344
344
/* Bits in used_fields */
345
345
#define HA_CREATE_USED_AUTO (1L << 0)
346
#define HA_CREATE_USED_RAID (1L << 1) //RAID is no longer availble
346
#define HA_CREATE_USED_RAID (1L << 1) /* Historical, no longer supported */
347
347
#define HA_CREATE_USED_UNION (1L << 2)
348
348
#define HA_CREATE_USED_INSERT_METHOD (1L << 3)
349
349
#define HA_CREATE_USED_MIN_ROWS (1L << 4)