1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-28 13:01:41 +03:00

Revert change to check proper return value from QueryPerformanceFrequency

since it will be change in other patch
This commit is contained in:
msvensson@pilot.mysql.com 2008-02-19 09:36:28 +01:00
parent 86d065f525
commit bf98940d6b

View File

@ -368,7 +368,7 @@ static void my_win_init(void)
LARGE_INTEGER li, t_cnt;
DBUG_ASSERT(sizeof(LARGE_INTEGER) == sizeof(query_performance_frequency));
if (QueryPerformanceFrequency((LARGE_INTEGER *)
&query_performance_frequency) == 0)
&query_performance_frequency))
query_performance_frequency= 0;
else
{