1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MDEV-12776 Do not create the InnoDB temporary tablespace in innodb_read_only mode

The InnoDB temporary tablespace is only usable if innodb_read_only=OFF.
It is useless to create the tablespace in read-only mode, because
CREATE TEMPORARY TABLE is disallowed if innodb_read_only, and nothing
can we written to the temporary tablespace if no temporary tables
can be created.
This commit is contained in:
Marko Mäkelä
2017-05-10 15:13:11 +03:00
parent fee8d39ecb
commit 00821c3825
3 changed files with 12 additions and 12 deletions

View File

@ -130,7 +130,6 @@ ERROR HY000: The table 't1' is full
drop procedure populate_t1;
# test read-only mode
# files in MYSQL_DATA_DIR
ibtmp1
select * from t1;
ERROR 42S02: Table 'test.t1' doesn't exist
show tables;