mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
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.
This commit is contained in:
parent
5d6aab809d
commit
2cdcf141f5
1 changed files with 1 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue