mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Add a test case for corrupting SYS_TABLES.TYPE, and for ROW_FORMAT=REDUNDANT, the unused field SYS_TABLES.MIX_LEN that must be ignored (InnoDB before MySQL 5.5 wrote uninitialized garbage to this column). MariaDB 10.0 appears to validate the SYS_TABLES.TYPE properly. This is a test-only change.
84 lines
2.2 KiB
Plaintext
84 lines
2.2 KiB
Plaintext
--- suite/innodb/r/table_flags.result
|
|
+++ suite/innodb/r/table_flags,4k.reject
|
|
@@ -13,7 +13,7 @@
|
|
header=0x01000003016e (NAME=0x696e66696d756d00)
|
|
header=0x00002815008d (NAME='SYS_DATAFILES',
|
|
DB_TRX_ID=0x000000000301,
|
|
- DB_ROLL_PTR=0x81000001320194,
|
|
+ DB_ROLL_PTR=0x81000003260194,
|
|
ID=0x000000000000000e,
|
|
N_COLS=0x00000002,
|
|
TYPE=0x00000001,
|
|
@@ -23,7 +23,7 @@
|
|
SPACE=0x00000000)
|
|
header=0x0000101500d5 (NAME='SYS_FOREIGN',
|
|
DB_TRX_ID=0x000000000300,
|
|
- DB_ROLL_PTR=0x800000012d0110,
|
|
+ DB_ROLL_PTR=0x80000003200110,
|
|
ID=0x000000000000000b,
|
|
N_COLS=0x00000004,
|
|
TYPE=0x00000001,
|
|
@@ -33,7 +33,7 @@
|
|
SPACE=0x00000000)
|
|
header=0x000018150122 (NAME='SYS_FOREIGN_COLS',
|
|
DB_TRX_ID=0x000000000300,
|
|
- DB_ROLL_PTR=0x800000012d0201,
|
|
+ DB_ROLL_PTR=0x80000003200201,
|
|
ID=0x000000000000000c,
|
|
N_COLS=0x00000004,
|
|
TYPE=0x00000001,
|
|
@@ -43,7 +43,7 @@
|
|
SPACE=0x00000000)
|
|
header=0x0400201501fc (NAME='SYS_TABLESPACES',
|
|
DB_TRX_ID=0x000000000301,
|
|
- DB_ROLL_PTR=0x81000001320110,
|
|
+ DB_ROLL_PTR=0x81000003260110,
|
|
ID=0x000000000000000d,
|
|
N_COLS=0x00000003,
|
|
TYPE=0x00000001,
|
|
@@ -53,7 +53,7 @@
|
|
SPACE=0x00000000)
|
|
header=0x000038150240 (NAME='test/tc',
|
|
DB_TRX_ID=0x000000000303,
|
|
- DB_ROLL_PTR=0x83000001360110,
|
|
+ DB_ROLL_PTR=0x830000032b0110,
|
|
ID=0x0000000000000010,
|
|
N_COLS=0x80000001,
|
|
TYPE=0x00000001,
|
|
@@ -63,7 +63,7 @@
|
|
SPACE=0x00000002)
|
|
header=0x0000401502c8 (NAME='test/td',
|
|
DB_TRX_ID=0x000000000304,
|
|
- DB_ROLL_PTR=0x84000001370110,
|
|
+ DB_ROLL_PTR=0x840000032c0110,
|
|
ID=0x0000000000000011,
|
|
N_COLS=0x80000001,
|
|
TYPE=0x00000021,
|
|
@@ -73,7 +73,7 @@
|
|
SPACE=0x00000003)
|
|
header=0x0000501501b8 (NAME='test/tp',
|
|
DB_TRX_ID=0x000000000306,
|
|
- DB_ROLL_PTR=0x86000001390110,
|
|
+ DB_ROLL_PTR=0x860000032e0110,
|
|
ID=0x0000000000000013,
|
|
N_COLS=0x80000001,
|
|
TYPE=0x00000021,
|
|
@@ -83,7 +83,7 @@
|
|
SPACE=0x00000005)
|
|
header=0x000030150284 (NAME='test/tr',
|
|
DB_TRX_ID=0x000000000302,
|
|
- DB_ROLL_PTR=0x82000001350110,
|
|
+ DB_ROLL_PTR=0x820000032a0110,
|
|
ID=0x000000000000000f,
|
|
N_COLS=0x00000001,
|
|
TYPE=0x00000001,
|
|
@@ -93,7 +93,7 @@
|
|
SPACE=0x00000001)
|
|
header=0x000048150074 (NAME='test/tz',
|
|
DB_TRX_ID=0x000000000305,
|
|
- DB_ROLL_PTR=0x85000001380110,
|
|
+ DB_ROLL_PTR=0x850000032d0110,
|
|
ID=0x0000000000000012,
|
|
N_COLS=0x80000001,
|
|
TYPE=0x00000023,
|