diff options
author | unknown <marko@hundin.mysql.fi> | 2004-05-28 11:15:59 +0300 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2004-05-28 11:15:59 +0300 |
commit | 7aa93578dd7ad9a5a1dd86237a9fa4351f9e8525 (patch) | |
tree | 88be6cefdd42b98a592c693840125dce06a86d4f /innobase/dict | |
parent | 606cb09d86413fa13c98c9ebd0bfc50379a01a65 (diff) | |
download | mariadb-git-7aa93578dd7ad9a5a1dd86237a9fa4351f9e8525.tar.gz |
InnoDB: Add diagnostics when tmpfile() fails at start (Bug #3919)
innobase/dict/dict0dict.c:
Replace tmpfile() with os_file_create_tmpfile()
innobase/include/os0file.h:
Add os_file_create_tmpfile()
innobase/lock/lock0lock.c:
Replace tmpfile() with os_file_create_tmpfile()
innobase/os/os0file.c:
Add os_file_create_tmpfile()
os_file_handle_error(): remove unused first parameter
Diffstat (limited to 'innobase/dict')
-rw-r--r-- | innobase/dict/dict0dict.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/dict/dict0dict.c b/innobase/dict/dict0dict.c index 0fc4ac2b687..f14e2a4e58c 100644 --- a/innobase/dict/dict0dict.c +++ b/innobase/dict/dict0dict.c @@ -642,7 +642,7 @@ dict_init(void) rw_lock_create(&dict_operation_lock); rw_lock_set_level(&dict_operation_lock, SYNC_DICT_OPERATION); - dict_foreign_err_file = tmpfile(); + dict_foreign_err_file = os_file_create_tmpfile(); mutex_create(&dict_foreign_err_mutex); mutex_set_level(&dict_foreign_err_mutex, SYNC_ANY_LATCH); } |