Commit 05c6c386 authored by unknown's avatar unknown

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().
parent 57aeec9a
......@@ -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;
......
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