Skip to content

Commit

Permalink
make myisamchk -d ignore HA_CREATE_RELIES_ON_SQL_LAYER
Browse files Browse the repository at this point in the history
because it's only doing to show the table structure, not look
at the data.
  • Loading branch information
vuvova committed Dec 12, 2016
1 parent 5d6aab8 commit 2cdcf14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/myisam/myisamchk.c
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ static int myisamchk(HA_CHECK *param, char * filename)
if (param->testflag & T_WAIT_FOREVER)
open_flags|= HA_OPEN_WAIT_IF_LOCKED;
else if (param->testflag & T_DESCRIPT)
open_flags|= HA_OPEN_IGNORE_IF_LOCKED;
open_flags|= HA_OPEN_IGNORE_IF_LOCKED | HA_OPEN_FROM_SQL_LAYER;
else
open_flags|= HA_OPEN_ABORT_IF_LOCKED;
if (!(info=mi_open(filename, open_mode, open_flags)))
Expand Down

0 comments on commit 2cdcf14

Please sign in to comment.