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
865c56b8
Commit
865c56b8
authored
Feb 23, 2012
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't even try to run xtradb-only tests with innodb, use have_xtradb.combinations.
parent
0e0ea84d
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
34 additions
and
138 deletions
+34
-138
mysql-test/include/have_xtradb.combinations
mysql-test/include/have_xtradb.combinations
+13
-0
mysql-test/include/have_xtradb.inc
mysql-test/include/have_xtradb.inc
+6
-1
mysql-test/include/have_xtradb.opt
mysql-test/include/have_xtradb.opt
+0
-2
mysql-test/r/information_schema_all_engines.result
mysql-test/r/information_schema_all_engines.result
+1
-115
mysql-test/r/merge_debug.result
mysql-test/r/merge_debug.result
+2
-0
mysql-test/suite.pm
mysql-test/suite.pm
+2
-2
mysql-test/suite/funcs_1/r/is_columns_is.result
mysql-test/suite/funcs_1/r/is_columns_is.result
+0
-6
mysql-test/suite/funcs_1/t/is_columns_is.test
mysql-test/suite/funcs_1/t/is_columns_is.test
+0
-2
mysql-test/suite/rpl/t/rpl_drop_temp.test
mysql-test/suite/rpl/t/rpl_drop_temp.test
+1
-1
mysql-test/suite/rpl/t/rpl_stop_slave.test
mysql-test/suite/rpl/t/rpl_stop_slave.test
+1
-1
mysql-test/suite/rpl/t/rpl_variables_stm.test
mysql-test/suite/rpl/t/rpl_variables_stm.test
+1
-1
mysql-test/suite/vcol/t/vcol_partition_innodb.test
mysql-test/suite/vcol/t/vcol_partition_innodb.test
+4
-5
mysql-test/t/information_schema_all_engines.test
mysql-test/t/information_schema_all_engines.test
+0
-1
mysql-test/t/merge_debug.test
mysql-test/t/merge_debug.test
+3
-1
No files found.
mysql-test/include/have_xtradb.combinations
0 → 100644
View file @
865c56b8
[xtradb_plugin]
ignore-builtin-innodb
plugin-load=$HA_XTRADB_SO
innodb
innodb-cmpmem
innodb-trx
xtradb-admin-command
[xtradb]
innodb
innodb-cmpmem
innodb-trx
xtradb-admin-command
mysql-test/include/have_xtradb.inc
View file @
865c56b8
--
source
include
/
have_innodb
.
inc
#
# suite.pm will make sure that all tests including this file
# will be skipped unless xtradb is enabled
#
# The test below is redundant
if
(
!
`SELECT count(*) FROM information_schema.plugins WHERE
plugin_name = 'innodb' AND plugin_status = 'active' AND
plugin_description LIKE '%xtradb%'`
){
...
...
mysql-test/include/have_xtradb.opt
deleted
100644 → 0
View file @
0e0ea84d
--loose-innodb
--plugin-load=$HA_XTRADB_SO
mysql-test/r/information_schema_all_engines.result
View file @
865c56b8
...
...
@@ -13,32 +13,13 @@ FILES
GLOBAL_STATUS
GLOBAL_VARIABLES
INDEX_STATISTICS
INNODB_BUFFER_POOL_PAGES
INNODB_BUFFER_POOL_PAGES_BLOB
INNODB_BUFFER_POOL_PAGES_INDEX
INNODB_CMP
INNODB_CMPMEM
INNODB_CMPMEM_RESET
INNODB_CMP_RESET
INNODB_INDEX_STATS
INNODB_LOCKS
INNODB_LOCK_WAITS
INNODB_RSEG
INNODB_SYS_COLUMNS
INNODB_SYS_FIELDS
INNODB_SYS_FOREIGN
INNODB_SYS_FOREIGN_COLS
INNODB_SYS_INDEXES
INNODB_SYS_STATS
INNODB_SYS_TABLES
INNODB_SYS_TABLESTATS
INNODB_TABLE_STATS
INNODB_TRX
KEY_CACHES
KEY_COLUMN_USAGE
PARAMETERS
PARTITIONS
PBXT_STATISTICS
PLUGINS
PROCESSLIST
PROFILING
...
...
@@ -86,32 +67,13 @@ FILES TABLE_SCHEMA
GLOBAL_STATUS VARIABLE_NAME
GLOBAL_VARIABLES VARIABLE_NAME
INDEX_STATISTICS TABLE_SCHEMA
INNODB_BUFFER_POOL_PAGES page_type
INNODB_BUFFER_POOL_PAGES_BLOB space_id
INNODB_BUFFER_POOL_PAGES_INDEX index_id
INNODB_CMP page_size
INNODB_CMPMEM page_size
INNODB_CMPMEM_RESET page_size
INNODB_CMP_RESET page_size
INNODB_INDEX_STATS table_schema
INNODB_LOCKS lock_id
INNODB_LOCK_WAITS requesting_trx_id
INNODB_RSEG rseg_id
INNODB_SYS_COLUMNS TABLE_ID
INNODB_SYS_FIELDS INDEX_ID
INNODB_SYS_FOREIGN ID
INNODB_SYS_FOREIGN_COLS ID
INNODB_SYS_INDEXES INDEX_ID
INNODB_SYS_STATS INDEX_ID
INNODB_SYS_TABLES SCHEMA
INNODB_SYS_TABLESTATS SCHEMA
INNODB_TABLE_STATS table_schema
INNODB_TRX trx_id
KEY_CACHES KEY_CACHE_NAME
KEY_COLUMN_USAGE CONSTRAINT_SCHEMA
PARAMETERS SPECIFIC_SCHEMA
PARTITIONS TABLE_SCHEMA
PBXT_STATISTICS ID
PLUGINS PLUGIN_NAME
PROCESSLIST ID
PROFILING QUERY_ID
...
...
@@ -159,32 +121,13 @@ FILES TABLE_SCHEMA
GLOBAL_STATUS VARIABLE_NAME
GLOBAL_VARIABLES VARIABLE_NAME
INDEX_STATISTICS TABLE_SCHEMA
INNODB_BUFFER_POOL_PAGES page_type
INNODB_BUFFER_POOL_PAGES_BLOB space_id
INNODB_BUFFER_POOL_PAGES_INDEX index_id
INNODB_CMP page_size
INNODB_CMPMEM page_size
INNODB_CMPMEM_RESET page_size
INNODB_CMP_RESET page_size
INNODB_INDEX_STATS table_schema
INNODB_LOCKS lock_id
INNODB_LOCK_WAITS requesting_trx_id
INNODB_RSEG rseg_id
INNODB_SYS_COLUMNS TABLE_ID
INNODB_SYS_FIELDS INDEX_ID
INNODB_SYS_FOREIGN ID
INNODB_SYS_FOREIGN_COLS ID
INNODB_SYS_INDEXES INDEX_ID
INNODB_SYS_STATS INDEX_ID
INNODB_SYS_TABLES SCHEMA
INNODB_SYS_TABLESTATS SCHEMA
INNODB_TABLE_STATS table_schema
INNODB_TRX trx_id
KEY_CACHES KEY_CACHE_NAME
KEY_COLUMN_USAGE CONSTRAINT_SCHEMA
PARAMETERS SPECIFIC_SCHEMA
PARTITIONS TABLE_SCHEMA
PBXT_STATISTICS ID
PLUGINS PLUGIN_NAME
PROCESSLIST ID
PROFILING QUERY_ID
...
...
@@ -238,32 +181,13 @@ FILES information_schema.FILES 1
GLOBAL_STATUS information_schema.GLOBAL_STATUS 1
GLOBAL_VARIABLES information_schema.GLOBAL_VARIABLES 1
INDEX_STATISTICS information_schema.INDEX_STATISTICS 1
INNODB_BUFFER_POOL_PAGES information_schema.INNODB_BUFFER_POOL_PAGES 1
INNODB_BUFFER_POOL_PAGES_BLOB information_schema.INNODB_BUFFER_POOL_PAGES_BLOB 1
INNODB_BUFFER_POOL_PAGES_INDEX information_schema.INNODB_BUFFER_POOL_PAGES_INDEX 1
INNODB_CMP information_schema.INNODB_CMP 1
INNODB_CMPMEM information_schema.INNODB_CMPMEM 1
INNODB_CMPMEM_RESET information_schema.INNODB_CMPMEM_RESET 1
INNODB_CMP_RESET information_schema.INNODB_CMP_RESET 1
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_COLUMNS information_schema.INNODB_SYS_COLUMNS 1
INNODB_SYS_FIELDS information_schema.INNODB_SYS_FIELDS 1
INNODB_SYS_FOREIGN information_schema.INNODB_SYS_FOREIGN 1
INNODB_SYS_FOREIGN_COLS information_schema.INNODB_SYS_FOREIGN_COLS 1
INNODB_SYS_INDEXES information_schema.INNODB_SYS_INDEXES 1
INNODB_SYS_STATS information_schema.INNODB_SYS_STATS 1
INNODB_SYS_TABLES information_schema.INNODB_SYS_TABLES 1
INNODB_SYS_TABLESTATS information_schema.INNODB_SYS_TABLESTATS 1
INNODB_TABLE_STATS information_schema.INNODB_TABLE_STATS 1
INNODB_TRX information_schema.INNODB_TRX 1
KEY_CACHES information_schema.KEY_CACHES 1
KEY_COLUMN_USAGE information_schema.KEY_COLUMN_USAGE 1
PARAMETERS information_schema.PARAMETERS 1
PARTITIONS information_schema.PARTITIONS 1
PBXT_STATISTICS information_schema.PBXT_STATISTICS 1
PLUGINS information_schema.PLUGINS 1
PROCESSLIST information_schema.PROCESSLIST 1
PROFILING information_schema.PROFILING 1
...
...
@@ -300,32 +224,13 @@ Database: information_schema
| GLOBAL_STATUS |
| GLOBAL_VARIABLES |
| INDEX_STATISTICS |
| INNODB_BUFFER_POOL_PAGES |
| INNODB_BUFFER_POOL_PAGES_BLOB |
| INNODB_BUFFER_POOL_PAGES_INDEX |
| INNODB_CMP |
| INNODB_CMPMEM |
| INNODB_CMPMEM_RESET |
| INNODB_CMP_RESET |
| INNODB_INDEX_STATS |
| INNODB_LOCKS |
| INNODB_LOCK_WAITS |
| INNODB_RSEG |
| INNODB_SYS_COLUMNS |
| INNODB_SYS_FIELDS |
| INNODB_SYS_FOREIGN |
| INNODB_SYS_FOREIGN_COLS |
| INNODB_SYS_INDEXES |
| INNODB_SYS_STATS |
| INNODB_SYS_TABLES |
| INNODB_SYS_TABLESTATS |
| INNODB_TABLE_STATS |
| INNODB_TRX |
| KEY_CACHES |
| KEY_COLUMN_USAGE |
| PARAMETERS |
| PARTITIONS |
| PBXT_STATISTICS |
| PLUGINS |
| PROCESSLIST |
| PROFILING |
...
...
@@ -363,32 +268,13 @@ Database: INFORMATION_SCHEMA
| GLOBAL_STATUS |
| GLOBAL_VARIABLES |
| INDEX_STATISTICS |
| INNODB_BUFFER_POOL_PAGES |
| INNODB_BUFFER_POOL_PAGES_BLOB |
| INNODB_BUFFER_POOL_PAGES_INDEX |
| INNODB_CMP |
| INNODB_CMPMEM |
| INNODB_CMPMEM_RESET |
| INNODB_CMP_RESET |
| INNODB_INDEX_STATS |
| INNODB_LOCKS |
| INNODB_LOCK_WAITS |
| INNODB_RSEG |
| INNODB_SYS_COLUMNS |
| INNODB_SYS_FIELDS |
| INNODB_SYS_FOREIGN |
| INNODB_SYS_FOREIGN_COLS |
| INNODB_SYS_INDEXES |
| INNODB_SYS_STATS |
| INNODB_SYS_TABLES |
| INNODB_SYS_TABLESTATS |
| INNODB_TABLE_STATS |
| INNODB_TRX |
| KEY_CACHES |
| KEY_COLUMN_USAGE |
| PARAMETERS |
| PARTITIONS |
| PBXT_STATISTICS |
| PLUGINS |
| PROCESSLIST |
| PROFILING |
...
...
@@ -417,5 +303,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
39
mysql 23
mysql-test/r/merge_debug.result
View file @
865c56b8
set @default_storage_engine= @@global.storage_engine;
set global storage_engine=myisam;
set session storage_engine=myisam;
drop table if exists crashed,t2,t3,t4;
...
...
@@ -22,3 +23,4 @@ INSERT INTO t3 VALUES (31);
UNLOCK TABLES;
DROP TRIGGER t1_ai;
DROP TABLE t4,crashed,t2,t3;
set global storage_engine=@default_storage_engine;
mysql-test/suite.pm
View file @
865c56b8
...
...
@@ -10,7 +10,8 @@ sub skip_combinations {
push
@combinations
,
'
xtradb_plugin
'
unless
$ENV
{
HA_XTRADB_SO
};
push
@combinations
,
'
xtradb
'
unless
$::mysqld_variables
{'
innodb
'}
eq
"
ON
";
my
%
skip
=
(
'
include/have_innodb.combinations
'
=>
[
@combinations
]);
my
%
skip
=
(
'
include/have_innodb.combinations
'
=>
[
@combinations
],
'
include/have_xtradb.combinations
'
=>
[
@combinations
]);
# as a special case, disable certain include files as a whole
$skip
{'
include/not_embedded.inc
'}
=
'
Not run for embedded server
'
...
...
@@ -30,6 +31,5 @@ sub skip_combinations {
%
skip
;
}
bless
{
};
mysql-test/suite/funcs_1/r/is_columns_is.result
View file @
865c56b8
...
...
@@ -206,9 +206,6 @@ def information_schema PARTITIONS TABLE_NAME 3 NO varchar 64 192 NULL NULL NULL
def information_schema PARTITIONS TABLE_ROWS 13 0 NO bigint NULL NULL 20 0 NULL NULL NULL bigint(21) unsigned select
def information_schema PARTITIONS TABLE_SCHEMA 2 NO varchar 64 192 NULL NULL NULL utf8 utf8_general_ci varchar(64) select
def information_schema PARTITIONS UPDATE_TIME 20 NULL YES datetime NULL NULL NULL NULL 0 NULL NULL datetime select
def information_schema PBXT_STATISTICS ID 1 0 NO int NULL NULL 10 0 NULL NULL NULL int(4) select
def information_schema PBXT_STATISTICS Name 2 NO varchar 40 120 NULL NULL NULL utf8 utf8_general_ci varchar(40) select
def information_schema PBXT_STATISTICS Value 3 0 NO bigint NULL NULL 19 0 NULL NULL NULL bigint(8) select
def information_schema PLUGINS LOAD_OPTION 11 NO varchar 64 192 NULL NULL NULL utf8 utf8_general_ci varchar(64) select
def information_schema PLUGINS PLUGIN_AUTHOR 8 NULL YES varchar 64 192 NULL NULL NULL utf8 utf8_general_ci varchar(64) select
def information_schema PLUGINS PLUGIN_AUTH_VERSION 13 NULL YES varchar 80 240 NULL NULL NULL utf8 utf8_general_ci varchar(80) select
...
...
@@ -677,9 +674,6 @@ NULL information_schema PARTITIONS CHECKSUM bigint NULL NULL NULL NULL bigint(21
3.0000 information_schema PARTITIONS PARTITION_COMMENT varchar 80 240 utf8 utf8_general_ci varchar(80)
3.0000 information_schema PARTITIONS NODEGROUP varchar 12 36 utf8 utf8_general_ci varchar(12)
3.0000 information_schema PARTITIONS TABLESPACE_NAME varchar 64 192 utf8 utf8_general_ci varchar(64)
NULL information_schema PBXT_STATISTICS ID int NULL NULL NULL NULL int(4)
3.0000 information_schema PBXT_STATISTICS Name varchar 40 120 utf8 utf8_general_ci varchar(40)
NULL information_schema PBXT_STATISTICS Value bigint NULL NULL NULL NULL bigint(8)
3.0000 information_schema PLUGINS PLUGIN_NAME varchar 64 192 utf8 utf8_general_ci varchar(64)
3.0000 information_schema PLUGINS PLUGIN_VERSION varchar 20 60 utf8 utf8_general_ci varchar(20)
3.0000 information_schema PLUGINS PLUGIN_STATUS varchar 10 30 utf8 utf8_general_ci varchar(10)
...
...
mysql-test/suite/funcs_1/t/is_columns_is.test
View file @
865c56b8
...
...
@@ -17,8 +17,6 @@
--
source
include
/
not_embedded
.
inc
# This test depends on having the PBXT information_schema stuff.
--
source
include
/
have_pbxt
.
inc
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_xtradb
.
inc
let
$my_where
=
WHERE
table_schema
=
'information_schema'
...
...
mysql-test/suite/rpl/t/rpl_drop_temp.test
View file @
865c56b8
...
...
@@ -5,8 +5,8 @@
# Purpose: According to TU in 16552 This is how
# to work around NDB's issue with temp tables
##############################################
source
include
/
master
-
slave
.
inc
;
source
include
/
have_binlog_format_mixed_or_statement
.
inc
;
source
include
/
master
-
slave
.
inc
;
--
disable_warnings
create
database
if
not
exists
mysqltest
;
...
...
mysql-test/suite/rpl/t/rpl_stop_slave.test
View file @
865c56b8
source
include
/
master
-
slave
.
inc
;
source
include
/
have_innodb
.
inc
;
source
include
/
have_debug
.
inc
;
source
include
/
have_debug_sync
.
inc
;
source
include
/
have_binlog_format_mixed_or_statement
.
inc
;
source
include
/
master
-
slave
.
inc
;
--
echo
--
echo
# BUG#56118 STOP SLAVE does not wait till trx with CREATE TMP TABLE ends
...
...
mysql-test/suite/rpl/t/rpl_variables_stm.test
View file @
865c56b8
...
...
@@ -52,8 +52,8 @@
# safely in statement mode are replicated correctly in mixed or row
# mode.
source
include
/
master
-
slave
.
inc
;
source
include
/
have_binlog_format_mixed_or_statement
.
inc
;
source
include
/
master
-
slave
.
inc
;
call
mtr
.
add_suppression
(
"Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT"
);
...
...
mysql-test/suite/vcol/t/vcol_partition_innodb.test
View file @
865c56b8
...
...
@@ -13,7 +13,6 @@
# Change Date: #
# Change: #
################################################################################
--
source
include
/
have_partition
.
inc
#
# NOTE: PLEASE DO NOT ADD NOT MYISAM SPECIFIC TESTCASES HERE !
...
...
@@ -23,11 +22,11 @@
#------------------------------------------------------------------------------#
# General not engine specific settings and requirements
--
source
suite
/
vcol
/
inc
/
vcol_init_vars
.
pre
--
source
inc
/
vcol_init_vars
.
pre
#------------------------------------------------------------------------------#
# Cleanup
--
source
suite
/
vcol
/
inc
/
vcol_cleanup
.
inc
--
source
inc
/
vcol_cleanup
.
inc
#------------------------------------------------------------------------------#
# Engine specific settings and requirements
...
...
@@ -42,11 +41,11 @@ eval SET @@session.storage_engine = 'InnoDB';
#------------------------------------------------------------------------------#
# Execute the tests to be applied to all storage engines
--
source
suite
/
vcol
/
inc
/
vcol_partition
.
inc
--
source
inc
/
vcol_partition
.
inc
#------------------------------------------------------------------------------#
# Execute storage engine specific tests
#------------------------------------------------------------------------------#
# Cleanup
--
source
suite
/
vcol
/
inc
/
vcol_cleanup
.
inc
--
source
inc
/
vcol_cleanup
.
inc
mysql-test/t/information_schema_all_engines.test
View file @
865c56b8
...
...
@@ -3,7 +3,6 @@
# available (since these engines inject tables into INFORMATION_SCHEMA).
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_pbxt
.
inc
--
source
include
/
have_xtradb
.
inc
--
source
include
/
not_staging
.
inc
...
...
mysql-test/t/merge_debug.test
View file @
865c56b8
...
...
@@ -4,7 +4,7 @@
--
source
include
/
have_debug
.
inc
let
$default
=
`select @@global.storage_engine`
;
set
@
default_storage_engine
=
@@
global
.
storage_engine
;
set
global
storage_engine
=
myisam
;
set
session
storage_engine
=
myisam
;
...
...
@@ -40,3 +40,5 @@ INSERT INTO t3 VALUES (31);
UNLOCK
TABLES
;
DROP
TRIGGER
t1_ai
;
DROP
TABLE
t4
,
crashed
,
t2
,
t3
;
set
global
storage_engine
=@
default_storage_engine
;
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