⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
server
/
mysql
/
mysql-test
/
t
/
View File Name :
import_schema_mismatch.test
# #Bug #27542720 SCHEMA MISMATCH - TABLE FLAGS DON'T MATCH, # BUT FLAGS ARE NUMBERS # --source include/have_innodb.inc --let $MYSQLD_DATADIR=`select @@datadir` --let $DB = `SELECT DATABASE()` SET GLOBAL innodb_default_row_format = 'compact'; CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB; FLUSH TABLES t1 FOR EXPORT; #--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR --copy_file $MYSQLD_DATADIR/$DB/t1.ibd $MYSQL_TMP_DIR/t1.ibd --copy_file $MYSQLD_DATADIR/$DB/t1.cfg $MYSQL_TMP_DIR/t1.cfg UNLOCK TABLES; DROP TABLE t1; SET GLOBAL innodb_default_row_format = 'dynamic'; CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB; ALTER TABLE t1 DISCARD TABLESPACE; --move_file $MYSQL_TMP_DIR/t1.ibd $MYSQLD_DATADIR/$DB/t1.ibd --move_file $MYSQL_TMP_DIR/t1.cfg $MYSQLD_DATADIR/$DB/t1.cfg --error ER_TABLE_SCHEMA_MISMATCH ALTER TABLE t1 IMPORT TABLESPACE; DROP TABLE t1; --remove_file $MYSQLD_DATADIR/$DB/t1.ibd --remove_file $MYSQLD_DATADIR/$DB/t1.cfg