BUG#17116: myisam_ftdump doesn't work with fulltext indexes using a parser plugin
Fixed that myisam_ftdump fails (error 138 that is HA_ERR_UNSUPPORTED) to open table with fulltext index with custom parser. storage/myisam/myisam_ftdump.c: Allow myisam_ftdump to open table with fulltext index with custom parser. This is implemented by passing HA_OPEN_FROM_SQL_LAYER flag to mi_open().
This commit is contained in:
parent
57aeec9a5c
commit
05c6c3866a
@ -86,7 +86,7 @@ int main(int argc,char *argv[])
|
||||
|
||||
init_key_cache(dflt_key_cache,MI_KEY_BLOCK_LENGTH,USE_BUFFER_INIT, 0, 0);
|
||||
|
||||
if (!(info=mi_open(argv[0],2,HA_OPEN_ABORT_IF_LOCKED)))
|
||||
if (!(info=mi_open(argv[0],2,HA_OPEN_ABORT_IF_LOCKED|HA_OPEN_FROM_SQL_LAYER)))
|
||||
{
|
||||
error=my_errno;
|
||||
goto err;
|
||||
|
Loading…
x
Reference in New Issue
Block a user