mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
XtraDB made the default
This commit is contained in:
@ -24,7 +24,7 @@ innodb-sys-foreign
|
|||||||
innodb-sys-foreign-col
|
innodb-sys-foreign-col
|
||||||
innodb-metrics
|
innodb-metrics
|
||||||
|
|
||||||
[innodb]
|
[xtradb]
|
||||||
innodb
|
innodb
|
||||||
innodb-cmpmem
|
innodb-cmpmem
|
||||||
innodb-trx
|
innodb-trx
|
||||||
|
@ -55,9 +55,6 @@ TRIGGERS
|
|||||||
USER_PRIVILEGES
|
USER_PRIVILEGES
|
||||||
USER_STATISTICS
|
USER_STATISTICS
|
||||||
VIEWS
|
VIEWS
|
||||||
XTRADB_INTERNAL_HASH_TABLES
|
|
||||||
XTRADB_READ_VIEW
|
|
||||||
XTRADB_RSEG
|
|
||||||
SELECT t.table_name, c1.column_name
|
SELECT t.table_name, c1.column_name
|
||||||
FROM information_schema.tables t
|
FROM information_schema.tables t
|
||||||
INNER JOIN
|
INNER JOIN
|
||||||
@ -127,9 +124,6 @@ TRIGGERS TRIGGER_SCHEMA
|
|||||||
USER_PRIVILEGES GRANTEE
|
USER_PRIVILEGES GRANTEE
|
||||||
USER_STATISTICS USER
|
USER_STATISTICS USER
|
||||||
VIEWS TABLE_SCHEMA
|
VIEWS TABLE_SCHEMA
|
||||||
XTRADB_INTERNAL_HASH_TABLES INTERNAL_HASH_TABLE_NAME
|
|
||||||
XTRADB_READ_VIEW READ_VIEW_UNDO_NUMBER
|
|
||||||
XTRADB_RSEG rseg_id
|
|
||||||
SELECT t.table_name, c1.column_name
|
SELECT t.table_name, c1.column_name
|
||||||
FROM information_schema.tables t
|
FROM information_schema.tables t
|
||||||
INNER JOIN
|
INNER JOIN
|
||||||
@ -199,9 +193,6 @@ TRIGGERS TRIGGER_SCHEMA
|
|||||||
USER_PRIVILEGES GRANTEE
|
USER_PRIVILEGES GRANTEE
|
||||||
USER_STATISTICS USER
|
USER_STATISTICS USER
|
||||||
VIEWS TABLE_SCHEMA
|
VIEWS TABLE_SCHEMA
|
||||||
XTRADB_INTERNAL_HASH_TABLES INTERNAL_HASH_TABLE_NAME
|
|
||||||
XTRADB_READ_VIEW READ_VIEW_UNDO_NUMBER
|
|
||||||
XTRADB_RSEG rseg_id
|
|
||||||
select 1 as "must be 1" from information_schema.tables where "ACCOUNTS"=
|
select 1 as "must be 1" from information_schema.tables where "ACCOUNTS"=
|
||||||
(select cast(table_name as char) from information_schema.tables
|
(select cast(table_name as char) from information_schema.tables
|
||||||
order by table_name limit 1) limit 1;
|
order by table_name limit 1) limit 1;
|
||||||
@ -276,9 +267,6 @@ TRIGGERS information_schema.TRIGGERS 1
|
|||||||
USER_PRIVILEGES information_schema.USER_PRIVILEGES 1
|
USER_PRIVILEGES information_schema.USER_PRIVILEGES 1
|
||||||
USER_STATISTICS information_schema.USER_STATISTICS 1
|
USER_STATISTICS information_schema.USER_STATISTICS 1
|
||||||
VIEWS information_schema.VIEWS 1
|
VIEWS information_schema.VIEWS 1
|
||||||
XTRADB_INTERNAL_HASH_TABLES information_schema.XTRADB_INTERNAL_HASH_TABLES 1
|
|
||||||
XTRADB_READ_VIEW information_schema.XTRADB_READ_VIEW 1
|
|
||||||
XTRADB_RSEG information_schema.XTRADB_RSEG 1
|
|
||||||
+---------------------------------------+
|
+---------------------------------------+
|
||||||
+---------------------------------------+
|
+---------------------------------------+
|
||||||
+---------------------------------------+
|
+---------------------------------------+
|
||||||
@ -338,9 +326,6 @@ Database: information_schema
|
|||||||
| USER_PRIVILEGES |
|
| USER_PRIVILEGES |
|
||||||
| USER_STATISTICS |
|
| USER_STATISTICS |
|
||||||
| VIEWS |
|
| VIEWS |
|
||||||
| XTRADB_INTERNAL_HASH_TABLES |
|
|
||||||
| XTRADB_READ_VIEW |
|
|
||||||
| XTRADB_RSEG |
|
|
||||||
+---------------------------------------+
|
+---------------------------------------+
|
||||||
+---------------------------------------+
|
+---------------------------------------+
|
||||||
+---------------------------------------+
|
+---------------------------------------+
|
||||||
@ -400,9 +385,6 @@ Database: INFORMATION_SCHEMA
|
|||||||
| USER_PRIVILEGES |
|
| USER_PRIVILEGES |
|
||||||
| USER_STATISTICS |
|
| USER_STATISTICS |
|
||||||
| VIEWS |
|
| VIEWS |
|
||||||
| XTRADB_INTERNAL_HASH_TABLES |
|
|
||||||
| XTRADB_READ_VIEW |
|
|
||||||
| XTRADB_RSEG |
|
|
||||||
+--------------------+
|
+--------------------+
|
||||||
+--------------------+
|
+--------------------+
|
||||||
+--------------------+
|
+--------------------+
|
||||||
@ -411,5 +393,5 @@ Wildcard: inf_rmation_schema
|
|||||||
| information_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;
|
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(*)
|
table_schema count(*)
|
||||||
information_schema 57
|
information_schema 54
|
||||||
mysql 30
|
mysql 30
|
||||||
|
@ -9,9 +9,9 @@ sub skip_combinations {
|
|||||||
# disable innodb/xtradb combinatons for configurations that were not built
|
# disable innodb/xtradb combinatons for configurations that were not built
|
||||||
push @combinations, 'innodb_plugin' unless $ENV{HA_INNODB_SO};
|
push @combinations, 'innodb_plugin' unless $ENV{HA_INNODB_SO};
|
||||||
|
|
||||||
# if something is compiled in, it's innodb. xtradb is MODULE_ONLY:
|
# if something is compiled in, it's xtradb. innodb is MODULE_ONLY:
|
||||||
push @combinations, 'innodb' unless $::mysqld_variables{'innodb'} eq "ON";
|
push @combinations, 'xtradb' unless $::mysqld_variables{'innodb'} eq "ON";
|
||||||
push @combinations, 'xtradb';
|
push @combinations, 'innodb';
|
||||||
|
|
||||||
# XtraDB is RECOMPILE_FOR_EMBEDDED, ha_xtradb.so cannot work with embedded server
|
# XtraDB is RECOMPILE_FOR_EMBEDDED, ha_xtradb.so cannot work with embedded server
|
||||||
push @combinations, 'xtradb_plugin' if not $ENV{HA_XTRADB_SO}
|
push @combinations, 'xtradb_plugin' if not $ENV{HA_XTRADB_SO}
|
||||||
|
@ -429,20 +429,6 @@ def information_schema VIEWS TABLE_CATALOG 1 NO varchar 512 1536 NULL NULL NULL
|
|||||||
def information_schema VIEWS TABLE_NAME 3 NO varchar 64 192 NULL NULL NULL utf8 utf8_general_ci varchar(64) select
|
def information_schema VIEWS TABLE_NAME 3 NO varchar 64 192 NULL NULL NULL utf8 utf8_general_ci varchar(64) select
|
||||||
def information_schema VIEWS TABLE_SCHEMA 2 NO varchar 64 192 NULL NULL NULL utf8 utf8_general_ci varchar(64) select
|
def information_schema VIEWS TABLE_SCHEMA 2 NO varchar 64 192 NULL NULL NULL utf8 utf8_general_ci varchar(64) select
|
||||||
def information_schema VIEWS VIEW_DEFINITION 4 NULL NO longtext 4294967295 4294967295 NULL NULL NULL utf8 utf8_general_ci longtext select
|
def information_schema VIEWS VIEW_DEFINITION 4 NULL NO longtext 4294967295 4294967295 NULL NULL NULL utf8 utf8_general_ci longtext select
|
||||||
def information_schema XTRADB_INTERNAL_HASH_TABLES CONSTANT_MEMORY 3 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
|
|
||||||
def information_schema XTRADB_INTERNAL_HASH_TABLES INTERNAL_HASH_TABLE_NAME 1 NO varchar 100 300 NULL NULL NULL utf8 utf8_general_ci varchar(100) select
|
|
||||||
def information_schema XTRADB_INTERNAL_HASH_TABLES TOTAL_MEMORY 2 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
|
|
||||||
def information_schema XTRADB_INTERNAL_HASH_TABLES VARIABLE_MEMORY 4 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
|
|
||||||
def information_schema XTRADB_READ_VIEW READ_VIEW_LOW_LIMIT_TRX_ID 4 NO varchar 18 54 NULL NULL NULL utf8 utf8_general_ci varchar(18) select
|
|
||||||
def information_schema XTRADB_READ_VIEW READ_VIEW_LOW_LIMIT_TRX_NUMBER 2 NO varchar 18 54 NULL NULL NULL utf8 utf8_general_ci varchar(18) select
|
|
||||||
def information_schema XTRADB_READ_VIEW READ_VIEW_UNDO_NUMBER 1 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
|
|
||||||
def information_schema XTRADB_READ_VIEW READ_VIEW_UPPER_LIMIT_TRX_ID 3 NO varchar 18 54 NULL NULL NULL utf8 utf8_general_ci varchar(18) select
|
|
||||||
def information_schema XTRADB_RSEG curr_size 6 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
|
|
||||||
def information_schema XTRADB_RSEG max_size 5 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
|
|
||||||
def information_schema XTRADB_RSEG page_no 4 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
|
|
||||||
def information_schema XTRADB_RSEG rseg_id 1 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
|
|
||||||
def information_schema XTRADB_RSEG space_id 2 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
|
|
||||||
def information_schema XTRADB_RSEG zip_size 3 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
|
|
||||||
##########################################################################
|
##########################################################################
|
||||||
# Show the quotient of CHARACTER_OCTET_LENGTH and CHARACTER_MAXIMUM_LENGTH
|
# Show the quotient of CHARACTER_OCTET_LENGTH and CHARACTER_MAXIMUM_LENGTH
|
||||||
##########################################################################
|
##########################################################################
|
||||||
@ -930,17 +916,3 @@ NULL information_schema USER_STATISTICS EMPTY_QUERIES bigint NULL NULL NULL NULL
|
|||||||
3.0000 information_schema VIEWS SECURITY_TYPE varchar 7 21 utf8 utf8_general_ci varchar(7)
|
3.0000 information_schema VIEWS SECURITY_TYPE varchar 7 21 utf8 utf8_general_ci varchar(7)
|
||||||
3.0000 information_schema VIEWS CHARACTER_SET_CLIENT varchar 32 96 utf8 utf8_general_ci varchar(32)
|
3.0000 information_schema VIEWS CHARACTER_SET_CLIENT varchar 32 96 utf8 utf8_general_ci varchar(32)
|
||||||
3.0000 information_schema VIEWS COLLATION_CONNECTION varchar 32 96 utf8 utf8_general_ci varchar(32)
|
3.0000 information_schema VIEWS COLLATION_CONNECTION varchar 32 96 utf8 utf8_general_ci varchar(32)
|
||||||
3.0000 information_schema XTRADB_INTERNAL_HASH_TABLES INTERNAL_HASH_TABLE_NAME varchar 100 300 utf8 utf8_general_ci varchar(100)
|
|
||||||
NULL information_schema XTRADB_INTERNAL_HASH_TABLES TOTAL_MEMORY bigint NULL NULL NULL NULL bigint(21) unsigned
|
|
||||||
NULL information_schema XTRADB_INTERNAL_HASH_TABLES CONSTANT_MEMORY bigint NULL NULL NULL NULL bigint(21) unsigned
|
|
||||||
NULL information_schema XTRADB_INTERNAL_HASH_TABLES VARIABLE_MEMORY bigint NULL NULL NULL NULL bigint(21) unsigned
|
|
||||||
NULL information_schema XTRADB_READ_VIEW READ_VIEW_UNDO_NUMBER bigint NULL NULL NULL NULL bigint(21) unsigned
|
|
||||||
3.0000 information_schema XTRADB_READ_VIEW READ_VIEW_LOW_LIMIT_TRX_NUMBER varchar 18 54 utf8 utf8_general_ci varchar(18)
|
|
||||||
3.0000 information_schema XTRADB_READ_VIEW READ_VIEW_UPPER_LIMIT_TRX_ID varchar 18 54 utf8 utf8_general_ci varchar(18)
|
|
||||||
3.0000 information_schema XTRADB_READ_VIEW READ_VIEW_LOW_LIMIT_TRX_ID varchar 18 54 utf8 utf8_general_ci varchar(18)
|
|
||||||
NULL information_schema XTRADB_RSEG rseg_id bigint NULL NULL NULL NULL bigint(21) unsigned
|
|
||||||
NULL information_schema XTRADB_RSEG space_id bigint NULL NULL NULL NULL bigint(21) unsigned
|
|
||||||
NULL information_schema XTRADB_RSEG zip_size bigint NULL NULL NULL NULL bigint(21) unsigned
|
|
||||||
NULL information_schema XTRADB_RSEG page_no bigint NULL NULL NULL NULL bigint(21) unsigned
|
|
||||||
NULL information_schema XTRADB_RSEG max_size bigint NULL NULL NULL NULL bigint(21) unsigned
|
|
||||||
NULL information_schema XTRADB_RSEG curr_size bigint NULL NULL NULL NULL bigint(21) unsigned
|
|
||||||
|
@ -386,6 +386,7 @@ IF(WITH_INNODB)
|
|||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
MYSQL_ADD_PLUGIN(innobase ${INNOBASE_SOURCES} STORAGE_ENGINE
|
MYSQL_ADD_PLUGIN(innobase ${INNOBASE_SOURCES} STORAGE_ENGINE
|
||||||
DEFAULT
|
MODULE_ONLY
|
||||||
MODULE_OUTPUT_NAME ha_innodb
|
MODULE_OUTPUT_NAME ha_innodb
|
||||||
LINK_LIBRARIES ${ZLIB_LIBRARY} ${LINKER_SCRIPT})
|
LINK_LIBRARIES ${ZLIB_LIBRARY} ${LINKER_SCRIPT})
|
||||||
|
|
||||||
|
@ -406,9 +406,10 @@ ENDIF()
|
|||||||
|
|
||||||
IF(XTRADB_OK)
|
IF(XTRADB_OK)
|
||||||
MYSQL_ADD_PLUGIN(xtradb ${INNOBASE_SOURCES} STORAGE_ENGINE
|
MYSQL_ADD_PLUGIN(xtradb ${INNOBASE_SOURCES} STORAGE_ENGINE
|
||||||
MODULE_ONLY RECOMPILE_FOR_EMBEDDED
|
DEFAULT
|
||||||
|
RECOMPILE_FOR_EMBEDDED
|
||||||
LINK_LIBRARIES ${ZLIB_LIBRARY} ${LINKER_SCRIPT})
|
LINK_LIBRARIES ${ZLIB_LIBRARY} ${LINKER_SCRIPT})
|
||||||
ELSE()
|
ELSE()
|
||||||
MESSAGE("Percona XtraDB is not supported on this platform")
|
MESSAGE(FATAL_ERROR "Percona XtraDB is not supported on this platform")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user