385
385
#define mi_test_if_nod(x) (x[0] & 128 ? info->s->base.key_reflength : 0)
386
386
#define mi_report_crashed(A, B) _mi_report_crashed((A), (B), __FILE__, __LINE__)
387
387
#define mi_mark_crashed(x) do{(x)->s->state.changed|= STATE_CRASHED; \
389
388
mi_report_crashed((x), 0); \
391
390
#define mi_mark_crashed_on_repair(x) do{(x)->s->state.changed|= \
392
391
STATE_CRASHED|STATE_CRASHED_ON_REPAIR; \
393
392
(x)->update|= HA_STATE_CHANGED; \
397
394
#define mi_is_crashed(x) ((x)->s->state.changed & STATE_CRASHED)
398
395
#define mi_is_crashed_on_repair(x) ((x)->s->state.changed & STATE_CRASHED_ON_REPAIR)
399
396
#define mi_print_error(SHARE, ERRNO) \
400
397
mi_report_error((ERRNO), (SHARE)->index_file_name)
408
399
/* Functions to store length of space packed keys, VARCHAR or BLOB keys */
410
401
#define store_key_length(key,length) \