List:Maria Storage Engine« Previous MessageNext Message »
From:Sergei Golubchik Date:October 21 2008 3:14pm
Subject:bzr commit into MySQL/Maria:mysql-maria branch (serg:2685)
View as plain text  
#At bzr+ssh://bk-internal.mysql.com/bzrroot/server/mysql-maria/

 2685 Sergei Golubchik	2008-10-21
      warnings on windows
modified:
  unittest/mysys/waiting_threads-t.c

=== modified file 'unittest/mysys/waiting_threads-t.c'
--- a/unittest/mysys/waiting_threads-t.c	2008-10-07 18:14:50 +0000
+++ b/unittest/mysys/waiting_threads-t.c	2008-10-21 15:13:24 +0000
@@ -54,7 +54,7 @@ pthread_handler_t test_wt(void *arg)
 
   my_rnd_init(&rand, (ulong)(intptr)&m, id);
   if (kill_strategy == YOUNGEST)
-    thds[id].thd.weight= (ulong volatile)~my_getsystime();
+    thds[id].thd.weight= (ulong)~my_getsystime();
   if (kill_strategy == LOCKS)
     thds[id].thd.weight= 0;
 
@@ -104,7 +104,7 @@ retry:
       if (kill_strategy == LOCKS)
         thds[id].thd.weight= 0;
       if (kill_strategy == YOUNGEST)
-        thds[id].thd.weight= (ulong volatile)~my_getsystime();
+        thds[id].thd.weight= (ulong)~my_getsystime();
     }
     else if (kill_strategy == LOCKS)
       thds[id].thd.weight++;

Thread
bzr commit into MySQL/Maria:mysql-maria branch (serg:2685) Sergei Golubchik21 Oct