Function gettimeofday is not defined on Windows

Bug #737863 reported by Vadim Tkachenko
This bug report is a duplicate of:  Bug #737895: Windows compilations errors. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Confirmed
Undecided
Laurynas Biveinis
5.5
Confirmed
Medium
Laurynas Biveinis

Bug Description

Function gettimeofday , which used in userstat, is not defined when we compile on Windows.
We should
1) define cmake options -DWITH_USERSTAT=OFF to disable userstat
2) find workarond for gettimeofday, and use function which works on Windows

Tags: win
tags: added: win
Revision history for this message
Stewart Smith (stewart) wrote :

there is compatibility function in mysys for this. we should use it instead

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

I have already fixed in my Windows-porting work in progress.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.