mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Bug#29263 disabled storage engines omitted in SHOW ENGINES
Static disabled plugins|engines and dynamic plugins which installed but disabled are not visible in I_S PLUGINS|ENGINES tables because they are not stored into global plugin array. The fix: add such plugins|engines to plugin array with PLUGIN_IS_DISABLED status. I_S.ENGINES 'Transactions', 'XA', 'Savepoints' fields have NULL value in this case.
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
#
|
||||
disable_query_log;
|
||||
--require r/true.require
|
||||
select support = 'Disabled' as `TRUE` from information_schema.engines where engine = 'ndbcluster';
|
||||
select support = 'NO' as `TRUE` from information_schema.engines where engine = 'ndbcluster';
|
||||
enable_query_log;
|
||||
|
||||
|
||||
@ -16,4 +16,9 @@ create table t1 (id int) engine=NDB;
|
||||
alter table t1 engine=NDB;
|
||||
drop table t1;
|
||||
|
||||
|
||||
#
|
||||
# Bug#29263 disabled storage engines omitted in SHOW ENGINES
|
||||
#
|
||||
SELECT ENGINE, SUPPORT FROM INFORMATION_SCHEMA.ENGINES WHERE ENGINE='ndbcluster';
|
||||
SELECT PLUGIN_NAME, PLUGIN_STATUS FROM INFORMATION_SCHEMA.PLUGINS WHERE
|
||||
PLUGIN_NAME='ndbcluster';
|
||||
|
Reference in New Issue
Block a user