mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 17:33:44 +01:00
d929342b0f
Syntax. Server support. Test cases. InnoDB bugfixes: * don't mess around with system sprintf's, always use my_error() for errors. * don't use InnoDB internal error codes where OS error codes are expected. * don't say "file not found", when it was.
21 lines
1.2 KiB
Text
21 lines
1.2 KiB
Text
SET GLOBAL innodb_file_per_table=1;
|
|
CREATE TABLE t(a INT)ENGINE=InnoDB;
|
|
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 't'
|
|
DROP TABLE t;
|