Commit 2cdcf141 authored by Sergei Golubchik's avatar Sergei Golubchik

make myisamchk -d ignore HA_CREATE_RELIES_ON_SQL_LAYER

because it's only doing to show the table structure, not look
at the data.
parent 5d6aab80
......@@ -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)))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment