~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/myisamdef.h

Removed old test scripts and source files from Makefile and directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
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; \
388
 
                              DBUG_PRINT("error", ("Marked table crashed")); \
389
388
                              mi_report_crashed((x), 0); \
390
389
                           }while(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; \
394
 
                                        DBUG_PRINT("error", \
395
 
                                                   ("Marked table crashed")); \
396
393
                                     }while(0)
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)
401
398
 
402
 
C_MODE_START
403
 
void _mi_report_crashed(MI_INFO *file __attribute__((unused)),
404
 
                        const char *message __attribute__((unused)),
405
 
                        const char *sfile __attribute__((unused)),
406
 
                        uint sline __attribute__((unused)));
407
 
C_MODE_END
408
399
/* Functions to store length of space packed keys, VARCHAR or BLOB keys */
409
400
 
410
401
#define store_key_length(key,length) \