-
Aakanksha Verma authored
PROBLEM ======= Since windows use HANDLE for file descriptor and pfs needs to register the file with a integer key for instrumentation , the performance schema for file IO is currently disabled on windows. Fix are for 5.6+. Solution ======== Define a common descriptor like how we have os_file_t for platforms other than windows i.e os_pfs_file_t as struct os_pfs_file_t { os_file_t m_file; #ifdef UNIV_PFS_IO struct PSI_file* m_psi; #endif }; Reviewed-by:
Jimmy Yang <Jimmy.Yang@oracle.com> Reviewed-by:
Marc Allf <marc.alff@oracle.com> RB: 14714 RB: 14539 RB: 14702
Aakanksha Verma authoredPROBLEM ======= Since windows use HANDLE for file descriptor and pfs needs to register the file with a integer key for instrumentation , the performance schema for file IO is currently disabled on windows. Fix are for 5.6+. Solution ======== Define a common descriptor like how we have os_file_t for platforms other than windows i.e os_pfs_file_t as struct os_pfs_file_t { os_file_t m_file; #ifdef UNIV_PFS_IO struct PSI_file* m_psi; #endif }; Reviewed-by:
Jimmy Yang <Jimmy.Yang@oracle.com> Reviewed-by:
Marc Allf <marc.alff@oracle.com> RB: 14714 RB: 14539 RB: 14702
Loading