[MDEV-8569] build_table_filename() doesn't support temporary tables Created: 2015-08-05 Updated: 2016-07-20 Resolved: 2016-07-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Alter Table, Data Definition - Temporary |
| Affects Version/s: | 10.0 |
| Fix Version/s: | 10.0.27 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Golubchik | Assignee: | Alexey Botchkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 10.0.25, 10.0.26 |
| Description |
|
build_table_filename() doesn't support temporary tables. Indeed, it always builds the path as datadir/db_name/table_name, while temporary tables are in the tmpdir. This shows up in various DDL statements that use temporary tables:
This fails. Or
This test case succeeds but leaves an orphant temporary frm in the tmpdir (and it causes a warning on restart). Note: when this is fixed, please uncomment the corresponding test in innodb-fk-warnings.test |
| Comments |
| Comment by Alexey Botchkov [ 2016-07-12 ] |
|
Fixing patch: |