fix compilation w/o perfschema
followup for 3a3605f4b1a
This commit is contained in:
parent
fc5a6a28f7
commit
e7558d4760
@ -1124,8 +1124,7 @@ to original un-instrumented file I/O APIs */
|
|||||||
|
|
||||||
# define os_file_flush(file) os_file_flush_func(file)
|
# define os_file_flush(file) os_file_flush_func(file)
|
||||||
|
|
||||||
#define os_file_flush_data(file) \
|
#define os_file_flush_data(file) os_file_flush_data_func(file)
|
||||||
pfs_os_file_flush_data_func(file, __FILE__, __LINE__)
|
|
||||||
|
|
||||||
# define os_file_rename(key, oldpath, newpath) \
|
# define os_file_rename(key, oldpath, newpath) \
|
||||||
os_file_rename_func(oldpath, newpath)
|
os_file_rename_func(oldpath, newpath)
|
||||||
|
@ -4631,6 +4631,7 @@ bool os_file_flush_data_func(os_file_t file) {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef UNIV_PFS_IO
|
||||||
bool pfs_os_file_flush_data_func(pfs_os_file_t file, const char *src_file,
|
bool pfs_os_file_flush_data_func(pfs_os_file_t file, const char *src_file,
|
||||||
uint src_line)
|
uint src_line)
|
||||||
{
|
{
|
||||||
@ -4645,3 +4646,4 @@ bool pfs_os_file_flush_data_func(pfs_os_file_t file, const char *src_file,
|
|||||||
register_pfs_file_io_end(locker, 0);
|
register_pfs_file_io_end(locker, 0);
|
||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user