diff options
author | unknown <marko@hundin.mysql.fi> | 2004-08-10 14:17:32 +0300 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2004-08-10 14:17:32 +0300 |
commit | 2c900be0efd39f971e5a9bebfe5c98e12b56058b (patch) | |
tree | 2aad048f3c55d299ccdafd72ffe71c2cf00dbb53 /innobase/include/os0file.h | |
parent | fc4364e3509f9fa625e65f9e124b8133aa103f76 (diff) | |
download | mariadb-git-2c900be0efd39f971e5a9bebfe5c98e12b56058b.tar.gz |
InnoDB: Use create_temp_file() when available
innobase/include/os0file.h:
Improve the comment of os_file_create_tmpfile()
innobase/os/os0file.c:
os_file_create_tmpfile(): Use create_temp_file()
via innobase_mysql_tmpfile() unless UNIV_HOTBACKUP is defined
sql/ha_innodb.cc:
Added innobase_mysql_tmpfile(), a wrapper around create_temp_file()
Diffstat (limited to 'innobase/include/os0file.h')
-rw-r--r-- | innobase/include/os0file.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/innobase/include/os0file.h b/innobase/include/os0file.h index 4a8b9623eeb..9727c2b8243 100644 --- a/innobase/include/os0file.h +++ b/innobase/include/os0file.h @@ -134,12 +134,12 @@ void os_io_init_simple(void); /*===================*/ /*************************************************************************** -Creates a temporary file. In case of error, causes abnormal termination. */ +Creates a temporary file. */ FILE* os_file_create_tmpfile(void); /*========================*/ - /* out: temporary file handle, or NULL */ + /* out: temporary file handle, or NULL on error */ /******************************************************************** A simple function to open or create a file. */ |