MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Marc Alff Date:April 10 2009 9:55pm
Subject:bzr commit into mysql-6.0-perf branch (marc.alff:2861) Bug#44190
View as plain text  
#At file:///home/malff/BZR-TREE/mysql-6.0-perf/ based on revid:marc.alff@stripped

 2861 Marc Alff	2009-04-10
      Bug#44190 Performance schema: nanosecond and ticks timers not implemented on windows
      
      Test cleanup
modified:
  mysql-test/suite/perfschema/r/schema.result
  unittest/mysys/my_rdtsc-t.c

=== modified file 'mysql-test/suite/perfschema/r/schema.result'
--- a/mysql-test/suite/perfschema/r/schema.result	2009-04-07 19:52:12 +0000
+++ b/mysql-test/suite/perfschema/r/schema.result	2009-04-10 21:54:51 +0000
@@ -161,9 +161,9 @@ show create table PERFORMANCE_TIMERS;
 Table	Create Table
 PERFORMANCE_TIMERS	CREATE TABLE `PERFORMANCE_TIMERS` (
   `TIMER_NAME` enum('CYCLE','NANOSECOND','MICROSECOND','MILLISECOND','TICK') NOT NULL,
-  `TIMER_FREQUENCY` bigint(20) NOT NULL,
-  `TIMER_RESOLUTION` bigint(20) NOT NULL,
-  `TIMER_OVERHEAD` bigint(20) NOT NULL
+  `TIMER_FREQUENCY` bigint(20) DEFAULT NULL,
+  `TIMER_RESOLUTION` bigint(20) DEFAULT NULL,
+  `TIMER_OVERHEAD` bigint(20) DEFAULT NULL
 ) ENGINE=PERFORMANCE_SCHEMA DEFAULT CHARSET=utf8
 show create table PROCESSLIST;
 Table	Create Table

=== modified file 'unittest/mysys/my_rdtsc-t.c'
--- a/unittest/mysys/my_rdtsc-t.c	2009-04-10 18:56:32 +0000
+++ b/unittest/mysys/my_rdtsc-t.c	2009-04-10 21:54:51 +0000
@@ -105,7 +105,7 @@ void test_cycle()
   if (myt.cycles_routine != 0)
     ok((nonzero != 0), "The cycle timer is implemented");
   else
-    ok((nonzero == LOOP_COUNT), "The cycle timer is not implemented and returns 0");
+    ok((nonzero == 0), "The cycle timer is not implemented and returns 0");
 }
 
 void test_nanosecond()
@@ -131,7 +131,7 @@ void test_nanosecond()
   if (myt.nanoseconds_routine != 0)
     ok((nonzero != 0), "The nanosecond timer is implemented");
   else
-    ok((nonzero == LOOP_COUNT), "The nanosecond timer is not implemented and returns 0");
+    ok((nonzero == 0), "The nanosecond timer is not implemented and returns 0");
 }
 
 void test_microsecond()
@@ -157,7 +157,7 @@ void test_microsecond()
   if (myt.microseconds_routine != 0)
     ok((nonzero != 0), "The microsecond timer is implemented");
   else
-    ok((nonzero == LOOP_COUNT), "The microsecond timer is not implemented and returns 0");
+    ok((nonzero == 0), "The microsecond timer is not implemented and returns 0");
 }
 
 void test_millisecond()
@@ -183,7 +183,7 @@ void test_millisecond()
   if (myt.milliseconds_routine != 0)
     ok((nonzero != 0), "The millisecond timer is implemented");
   else
-    ok((nonzero == LOOP_COUNT), "The millisecond timer is not implemented and returns 0");
+    ok((nonzero == 0), "The millisecond timer is not implemented and returns 0");
 }
 
 void test_tick()
@@ -209,7 +209,7 @@ void test_tick()
   if (myt.ticks_routine != 0)
     ok((nonzero != 0), "The tick timer is implemented");
   else
-    ok((nonzero == LOOP_COUNT), "The tick timer is not implemented and returns 0");
+    ok((nonzero == 0), "The tick timer is not implemented and returns 0");
 }
 
 int main(int argc __attribute__((unused)),

Thread
bzr commit into mysql-6.0-perf branch (marc.alff:2861) Bug#44190Marc Alff10 Apr