| 1 |
# Bug #31154128 INPLACE UPGRADE 5.7 -> 8.0. FAILS WITH "ERROR IN FIXING SE DATA" SPECIFIC CASE |
| 2 |
# |
| 3 |
# This test upgrades a 5.7 database with a table in a general tablespace |
| 4 |
# having a FULLTEXT index to 8.0 |
| 5 |
# |
| 6 |
# Stop the running server |
| 7 |
# Unzip the datadir |
| 8 |
# Restart the server with the unzipped datadir |
| 9 |
# restart: --datadir=DATADIR --innodb_page_size=16k |
| 10 |
SHOW TABLES; |
| 11 |
Tables_in_test |
| 12 |
t1 |
| 13 |
SHOW CREATE TABLE t1; |
| 14 |
Table Create Table |
| 15 |
t1 CREATE TABLE `t1` ( |
| 16 |
`c2` text, |
| 17 |
FULLTEXT KEY `idx` (`c2`) |
| 18 |
) /*!50100 TABLESPACE `ts1` */ ENGINE=InnoDB DEFAULT CHARSET=latin1 |
| 19 |
SELECT * FROM t1; |
| 20 |
c2 |
| 21 |
hello |
| 22 |
world |
| 23 |
SELECT * FROM t1 WHERE MATCH(c2) AGAINST("world"); |
| 24 |
c2 |
| 25 |
world |
| 26 |
# Cleanup |
| 27 |
# Shutdown server |
| 28 |
# Remove copied files |
| 29 |
# Restart the server |
| 30 |
# restart |