Loading include/myisam.h +6 −0 Original line number Diff line number Diff line Loading @@ -295,6 +295,12 @@ extern uint mi_get_pointer_length(ulonglong file_length, uint def); #define T_QUICK (1L << 30) #define T_RETRY_WITHOUT_QUICK (1L << 31) /* flags used by myisamchk.c or/and ha_myisam.cc that do NOT passed * to mi_check.c follows: * */ #define TT_USEFRM 1 #define O_NEW_INDEX 1 /* Bits set in out_flag */ #define O_NEW_DATA 2 #define O_DATA_LOST 4 Loading sql/sql_yacc.yy +2 −2 Original line number Diff line number Diff line Loading @@ -1326,7 +1326,7 @@ mi_repair_types: mi_repair_type: QUICK { Lex->check_opt.flags|= T_QUICK; } | EXTENDED_SYM { Lex->check_opt.flags|= T_EXTEND; } | USE_FRM { /*Lex->check_opt.flags|= T_USEFRM;*/ } | USE_FRM { Lex->check_opt.sql_flags|= TT_USEFRM; } analyze: ANALYZE_SYM table_or_tables Loading Loading
include/myisam.h +6 −0 Original line number Diff line number Diff line Loading @@ -295,6 +295,12 @@ extern uint mi_get_pointer_length(ulonglong file_length, uint def); #define T_QUICK (1L << 30) #define T_RETRY_WITHOUT_QUICK (1L << 31) /* flags used by myisamchk.c or/and ha_myisam.cc that do NOT passed * to mi_check.c follows: * */ #define TT_USEFRM 1 #define O_NEW_INDEX 1 /* Bits set in out_flag */ #define O_NEW_DATA 2 #define O_DATA_LOST 4 Loading
sql/sql_yacc.yy +2 −2 Original line number Diff line number Diff line Loading @@ -1326,7 +1326,7 @@ mi_repair_types: mi_repair_type: QUICK { Lex->check_opt.flags|= T_QUICK; } | EXTENDED_SYM { Lex->check_opt.flags|= T_EXTEND; } | USE_FRM { /*Lex->check_opt.flags|= T_USEFRM;*/ } | USE_FRM { Lex->check_opt.sql_flags|= TT_USEFRM; } analyze: ANALYZE_SYM table_or_tables Loading