diff options
author | unknown <gluh@mysql.com/gluh.(none)> | 2006-08-30 13:42:31 +0500 |
---|---|---|
committer | unknown <gluh@mysql.com/gluh.(none)> | 2006-08-30 13:42:31 +0500 |
commit | 7c96e94813ba9d25b9c7da95854703f39225d7be (patch) | |
tree | d0f6e2445ba7bb3f6a6279441ff8ca75e6e4bc4e /sql/sql_show.cc | |
parent | 1f1539d9c719643e5549031c1851a319b9d6872a (diff) | |
download | mariadb-git-7c96e94813ba9d25b9c7da95854703f39225d7be.tar.gz |
bug#21676 select * from information_schema.files crashes server
skip engine handling if engine is disabled
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r-- | sql/sql_show.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc index 52c1f3a4312..7d953381c0d 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -5149,7 +5149,7 @@ static my_bool run_hton_fill_schema_files(THD *thd, st_plugin_int *plugin, struct run_hton_fill_schema_files_args *args= (run_hton_fill_schema_files_args *) arg; handlerton *hton= (handlerton *)plugin->data; - if(hton->fill_files_table) + if(hton->fill_files_table && hton->state == SHOW_OPTION_YES) hton->fill_files_table(thd, args->tables, args->cond); return false; } |