mirror of
https://github.com/MariaDB/server.git
synced 2025-12-13 20:03:16 +03:00
MySQL 5.7 introduced partial support for user-created shared tablespaces (for example, import and export are not supported). MariaDB Server does not support tablespaces at this point of time. Let us remove most InnoDB code and data structures that is related to shared tablespaces.
29 lines
1.9 KiB
Plaintext
29 lines
1.9 KiB
Plaintext
call mtr.add_suppression("InnoDB: Cannot open datafile for read-only: .*");
|
|
SET GLOBAL innodb_file_per_table=1;
|
|
CREATE TABLE t(a INT)ENGINE=InnoDB;
|
|
call mtr.add_suppression("InnoDB: Operating system error number .* in a file operation.");
|
|
call mtr.add_suppression("InnoDB: The error means the system cannot find the path specified.");
|
|
call mtr.add_suppression("InnoDB: If you are installing InnoDB, remember that you must create directories yourself, InnoDB does not create them.");
|
|
call mtr.add_suppression("InnoDB: Cannot open datafile for read-only: './test/t.ibd' OS error: .*");
|
|
call mtr.add_suppression("InnoDB: Ignoring tablespace for `test`.`t` because it could not be opened.");
|
|
call mtr.add_suppression("InnoDB: Cannot calculate statistics for table .* because the .ibd file is missing. Please refer to .*");
|
|
call mtr.add_suppression("InnoDB: Error: trying to open a table, but could not$");
|
|
call mtr.add_suppression("MySQL is trying to open a table handle but the \.ibd file for$");
|
|
call mtr.add_suppression("InnoDB: Table 'test/t'$");
|
|
call mtr.add_suppression("Could not find a valid tablespace file for");
|
|
call mtr.add_suppression("InnoDB: Tablespace open failed for '\"test\"\.\"t\"', ignored");
|
|
call mtr.add_suppression("InnoDB: Failed to find tablespace for table '\"test\"\.\"t\"' in the cache");
|
|
call mtr.add_suppression("InnoDB: Cannot delete tablespace [0-9]+.*not found");
|
|
call mtr.add_suppression("Table .*t in the InnoDB data dictionary has tablespace id .*, but tablespace with that id or name does not exist");
|
|
SELECT * FROM t;
|
|
ERROR 42S02: Table 'test.t' doesn't exist in engine
|
|
ALTER TABLE t ADD INDEX (a), ALGORITHM=INPLACE;
|
|
ERROR 42S02: Table 'test.t' doesn't exist in engine
|
|
ALTER TABLE t1 ADD INDEX (a), ALGORITHM=COPY;
|
|
ERROR 42S02: Table 'test.t1' doesn't exist
|
|
ALTER TABLE t DISCARD TABLESPACE;
|
|
Warnings:
|
|
Warning 1812 Tablespace is missing for table 'test/t'
|
|
Warning 1812 Tablespace is missing for table 'test/t'
|
|
DROP TABLE t;
|