Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
a41bfebf
Commit
a41bfebf
authored
Jun 07, 2010
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
after merge fix.
create st_maria_plugin declarations of new xtradb I_S tables
parent
f4d91898
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
65 additions
and
8 deletions
+65
-8
mysql-test/r/information_schema.result
mysql-test/r/information_schema.result
+2
-0
mysql-test/r/information_schema_all_engines.result
mysql-test/r/information_schema_all_engines.result
+18
-6
mysql-test/suite/pbxt/r/mysqlshow.result
mysql-test/suite/pbxt/r/mysqlshow.result
+6
-2
storage/xtradb/handler/ha_innodb.cc
storage/xtradb/handler/ha_innodb.cc
+2
-0
storage/xtradb/handler/i_s.cc
storage/xtradb/handler/i_s.cc
+35
-0
storage/xtradb/handler/i_s.h
storage/xtradb/handler/i_s.h
+2
-0
No files found.
mysql-test/r/information_schema.result
View file @
a41bfebf
...
...
@@ -67,6 +67,8 @@ INNODB_INDEX_STATS
INNODB_LOCKS
INNODB_LOCK_WAITS
INNODB_RSEG
INNODB_SYS_INDEXES
INNODB_SYS_TABLES
INNODB_TABLE_STATS
INNODB_TRX
KEY_CACHES
...
...
mysql-test/r/information_schema_all_engines.result
View file @
a41bfebf
...
...
@@ -42,12 +42,14 @@ XTRADB_ENHANCEMENTS
INNODB_BUFFER_POOL_PAGES_INDEX
XTRADB_ADMIN_COMMAND
INNODB_TRX
INNODB_
CMP_RESET
INNODB_
SYS_TABLES
INNODB_LOCK_WAITS
INNODB_CMPMEM_RESET
INNODB_LOCKS
INNODB_CMPMEM
INNODB_TABLE_STATS
INNODB_SYS_INDEXES
INNODB_CMP_RESET
INNODB_BUFFER_POOL_PAGES_BLOB
INNODB_INDEX_STATS
SELECT t.table_name, c1.column_name
...
...
@@ -106,12 +108,14 @@ XTRADB_ENHANCEMENTS name
INNODB_BUFFER_POOL_PAGES_INDEX schema_name
XTRADB_ADMIN_COMMAND result_message
INNODB_TRX trx_id
INNODB_
CMP_RESET page_size
INNODB_
SYS_TABLES NAME
INNODB_LOCK_WAITS requesting_trx_id
INNODB_CMPMEM_RESET page_size
INNODB_LOCKS lock_id
INNODB_CMPMEM page_size
INNODB_TABLE_STATS table_schema
INNODB_SYS_INDEXES TABLE_ID
INNODB_CMP_RESET page_size
INNODB_BUFFER_POOL_PAGES_BLOB space_id
INNODB_INDEX_STATS table_schema
SELECT t.table_name, c1.column_name
...
...
@@ -170,12 +174,14 @@ XTRADB_ENHANCEMENTS name
INNODB_BUFFER_POOL_PAGES_INDEX schema_name
XTRADB_ADMIN_COMMAND result_message
INNODB_TRX trx_id
INNODB_
CMP_RESET page_size
INNODB_
SYS_TABLES NAME
INNODB_LOCK_WAITS requesting_trx_id
INNODB_CMPMEM_RESET page_size
INNODB_LOCKS lock_id
INNODB_CMPMEM page_size
INNODB_TABLE_STATS table_schema
INNODB_SYS_INDEXES TABLE_ID
INNODB_CMP_RESET page_size
INNODB_BUFFER_POOL_PAGES_BLOB space_id
INNODB_INDEX_STATS table_schema
select 1 as f1 from information_schema.tables where "CHARACTER_SETS"=
...
...
@@ -222,6 +228,8 @@ INNODB_INDEX_STATS information_schema.INNODB_INDEX_STATS 1
INNODB_LOCKS information_schema.INNODB_LOCKS 1
INNODB_LOCK_WAITS information_schema.INNODB_LOCK_WAITS 1
INNODB_RSEG information_schema.INNODB_RSEG 1
INNODB_SYS_INDEXES information_schema.INNODB_SYS_INDEXES 1
INNODB_SYS_TABLES information_schema.INNODB_SYS_TABLES 1
INNODB_TABLE_STATS information_schema.INNODB_TABLE_STATS 1
INNODB_TRX information_schema.INNODB_TRX 1
KEY_CACHES information_schema.KEY_CACHES 1
...
...
@@ -292,12 +300,14 @@ Database: information_schema
| INNODB_BUFFER_POOL_PAGES_INDEX |
| XTRADB_ADMIN_COMMAND |
| INNODB_TRX |
| INNODB_
CMP_RESET
|
| INNODB_
SYS_TABLES
|
| INNODB_LOCK_WAITS |
| INNODB_CMPMEM_RESET |
| INNODB_LOCKS |
| INNODB_CMPMEM |
| INNODB_TABLE_STATS |
| INNODB_SYS_INDEXES |
| INNODB_CMP_RESET |
| INNODB_BUFFER_POOL_PAGES_BLOB |
| INNODB_INDEX_STATS |
+---------------------------------------+
...
...
@@ -346,12 +356,14 @@ Database: INFORMATION_SCHEMA
| INNODB_BUFFER_POOL_PAGES_INDEX |
| XTRADB_ADMIN_COMMAND |
| INNODB_TRX |
| INNODB_
CMP_RESET
|
| INNODB_
SYS_TABLES
|
| INNODB_LOCK_WAITS |
| INNODB_CMPMEM_RESET |
| INNODB_LOCKS |
| INNODB_CMPMEM |
| INNODB_TABLE_STATS |
| INNODB_SYS_INDEXES |
| INNODB_CMP_RESET |
| INNODB_BUFFER_POOL_PAGES_BLOB |
| INNODB_INDEX_STATS |
+---------------------------------------+
...
...
@@ -363,5 +375,5 @@ Wildcard: inf_rmation_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
49
information_schema
51
mysql 22
mysql-test/suite/pbxt/r/mysqlshow.result
View file @
a41bfebf
...
...
@@ -120,12 +120,14 @@ Database: information_schema
| INNODB_BUFFER_POOL_PAGES_INDEX |
| XTRADB_ADMIN_COMMAND |
| INNODB_TRX |
| INNODB_
CMP_RESET
|
| INNODB_
SYS_TABLES
|
| INNODB_LOCK_WAITS |
| INNODB_CMPMEM_RESET |
| INNODB_LOCKS |
| INNODB_CMPMEM |
| INNODB_TABLE_STATS |
| INNODB_SYS_INDEXES |
| INNODB_CMP_RESET |
| INNODB_BUFFER_POOL_PAGES_BLOB |
| INNODB_INDEX_STATS |
+---------------------------------------+
...
...
@@ -174,12 +176,14 @@ Database: INFORMATION_SCHEMA
| INNODB_BUFFER_POOL_PAGES_INDEX |
| XTRADB_ADMIN_COMMAND |
| INNODB_TRX |
| INNODB_
CMP_RESET
|
| INNODB_
SYS_TABLES
|
| INNODB_LOCK_WAITS |
| INNODB_CMPMEM_RESET |
| INNODB_LOCKS |
| INNODB_CMPMEM |
| INNODB_TABLE_STATS |
| INNODB_SYS_INDEXES |
| INNODB_CMP_RESET |
| INNODB_BUFFER_POOL_PAGES_BLOB |
| INNODB_INDEX_STATS |
+---------------------------------------+
...
...
storage/xtradb/handler/ha_innodb.cc
View file @
a41bfebf
...
...
@@ -10994,6 +10994,8 @@ i_s_innodb_cmpmem_reset_maria,
i_s_innodb_table_stats_maria
,
i_s_innodb_index_stats_maria
,
i_s_innodb_admin_command_maria
,
i_s_innodb_sys_tables_maria
,
i_s_innodb_sys_indexes_maria
,
i_s_innodb_patches_maria
maria_declare_plugin_end
;
...
...
storage/xtradb/handler/i_s.cc
View file @
a41bfebf
...
...
@@ -4341,6 +4341,23 @@ UNIV_INTERN struct st_mysql_plugin i_s_innodb_sys_tables =
STRUCT_FLD
(
__reserved1
,
NULL
)
};
UNIV_INTERN
struct
st_maria_plugin
i_s_innodb_sys_tables_maria
=
{
STRUCT_FLD
(
type
,
MYSQL_INFORMATION_SCHEMA_PLUGIN
),
STRUCT_FLD
(
info
,
&
i_s_info
),
STRUCT_FLD
(
name
,
"INNODB_SYS_TABLES"
),
STRUCT_FLD
(
author
,
plugin_author
),
STRUCT_FLD
(
descr
,
"InnoDB SYS_TABLES table"
),
STRUCT_FLD
(
license
,
PLUGIN_LICENSE_GPL
),
STRUCT_FLD
(
init
,
i_s_innodb_sys_tables_init
),
STRUCT_FLD
(
deinit
,
i_s_common_deinit
),
STRUCT_FLD
(
version
,
0x0100
/* 1.0 */
),
STRUCT_FLD
(
status_vars
,
NULL
),
STRUCT_FLD
(
system_vars
,
NULL
),
STRUCT_FLD
(
version_info
,
"1.0"
),
STRUCT_FLD
(
maturity
,
MariaDB_PLUGIN_MATURITY_BETA
)
};
UNIV_INTERN
struct
st_mysql_plugin
i_s_innodb_sys_indexes
=
{
STRUCT_FLD
(
type
,
MYSQL_INFORMATION_SCHEMA_PLUGIN
),
...
...
@@ -4356,3 +4373,21 @@ UNIV_INTERN struct st_mysql_plugin i_s_innodb_sys_indexes =
STRUCT_FLD
(
system_vars
,
NULL
),
STRUCT_FLD
(
__reserved1
,
NULL
)
};
UNIV_INTERN
struct
st_maria_plugin
i_s_innodb_sys_indexes_maria
=
{
STRUCT_FLD
(
type
,
MYSQL_INFORMATION_SCHEMA_PLUGIN
),
STRUCT_FLD
(
info
,
&
i_s_info
),
STRUCT_FLD
(
name
,
"INNODB_SYS_INDEXES"
),
STRUCT_FLD
(
author
,
plugin_author
),
STRUCT_FLD
(
descr
,
"InnoDB SYS_INDEXES table"
),
STRUCT_FLD
(
license
,
PLUGIN_LICENSE_GPL
),
STRUCT_FLD
(
init
,
i_s_innodb_sys_indexes_init
),
STRUCT_FLD
(
deinit
,
i_s_common_deinit
),
STRUCT_FLD
(
version
,
0x0100
/* 1.0 */
),
STRUCT_FLD
(
status_vars
,
NULL
),
STRUCT_FLD
(
system_vars
,
NULL
),
STRUCT_FLD
(
version_info
,
"1.0"
),
STRUCT_FLD
(
maturity
,
MariaDB_PLUGIN_MATURITY_BETA
)
};
storage/xtradb/handler/i_s.h
View file @
a41bfebf
...
...
@@ -59,5 +59,7 @@ extern struct st_maria_plugin i_s_innodb_rseg_maria;
extern
struct
st_maria_plugin
i_s_innodb_table_stats_maria
;
extern
struct
st_maria_plugin
i_s_innodb_index_stats_maria
;
extern
struct
st_maria_plugin
i_s_innodb_admin_command_maria
;
extern
struct
st_maria_plugin
i_s_innodb_sys_tables_maria
;
extern
struct
st_maria_plugin
i_s_innodb_sys_indexes_maria
;
#endif
/* i_s_h */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment