mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Tests: partition_syntax, innodb_zip.16k, innodb.table_flags
This commit is contained in:
@ -9,7 +9,7 @@ SET innodb_strict_mode=ON;
|
|||||||
CREATE TABLE tp(a INT PRIMARY KEY)ENGINE=InnoDB ROW_FORMAT=DYNAMIC
|
CREATE TABLE tp(a INT PRIMARY KEY)ENGINE=InnoDB ROW_FORMAT=DYNAMIC
|
||||||
PAGE_COMPRESSED=1 PAGE_COMPRESSION_LEVEL=9;
|
PAGE_COMPRESSED=1 PAGE_COMPRESSION_LEVEL=9;
|
||||||
SYS_TABLES clustered index root page (8):
|
SYS_TABLES clustered index root page (8):
|
||||||
N_RECS=10; LEVEL=0; INDEX_ID=0x0000000000000001
|
N_RECS=11; LEVEL=0; INDEX_ID=0x0000000000000001
|
||||||
header=0x01000003016e (NAME=0x696e66696d756d00)
|
header=0x01000003016e (NAME=0x696e66696d756d00)
|
||||||
header=0x00002815008d (NAME='SYS_DATAFILES',
|
header=0x00002815008d (NAME='SYS_DATAFILES',
|
||||||
DB_TRX_ID=0x000000000000,
|
DB_TRX_ID=0x000000000000,
|
||||||
@ -51,7 +51,7 @@ header=0x0400201501b8 (NAME='SYS_TABLESPACES',
|
|||||||
MIX_LEN=0x00000040,
|
MIX_LEN=0x00000040,
|
||||||
CLUSTER_NAME=NULL(0 bytes),
|
CLUSTER_NAME=NULL(0 bytes),
|
||||||
SPACE=0x00000000)
|
SPACE=0x00000000)
|
||||||
header=0x000030150244 (NAME='SYS_VIRTUAL',
|
header=0x000030150200 (NAME='SYS_VIRTUAL',
|
||||||
DB_TRX_ID=0x000000000000,
|
DB_TRX_ID=0x000000000000,
|
||||||
DB_ROLL_PTR=0x80000000000000,
|
DB_ROLL_PTR=0x80000000000000,
|
||||||
ID=0x000000000000000f,
|
ID=0x000000000000000f,
|
||||||
@ -61,57 +61,67 @@ header=0x000030150244 (NAME='SYS_VIRTUAL',
|
|||||||
MIX_LEN=0x00000040,
|
MIX_LEN=0x00000040,
|
||||||
CLUSTER_NAME=NULL(0 bytes),
|
CLUSTER_NAME=NULL(0 bytes),
|
||||||
SPACE=0x00000000)
|
SPACE=0x00000000)
|
||||||
header=0x000040150288 (NAME='test/tc',
|
header=0x000038150288 (NAME='SYS_VTQ',
|
||||||
DB_TRX_ID=0x000000000000,
|
DB_TRX_ID=0x000000000000,
|
||||||
DB_ROLL_PTR=0x80000000000000,
|
DB_ROLL_PTR=0x80000000000000,
|
||||||
ID=0x0000000000000011,
|
ID=0x0000000000000010,
|
||||||
|
N_COLS=0x00000005,
|
||||||
|
TYPE=0x00000001,
|
||||||
|
MIX_ID=0x0000000000000000,
|
||||||
|
MIX_LEN=0x00000040,
|
||||||
|
CLUSTER_NAME=NULL(0 bytes),
|
||||||
|
SPACE=0x00000000)
|
||||||
|
header=0x0000481502cc (NAME='test/tc',
|
||||||
|
DB_TRX_ID=0x000000000000,
|
||||||
|
DB_ROLL_PTR=0x80000000000000,
|
||||||
|
ID=0x0000000000000012,
|
||||||
N_COLS=0x80000001,
|
N_COLS=0x80000001,
|
||||||
TYPE=0x00000001,
|
TYPE=0x00000001,
|
||||||
MIX_ID=0x0000000000000000,
|
MIX_ID=0x0000000000000000,
|
||||||
MIX_LEN=0x00000050,
|
MIX_LEN=0x00000050,
|
||||||
CLUSTER_NAME=NULL(0 bytes),
|
CLUSTER_NAME=NULL(0 bytes),
|
||||||
SPACE=0x00000002)
|
SPACE=0x00000002)
|
||||||
header=0x000048150310 (NAME='test/td',
|
header=0x000050150354 (NAME='test/td',
|
||||||
DB_TRX_ID=0x000000000000,
|
DB_TRX_ID=0x000000000000,
|
||||||
DB_ROLL_PTR=0x80000000000000,
|
DB_ROLL_PTR=0x80000000000000,
|
||||||
ID=0x0000000000000012,
|
ID=0x0000000000000013,
|
||||||
N_COLS=0x80000001,
|
N_COLS=0x80000001,
|
||||||
TYPE=0x00000021,
|
TYPE=0x00000021,
|
||||||
MIX_ID=0x0000000000000000,
|
MIX_ID=0x0000000000000000,
|
||||||
MIX_LEN=0x00000050,
|
MIX_LEN=0x00000050,
|
||||||
CLUSTER_NAME=NULL(0 bytes),
|
CLUSTER_NAME=NULL(0 bytes),
|
||||||
SPACE=0x00000003)
|
SPACE=0x00000003)
|
||||||
header=0x000058150200 (NAME='test/tp',
|
header=0x000060150244 (NAME='test/tp',
|
||||||
DB_TRX_ID=0x000000000000,
|
DB_TRX_ID=0x000000000000,
|
||||||
DB_ROLL_PTR=0x80000000000000,
|
DB_ROLL_PTR=0x80000000000000,
|
||||||
ID=0x0000000000000014,
|
ID=0x0000000000000015,
|
||||||
N_COLS=0x80000001,
|
N_COLS=0x80000001,
|
||||||
TYPE=0x000009a1,
|
TYPE=0x000009a1,
|
||||||
MIX_ID=0x0000000000000000,
|
MIX_ID=0x0000000000000000,
|
||||||
MIX_LEN=0x00000050,
|
MIX_LEN=0x00000050,
|
||||||
CLUSTER_NAME=NULL(0 bytes),
|
CLUSTER_NAME=NULL(0 bytes),
|
||||||
SPACE=0x00000005)
|
SPACE=0x00000005)
|
||||||
header=0x0000381502cc (NAME='test/tr',
|
header=0x000040150310 (NAME='test/tr',
|
||||||
DB_TRX_ID=0x000000000000,
|
DB_TRX_ID=0x000000000000,
|
||||||
DB_ROLL_PTR=0x80000000000000,
|
DB_ROLL_PTR=0x80000000000000,
|
||||||
ID=0x0000000000000010,
|
ID=0x0000000000000011,
|
||||||
N_COLS=0x00000001,
|
N_COLS=0x00000001,
|
||||||
TYPE=0x00000001,
|
TYPE=0x00000001,
|
||||||
MIX_ID=0x0000000000000000,
|
MIX_ID=0x0000000000000000,
|
||||||
MIX_LEN=0x00000050,
|
MIX_LEN=0x00000050,
|
||||||
CLUSTER_NAME=NULL(0 bytes),
|
CLUSTER_NAME=NULL(0 bytes),
|
||||||
SPACE=0x00000001)
|
SPACE=0x00000001)
|
||||||
header=0x000050150074 (NAME='test/tz',
|
header=0x000058150074 (NAME='test/tz',
|
||||||
DB_TRX_ID=0x000000000000,
|
DB_TRX_ID=0x000000000000,
|
||||||
DB_ROLL_PTR=0x80000000000000,
|
DB_ROLL_PTR=0x80000000000000,
|
||||||
ID=0x0000000000000013,
|
ID=0x0000000000000014,
|
||||||
N_COLS=0x80000001,
|
N_COLS=0x80000001,
|
||||||
TYPE=0x00000023,
|
TYPE=0x00000023,
|
||||||
MIX_ID=0x0000000000000000,
|
MIX_ID=0x0000000000000000,
|
||||||
MIX_LEN=0x00000050,
|
MIX_LEN=0x00000050,
|
||||||
CLUSTER_NAME=NULL(0 bytes),
|
CLUSTER_NAME=NULL(0 bytes),
|
||||||
SPACE=0x00000004)
|
SPACE=0x00000004)
|
||||||
header=0x070008030000 (NAME=0x73757072656d756d00)
|
header=0x080008030000 (NAME=0x73757072656d756d00)
|
||||||
SHOW CREATE TABLE tr;
|
SHOW CREATE TABLE tr;
|
||||||
ERROR 42S02: Table 'test.tr' doesn't exist in engine
|
ERROR 42S02: Table 'test.tr' doesn't exist in engine
|
||||||
SHOW CREATE TABLE tc;
|
SHOW CREATE TABLE tc;
|
||||||
|
@ -18,6 +18,8 @@ AND t.name LIKE 'mysql%'
|
|||||||
table_name n_cols table_flags index_name root_page type n_fields merge_threshold
|
table_name n_cols table_flags index_name root_page type n_fields merge_threshold
|
||||||
mysql/innodb_index_stats 11 33 PRIMARY 3 3 4 50
|
mysql/innodb_index_stats 11 33 PRIMARY 3 3 4 50
|
||||||
mysql/innodb_table_stats 9 33 PRIMARY 3 3 2 50
|
mysql/innodb_table_stats 9 33 PRIMARY 3 3 2 50
|
||||||
|
mysql/vtmd_template 8 33 PRIMARY 3 3 1 50
|
||||||
|
mysql/vtmd_template 8 33 archive_name 4 0 1 50
|
||||||
CREATE TABLE t1 (a INT KEY, b TEXT) ROW_FORMAT=REDUNDANT ENGINE=innodb;
|
CREATE TABLE t1 (a INT KEY, b TEXT) ROW_FORMAT=REDUNDANT ENGINE=innodb;
|
||||||
CREATE TABLE t2 (a INT KEY, b TEXT) ROW_FORMAT=COMPACT ENGINE=innodb;
|
CREATE TABLE t2 (a INT KEY, b TEXT) ROW_FORMAT=COMPACT ENGINE=innodb;
|
||||||
CREATE TABLE t3 (a INT KEY, b TEXT) ROW_FORMAT=COMPRESSED ENGINE=innodb;
|
CREATE TABLE t3 (a INT KEY, b TEXT) ROW_FORMAT=COMPRESSED ENGINE=innodb;
|
||||||
|
@ -510,7 +510,7 @@ f_charbig VARCHAR(1000)
|
|||||||
)
|
)
|
||||||
PARTITION BY RANGE(f_int1)
|
PARTITION BY RANGE(f_int1)
|
||||||
( PARTITION part1 VALUES LESS THAN (1000) (SUBPARTITION subpart11));
|
( PARTITION part1 VALUES LESS THAN (1000) (SUBPARTITION subpart11));
|
||||||
ERROR HY000: It is only possible to mix RANGE/LIST/SYSTEM_TIME partitioning with HASH/KEY partitioning for subpartitioning
|
ERROR HY000: It is only possible to mix RANGE/LIST partitioning with HASH/KEY partitioning for subpartitioning
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
# 2.2 Every partition must have the same number of subpartitions.
|
# 2.2 Every partition must have the same number of subpartitions.
|
||||||
# This is a limitation of MySQL 5.1, which could be removed in
|
# This is a limitation of MySQL 5.1, which could be removed in
|
||||||
|
@ -510,7 +510,7 @@ f_charbig VARCHAR(1000)
|
|||||||
)
|
)
|
||||||
PARTITION BY RANGE(f_int1)
|
PARTITION BY RANGE(f_int1)
|
||||||
( PARTITION part1 VALUES LESS THAN (1000) (SUBPARTITION subpart11));
|
( PARTITION part1 VALUES LESS THAN (1000) (SUBPARTITION subpart11));
|
||||||
ERROR HY000: It is only possible to mix RANGE/LIST/SYSTEM_TIME partitioning with HASH/KEY partitioning for subpartitioning
|
ERROR HY000: It is only possible to mix RANGE/LIST partitioning with HASH/KEY partitioning for subpartitioning
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
# 2.2 Every partition must have the same number of subpartitions.
|
# 2.2 Every partition must have the same number of subpartitions.
|
||||||
# This is a limitation of MySQL 5.1, which could be removed in
|
# This is a limitation of MySQL 5.1, which could be removed in
|
||||||
|
Reference in New Issue
Block a user