Revert change to check proper return value from QueryPerformanceFrequency

since it will be change in other patch
parent 86d065f5
...@@ -368,7 +368,7 @@ static void my_win_init(void) ...@@ -368,7 +368,7 @@ static void my_win_init(void)
LARGE_INTEGER li, t_cnt; LARGE_INTEGER li, t_cnt;
DBUG_ASSERT(sizeof(LARGE_INTEGER) == sizeof(query_performance_frequency)); DBUG_ASSERT(sizeof(LARGE_INTEGER) == sizeof(query_performance_frequency));
if (QueryPerformanceFrequency((LARGE_INTEGER *) if (QueryPerformanceFrequency((LARGE_INTEGER *)
&query_performance_frequency) == 0) &query_performance_frequency))
query_performance_frequency= 0; query_performance_frequency= 0;
else else
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment