Bug #28903 | create_temp_file() doesn't honor O_TEMPORARY option (file not removed) (Unix) | ||
---|---|---|---|
Submitted: | 5 Jun 2007 19:04 | Modified: | 28 Jul 2016 15:16 |
Reporter: | Timothy Smith | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: General | Severity: | S3 (Non-critical) |
Version: | all | OS: | Any (Not Windows) |
Assigned to: | CPU Architecture: | Any |
[5 Jun 2007 19:04]
Timothy Smith
[11 Jun 2007 19:50]
Timothy Smith
When this bug is fixed, please also remove the unlink() call from mysql_tmpfile() in sql_class.cc. Also, several other callers of create_temp_file() call unlink() or my_delete(), and don't need to once this is fixed.
[19 Jun 2007 10:32]
Kent Boortz
All use of create_temp_file() needs to be reviewed unless some automatic way of handling this. One minor bug is in "mysql.cc" and com_edit(), if an error after the create_temp_file() call, the temporary file is not removed.
[19 Jun 2007 10:33]
Magnus BlÄudd
And also mysql_upgrade
[28 Jul 2016 15:16]
Paul DuBois
Posted by developer: Fixed in 8.0.0. Code cleanup. No changelog entry needed.