• He Zhenxing's avatar
    Bug#49557 "semisync" plugin test fails on Windows · 84a6de3f
    He Zhenxing authored
    The problem was because the gettimeofday function was incorrect
    implemented for Windows, and so the semisync master did not wait
    for slave reply properly on Windows.
    
    Fixed by removing the gettimeofday function for Windows, and using
    set_timespec function to get current time for all platforms.
    
    
    plugin/semisync/semisync_master.cc:
      removing the gettimeofday function for Windows, using set_timespec
      function to get current time for all platforms.
    84a6de3f
semisync_master.cc 34.4 KB