| 1024 | } |
| 1025 | |
| 1026 | static inline File |
| 1027 | inline_mysql_file_create_temp( |
| 1028 | #ifdef HAVE_PSI_FILE_INTERFACE |
| 1029 | PSI_file_key key, |
| 1030 | #endif |
| 1031 | char *to, const char *dir, const char *pfx, int mode, myf myFlags) |
| 1032 | { |
| 1033 | File file; |
| 1034 | /* |
| 1035 | TODO: This event is instrumented, but not timed. |
| 1036 | The problem is that the file name is now known |
| 1037 | before the create_temp_file call. |
| 1038 | */ |
| 1039 | file= create_temp_file(to, dir, pfx, mode, myFlags); |
| 1040 | #ifdef HAVE_PSI_FILE_INTERFACE |
| 1041 | PSI_FILE_CALL(create_file)(key, to, file); |
| 1042 | #endif |
| 1043 | return file; |
| 1044 | } |
| 1045 | |
| 1046 | static inline File |
| 1047 | inline_mysql_file_open( |
nothing calls this directly
no test coverage detected