diff options
author | Georgi Kodinov <joro@sun.com> | 2010-03-09 11:18:46 +0200 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2010-03-09 11:18:46 +0200 |
commit | 25a271a0f84e1ea32c46da090c2d0bde77fadbbc (patch) | |
tree | 5f0f9f09bbe8ed615ca03103c83c2cd3c5dbd606 /scripts | |
parent | d5991c13bdb1750dfea539c05081d921437fb2b9 (diff) | |
download | mariadb-git-25a271a0f84e1ea32c46da090c2d0bde77fadbbc.tar.gz |
Bug #41057: mysql_update fails FATAL ERROR: Failed to create temporary file for defaults
mysql_upgrade was passing an non-initialized non-null tmpdir to create_temp_file() if no
--tmpdir was specified. This prevents create_temp_file() from taking the system
temporary file path and as a result mysql_upgrade was trying to open a file in a
directory that it may not have write access to.
Fixed by making sure mysql_upgrade will pass a zero length temp dir string to
create_temp_file() if no --tmpdir is specified.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions