summaryrefslogtreecommitdiff
path: root/storage/innobase/include/os0file.h
diff options
context:
space:
mode:
authorDaniel Black <daniel@linux.vnet.ibm.com>2018-03-15 13:47:28 +1100
committerDaniel Black <daniel@linux.vnet.ibm.com>2018-03-15 13:49:00 +1100
commit7bb661cd40c9b018ca6a7a4b32ba471833c4e251 (patch)
treeec8b01d331bfa1fcd9fd244a50e03372335459c7 /storage/innobase/include/os0file.h
parent7fb03d7abf4e668d76aded38378120361c218ba4 (diff)
downloadmariadb-git-7bb661cd40c9b018ca6a7a4b32ba471833c4e251.tar.gz
innodb: os_file_create_tmpfile always called with NULL -> simplify
Diffstat (limited to 'storage/innobase/include/os0file.h')
-rw-r--r--storage/innobase/include/os0file.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/storage/innobase/include/os0file.h b/storage/innobase/include/os0file.h
index 13de798280a..dec5e974ad2 100644
--- a/storage/innobase/include/os0file.h
+++ b/storage/innobase/include/os0file.h
@@ -535,14 +535,11 @@ struct os_file_stat_t {
};
/** Create a temporary file. This function is like tmpfile(3), but
-the temporary file is created in the given parameter path. If the path
-is null then it will create the file in the mysql server configuration
+the temporary file is created in the in the mysql server configuration
parameter (--tmpdir).
-@param[in] path location for creating temporary file
@return temporary file handle, or NULL on error */
FILE*
-os_file_create_tmpfile(
- const char* path);
+os_file_create_tmpfile();
/** The os_file_opendir() function opens a directory stream corresponding to the
directory named by the dirname argument. The directory stream is positioned