[MDEV-12776] Do not create the InnoDB temporary tablespace in innodb_read_only mode Created: 2017-05-10 Updated: 2017-05-10 Resolved: 2017-05-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.2.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Marko Mäkelä | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | startup, temporary | ||
| Issue Links: |
|
||||||||
| Description |
|
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. (Note that in MySQL 5.7, optimizer-internal temporary tables might still use the InnoDB temporary tablespace even if innodb_read_only. In MariaDB the optimizer does not use InnoDB for its temporary tables, and |
| Comments |
| Comment by Marko Mäkelä [ 2017-05-10 ] |
|
bb-10.2-marko |
| Comment by Jan Lindström (Inactive) [ 2017-05-10 ] |
|
Ok to push. |