mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Fix for #126
sql/ha_myisam.cc: Flag added to turn on check sum recounting
This commit is contained in:
@@ -486,7 +486,7 @@ int ha_myisam::repair(THD* thd, HA_CHECK_OPT *check_opt)
|
||||
param.thd = thd;
|
||||
param.op_name = (char*) "repair";
|
||||
param.testflag = ((check_opt->flags & ~(T_EXTEND)) |
|
||||
T_SILENT | T_FORCE_CREATE |
|
||||
T_SILENT | T_FORCE_CREATE | T_CALC_CHECKSUM |
|
||||
(check_opt->flags & T_EXTEND ? T_REP : T_REP_BY_SORT));
|
||||
param.sort_buffer_length= check_opt->sort_buffer_size;
|
||||
start_records=file->state->records;
|
||||
|
||||
Reference in New Issue
Block a user