[MDEV-23000] Ensure we get a warning from THD::drop_temporary_table() in case of disk errors Created: 2020-06-24 Updated: 2023-03-08 Resolved: 2023-03-08 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Temporary |
| Affects Version/s: | None |
| Fix Version/s: | 10.11.3, 11.0.2, 10.5.20, 10.6.13, 10.8.8, 10.9.6, 10.10.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Michael Widenius | Assignee: | Daniel Black |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | beginner-friendly | ||
| Issue Links: |
|
||||||||
| Description |
|
The call stack for DROP TEMPORARY TABLE is: THD::drop_temporary_table() The problem is that free_temp_table_share() is a void function and thus the caller doesn't know if ha_delete_table() failed or not. How to repeat: |
| Comments |
| Comment by Daniel Black [ 2023-03-02 ] |
|
As future feature: |
| Comment by Daniel Black [ 2023-03-08 ] |
|
Thanks Weijun Huang for another great fix. |