summaryrefslogtreecommitdiff
path: root/mysys/my_init.c
diff options
context:
space:
mode:
authormsvensson@pilot.mysql.com <>2008-02-19 09:36:28 +0100
committermsvensson@pilot.mysql.com <>2008-02-19 09:36:28 +0100
commitbf98940d6b1e611912c53eff75b09350a5767b11 (patch)
tree8851fed68ae9204631a8da5923796ebe8d3e5a76 /mysys/my_init.c
parent86d065f525e6684898f7bacd52e9a07ae89c50b7 (diff)
downloadmariadb-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/my_init.c')
-rw-r--r--mysys/my_init.c2
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
{