diff options
author | msvensson@pilot.mysql.com <> | 2008-02-19 09:36:28 +0100 |
---|---|---|
committer | msvensson@pilot.mysql.com <> | 2008-02-19 09:36:28 +0100 |
commit | bf98940d6b1e611912c53eff75b09350a5767b11 (patch) | |
tree | 8851fed68ae9204631a8da5923796ebe8d3e5a76 /mysys | |
parent | 86d065f525e6684898f7bacd52e9a07ae89c50b7 (diff) | |
download | mariadb-git-bf98940d6b1e611912c53eff75b09350a5767b11.tar.gz |
Revert change to check proper return value from QueryPerformanceFrequency
since it will be change in other patch
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/my_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_init.c b/mysys/my_init.c index 5afc1e377ac..e50b121cc1d 100644 --- a/mysys/my_init.c +++ b/mysys/my_init.c @@ -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 { |