mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-3807 show plugins soname 'xxx'
and INFORMATION_SCHEMA.ALL_PLUGINS table with condition pushdown for I_S.ALL_PLUGINS and a new status variable to cound successful dlopen's
This commit is contained in:
@ -36,6 +36,7 @@ KEY_COLUMN_USAGE CONSTRAINT_SCHEMA
|
||||
PARAMETERS SPECIFIC_SCHEMA
|
||||
PARTITIONS TABLE_SCHEMA
|
||||
PLUGINS PLUGIN_NAME
|
||||
ALL_PLUGINS PLUGIN_NAME
|
||||
PROCESSLIST ID
|
||||
PROFILING QUERY_ID
|
||||
REFERENTIAL_CONSTRAINTS CONSTRAINT_SCHEMA
|
||||
@ -88,6 +89,7 @@ KEY_COLUMN_USAGE CONSTRAINT_SCHEMA
|
||||
PARAMETERS SPECIFIC_SCHEMA
|
||||
PARTITIONS TABLE_SCHEMA
|
||||
PLUGINS PLUGIN_NAME
|
||||
ALL_PLUGINS PLUGIN_NAME
|
||||
PROCESSLIST ID
|
||||
PROFILING QUERY_ID
|
||||
REFERENTIAL_CONSTRAINTS CONSTRAINT_SCHEMA
|
||||
|
@ -46,6 +46,7 @@ table_name not like 'ndb_%' AND table_name not like 'innodb_%' AND
|
||||
table_name not like 'pbxt_%' AND table_name not like 'xtradb_%';
|
||||
select * from v1;
|
||||
c
|
||||
ALL_PLUGINS
|
||||
CHARACTER_SETS
|
||||
CLIENT_STATISTICS
|
||||
COLLATIONS
|
||||
@ -802,6 +803,7 @@ information_schema PARTITIONS PARTITION_EXPRESSION
|
||||
information_schema PARTITIONS SUBPARTITION_EXPRESSION
|
||||
information_schema PARTITIONS PARTITION_DESCRIPTION
|
||||
information_schema PLUGINS PLUGIN_DESCRIPTION
|
||||
information_schema ALL_PLUGINS PLUGIN_DESCRIPTION
|
||||
information_schema PROCESSLIST INFO
|
||||
information_schema ROUTINES DTD_IDENTIFIER
|
||||
information_schema ROUTINES ROUTINE_DEFINITION
|
||||
@ -1180,7 +1182,7 @@ group by column_type order by num;
|
||||
column_type group_concat(table_schema, '.', table_name) num
|
||||
varchar(27) information_schema.COLUMNS 1
|
||||
varchar(7) information_schema.ROUTINES,information_schema.VIEWS 2
|
||||
varchar(20) information_schema.FILES,information_schema.FILES,information_schema.PLUGINS,information_schema.PLUGINS,information_schema.PLUGINS,information_schema.PROFILING 6
|
||||
varchar(20) information_schema.FILES,information_schema.FILES,information_schema.PLUGINS,information_schema.PLUGINS,information_schema.PLUGINS,information_schema.ALL_PLUGINS,information_schema.ALL_PLUGINS,information_schema.ALL_PLUGINS,information_schema.PROFILING 9
|
||||
create table t1(f1 char(1) not null, f2 char(9) not null)
|
||||
default character set utf8;
|
||||
select CHARACTER_MAXIMUM_LENGTH, CHARACTER_OCTET_LENGTH from
|
||||
|
@ -1,6 +1,7 @@
|
||||
use INFORMATION_SCHEMA;
|
||||
show tables;
|
||||
Tables_in_information_schema
|
||||
ALL_PLUGINS
|
||||
CHARACTER_SETS
|
||||
CLIENT_STATISTICS
|
||||
COLLATIONS
|
||||
@ -74,6 +75,7 @@ c2.table_name = t.table_name AND
|
||||
c2.column_name LIKE '%SCHEMA%'
|
||||
) order by t.table_name;
|
||||
table_name column_name
|
||||
ALL_PLUGINS PLUGIN_NAME
|
||||
CHARACTER_SETS CHARACTER_SET_NAME
|
||||
CLIENT_STATISTICS CLIENT
|
||||
COLLATIONS COLLATION_NAME
|
||||
@ -147,6 +149,7 @@ c2.table_name = t.table_name AND
|
||||
c2.column_name LIKE '%SCHEMA%'
|
||||
) order by t.table_name;
|
||||
table_name column_name
|
||||
ALL_PLUGINS PLUGIN_NAME
|
||||
CHARACTER_SETS CHARACTER_SET_NAME
|
||||
CLIENT_STATISTICS CLIENT
|
||||
COLLATIONS COLLATION_NAME
|
||||
@ -205,7 +208,7 @@ USER_PRIVILEGES GRANTEE
|
||||
USER_STATISTICS USER
|
||||
VIEWS TABLE_SCHEMA
|
||||
XTRADB_ADMIN_COMMAND result_message
|
||||
select 1 as f1 from information_schema.tables where "CHARACTER_SETS"=
|
||||
select 1 as f1 from information_schema.tables where "ALL_PLUGINS"=
|
||||
(select cast(table_name as char) from information_schema.tables
|
||||
order by table_name limit 1) limit 1;
|
||||
f1
|
||||
@ -226,6 +229,7 @@ c2.table_schema='information_schema' and
|
||||
group by c2.column_type order by num limit 1)
|
||||
group by t.table_name order by num1, t.table_name;
|
||||
table_name group_concat(t.table_schema, '.', t.table_name) num1
|
||||
ALL_PLUGINS information_schema.ALL_PLUGINS 1
|
||||
CHARACTER_SETS information_schema.CHARACTER_SETS 1
|
||||
CLIENT_STATISTICS information_schema.CLIENT_STATISTICS 1
|
||||
COLLATIONS information_schema.COLLATIONS 1
|
||||
@ -288,6 +292,7 @@ VIEWS information_schema.VIEWS 1
|
||||
+---------------------------------------+
|
||||
Database: information_schema
|
||||
| Tables |
|
||||
| ALL_PLUGINS |
|
||||
| CHARACTER_SETS |
|
||||
| CLIENT_STATISTICS |
|
||||
| COLLATIONS |
|
||||
@ -351,6 +356,7 @@ Database: information_schema
|
||||
+---------------------------------------+
|
||||
Database: INFORMATION_SCHEMA
|
||||
| Tables |
|
||||
| ALL_PLUGINS |
|
||||
| CHARACTER_SETS |
|
||||
| CLIENT_STATISTICS |
|
||||
| COLLATIONS |
|
||||
@ -417,5 +423,5 @@ Wildcard: inf_rmation_schema
|
||||
| information_schema |
|
||||
SELECT table_schema, count(*) FROM information_schema.TABLES WHERE table_schema IN ('mysql', 'INFORMATION_SCHEMA', 'test', 'mysqltest') AND table_name<>'ndb_binlog_index' AND table_name<>'ndb_apply_status' GROUP BY TABLE_SCHEMA;
|
||||
table_schema count(*)
|
||||
information_schema 58
|
||||
information_schema 59
|
||||
mysql 26
|
||||
|
Reference in New Issue
Block a user