mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixed failing test cases
mysql-test/include/have_not_innodb_plugin.inc: Also detect if xtradb is installed mysql-test/suite/innodb/t/innodb_bug56143.test: Disabled test case that doesn't work for innodb_plugin/xtradb. mysql-test/suite/innodb_plugin/r/innodb_bug56632.result: Updated result (key_block_size is lower case in MariaDB, as all other options) mysql-test/suite/pbxt/r/partition_hash.result: Updated results (after partition row count optimization changes) mysql-test/suite/pbxt/r/partition_pruning.result: Updated results (after partition row count optimization changes) mysql-test/suite/pbxt/r/partition_range.result: Updated results (after partition row count optimization changes) mysql-test/suite/pbxt/r/subselect.result: Updated result after ROW() changes.
This commit is contained in:
30
mysql-test/suite/innodb_plugin/r/innodb_bug56632.result
Executable file → Normal file
30
mysql-test/suite/innodb_plugin/r/innodb_bug56632.result
Executable file → Normal file
@ -37,7 +37,7 @@ bug56632 CREATE TABLE `bug56632` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT KEY_BLOCK_SIZE=1
|
||||
SELECT TABLE_NAME,ROW_FORMAT,CREATE_OPTIONS FROM information_schema.tables WHERE TABLE_NAME = 'bug56632';
|
||||
TABLE_NAME ROW_FORMAT CREATE_OPTIONS
|
||||
bug56632 Compressed row_format=COMPACT KEY_BLOCK_SIZE=1
|
||||
bug56632 Compressed row_format=COMPACT key_block_size=1
|
||||
# Test 3) CREATE with KEY_BLOCK_SIZE, ALTER with ROW_FORMAT
|
||||
DROP TABLE IF EXISTS bug56632;
|
||||
CREATE TABLE bug56632 ( i INT ) KEY_BLOCK_SIZE=1;
|
||||
@ -50,7 +50,7 @@ bug56632 CREATE TABLE `bug56632` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 KEY_BLOCK_SIZE=1
|
||||
SELECT TABLE_NAME,ROW_FORMAT,CREATE_OPTIONS FROM information_schema.tables WHERE TABLE_NAME = 'bug56632';
|
||||
TABLE_NAME ROW_FORMAT CREATE_OPTIONS
|
||||
bug56632 Compressed KEY_BLOCK_SIZE=1
|
||||
bug56632 Compressed key_block_size=1
|
||||
ALTER TABLE bug56632 ROW_FORMAT=COMPACT;
|
||||
SHOW CREATE TABLE bug56632;
|
||||
Table Create Table
|
||||
@ -59,7 +59,7 @@ bug56632 CREATE TABLE `bug56632` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 KEY_BLOCK_SIZE=1
|
||||
SELECT TABLE_NAME,ROW_FORMAT,CREATE_OPTIONS FROM information_schema.tables WHERE TABLE_NAME = 'bug56632';
|
||||
TABLE_NAME ROW_FORMAT CREATE_OPTIONS
|
||||
bug56632 Compressed KEY_BLOCK_SIZE=1
|
||||
bug56632 Compressed key_block_size=1
|
||||
# Test 4) CREATE with neither, ALTER with ROW_FORMAT & KEY_BLOCK_SIZE
|
||||
DROP TABLE IF EXISTS bug56632;
|
||||
CREATE TABLE bug56632 ( i INT );
|
||||
@ -108,7 +108,7 @@ bug56632 CREATE TABLE `bug56632` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT KEY_BLOCK_SIZE=1
|
||||
SELECT TABLE_NAME,ROW_FORMAT,CREATE_OPTIONS FROM information_schema.tables WHERE TABLE_NAME = 'bug56632';
|
||||
TABLE_NAME ROW_FORMAT CREATE_OPTIONS
|
||||
bug56632 Compact row_format=COMPACT KEY_BLOCK_SIZE=1
|
||||
bug56632 Compact row_format=COMPACT key_block_size=1
|
||||
ALTER TABLE bug56632 ADD COLUMN f1 INT;
|
||||
Warnings:
|
||||
Warning 1478 InnoDB: ignoring KEY_BLOCK_SIZE=1 unless ROW_FORMAT=COMPRESSED.
|
||||
@ -123,7 +123,7 @@ bug56632 CREATE TABLE `bug56632` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT KEY_BLOCK_SIZE=1
|
||||
SELECT TABLE_NAME,ROW_FORMAT,CREATE_OPTIONS FROM information_schema.tables WHERE TABLE_NAME = 'bug56632';
|
||||
TABLE_NAME ROW_FORMAT CREATE_OPTIONS
|
||||
bug56632 Compact row_format=COMPACT KEY_BLOCK_SIZE=1
|
||||
bug56632 Compact row_format=COMPACT key_block_size=1
|
||||
# Test 7) CREATE with ROW_FORMAT, ALTER with KEY_BLOCK_SIZE
|
||||
DROP TABLE IF EXISTS bug56632;
|
||||
CREATE TABLE bug56632 ( i INT ) ROW_FORMAT=COMPACT;
|
||||
@ -147,7 +147,7 @@ bug56632 CREATE TABLE `bug56632` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT KEY_BLOCK_SIZE=1
|
||||
SELECT TABLE_NAME,ROW_FORMAT,CREATE_OPTIONS FROM information_schema.tables WHERE TABLE_NAME = 'bug56632';
|
||||
TABLE_NAME ROW_FORMAT CREATE_OPTIONS
|
||||
bug56632 Compressed row_format=COMPACT KEY_BLOCK_SIZE=1
|
||||
bug56632 Compressed row_format=COMPACT key_block_size=1
|
||||
# Test 8) CREATE with KEY_BLOCK_SIZE, ALTER with ROW_FORMAT
|
||||
DROP TABLE IF EXISTS bug56632;
|
||||
CREATE TABLE bug56632 ( i INT ) KEY_BLOCK_SIZE=1;
|
||||
@ -160,7 +160,7 @@ bug56632 CREATE TABLE `bug56632` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 KEY_BLOCK_SIZE=1
|
||||
SELECT TABLE_NAME,ROW_FORMAT,CREATE_OPTIONS FROM information_schema.tables WHERE TABLE_NAME = 'bug56632';
|
||||
TABLE_NAME ROW_FORMAT CREATE_OPTIONS
|
||||
bug56632 Compressed KEY_BLOCK_SIZE=1
|
||||
bug56632 Compressed key_block_size=1
|
||||
ALTER TABLE bug56632 ROW_FORMAT=COMPACT;
|
||||
Warnings:
|
||||
Warning 1478 InnoDB: ignoring KEY_BLOCK_SIZE=1 unless ROW_FORMAT=COMPRESSED.
|
||||
@ -174,7 +174,7 @@ bug56632 CREATE TABLE `bug56632` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT KEY_BLOCK_SIZE=1
|
||||
SELECT TABLE_NAME,ROW_FORMAT,CREATE_OPTIONS FROM information_schema.tables WHERE TABLE_NAME = 'bug56632';
|
||||
TABLE_NAME ROW_FORMAT CREATE_OPTIONS
|
||||
bug56632 Compact row_format=COMPACT KEY_BLOCK_SIZE=1
|
||||
bug56632 Compact row_format=COMPACT key_block_size=1
|
||||
# Test 9) CREATE with neither, ALTER with ROW_FORMAT & KEY_BLOCK_SIZE
|
||||
DROP TABLE IF EXISTS bug56632;
|
||||
CREATE TABLE bug56632 ( i INT );
|
||||
@ -201,7 +201,7 @@ bug56632 CREATE TABLE `bug56632` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT KEY_BLOCK_SIZE=1
|
||||
SELECT TABLE_NAME,ROW_FORMAT,CREATE_OPTIONS FROM information_schema.tables WHERE TABLE_NAME = 'bug56632';
|
||||
TABLE_NAME ROW_FORMAT CREATE_OPTIONS
|
||||
bug56632 Compact row_format=COMPACT KEY_BLOCK_SIZE=1
|
||||
bug56632 Compact row_format=COMPACT key_block_size=1
|
||||
# Test 10) CREATE with KEY_BLOCK_SIZE=3 (invalid), ALTER with neither.
|
||||
DROP TABLE IF EXISTS bug56632;
|
||||
CREATE TABLE bug56632 ( i INT ) KEY_BLOCK_SIZE=3;
|
||||
@ -217,7 +217,7 @@ bug56632 CREATE TABLE `bug56632` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 KEY_BLOCK_SIZE=3
|
||||
SELECT TABLE_NAME,ROW_FORMAT,CREATE_OPTIONS FROM information_schema.tables WHERE TABLE_NAME = 'bug56632';
|
||||
TABLE_NAME ROW_FORMAT CREATE_OPTIONS
|
||||
bug56632 Compact KEY_BLOCK_SIZE=3
|
||||
bug56632 Compact key_block_size=3
|
||||
ALTER TABLE bug56632 ADD COLUMN f1 INT;
|
||||
Warnings:
|
||||
Warning 1478 InnoDB: ignoring KEY_BLOCK_SIZE=3.
|
||||
@ -232,7 +232,7 @@ bug56632 CREATE TABLE `bug56632` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 KEY_BLOCK_SIZE=3
|
||||
SELECT TABLE_NAME,ROW_FORMAT,CREATE_OPTIONS FROM information_schema.tables WHERE TABLE_NAME = 'bug56632';
|
||||
TABLE_NAME ROW_FORMAT CREATE_OPTIONS
|
||||
bug56632 Compact KEY_BLOCK_SIZE=3
|
||||
bug56632 Compact key_block_size=3
|
||||
# Test 11) CREATE with KEY_BLOCK_SIZE=3 (invalid), ALTER with ROW_FORMAT=COMPACT.
|
||||
DROP TABLE IF EXISTS bug56632;
|
||||
CREATE TABLE bug56632 ( i INT ) KEY_BLOCK_SIZE=3;
|
||||
@ -248,7 +248,7 @@ bug56632 CREATE TABLE `bug56632` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 KEY_BLOCK_SIZE=3
|
||||
SELECT TABLE_NAME,ROW_FORMAT,CREATE_OPTIONS FROM information_schema.tables WHERE TABLE_NAME = 'bug56632';
|
||||
TABLE_NAME ROW_FORMAT CREATE_OPTIONS
|
||||
bug56632 Compact KEY_BLOCK_SIZE=3
|
||||
bug56632 Compact key_block_size=3
|
||||
ALTER TABLE bug56632 ROW_FORMAT=COMPACT;
|
||||
Warnings:
|
||||
Warning 1478 InnoDB: ignoring KEY_BLOCK_SIZE=3.
|
||||
@ -262,7 +262,7 @@ bug56632 CREATE TABLE `bug56632` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT KEY_BLOCK_SIZE=3
|
||||
SELECT TABLE_NAME,ROW_FORMAT,CREATE_OPTIONS FROM information_schema.tables WHERE TABLE_NAME = 'bug56632';
|
||||
TABLE_NAME ROW_FORMAT CREATE_OPTIONS
|
||||
bug56632 Compact row_format=COMPACT KEY_BLOCK_SIZE=3
|
||||
bug56632 Compact row_format=COMPACT key_block_size=3
|
||||
# Test 12) CREATE with KEY_BLOCK_SIZE=3 (invalid), ALTER with KEY_BLOCK_SIZE=1.
|
||||
DROP TABLE IF EXISTS bug56632;
|
||||
CREATE TABLE bug56632 ( i INT ) KEY_BLOCK_SIZE=3;
|
||||
@ -278,7 +278,7 @@ bug56632 CREATE TABLE `bug56632` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 KEY_BLOCK_SIZE=3
|
||||
SELECT TABLE_NAME,ROW_FORMAT,CREATE_OPTIONS FROM information_schema.tables WHERE TABLE_NAME = 'bug56632';
|
||||
TABLE_NAME ROW_FORMAT CREATE_OPTIONS
|
||||
bug56632 Compact KEY_BLOCK_SIZE=3
|
||||
bug56632 Compact key_block_size=3
|
||||
ALTER TABLE bug56632 KEY_BLOCK_SIZE=1;
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
@ -289,6 +289,6 @@ bug56632 CREATE TABLE `bug56632` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 KEY_BLOCK_SIZE=1
|
||||
SELECT TABLE_NAME,ROW_FORMAT,CREATE_OPTIONS FROM information_schema.tables WHERE TABLE_NAME = 'bug56632';
|
||||
TABLE_NAME ROW_FORMAT CREATE_OPTIONS
|
||||
bug56632 Compressed KEY_BLOCK_SIZE=1
|
||||
bug56632 Compressed key_block_size=1
|
||||
# Cleanup
|
||||
DROP TABLE IF EXISTS bug56632;
|
||||
|
Reference in New Issue
Block a user