From 7c96e94813ba9d25b9c7da95854703f39225d7be Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 30 Aug 2006 13:42:31 +0500 Subject: bug#21676 select * from information_schema.files crashes server skip engine handling if engine is disabled --- sql/sql_show.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.1