List:Maria Storage Engine« Previous MessageNext Message »
From:sanja Date:April 14 2008 2:33pm
Subject:bk commit into maria tree (bell:1.2631) BUG#22320
View as plain text  
Below is the list of changes that have just been committed into a local
maria repository of bell.  When bell does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2008-04-14 17:33:43+03:00, bell@stripped +2 -0
  BUG#22320 work around

  storage/maria/unittest/ma_pagecache_consist.c@stripped, 2008-04-14 17:33:38+03:00, bell@stripped +6 -0
    BUG#22320 work around

  storage/maria/unittest/ma_pagecache_rwconsist.c@stripped, 2008-04-14 17:33:38+03:00, bell@stripped +5 -1
    BUG#22320 work around

diff -Nrup a/storage/maria/unittest/ma_pagecache_consist.c b/storage/maria/unittest/ma_pagecache_consist.c
--- a/storage/maria/unittest/ma_pagecache_consist.c	2008-03-04 13:58:18 +02:00
+++ b/storage/maria/unittest/ma_pagecache_consist.c	2008-04-14 17:33:38 +03:00
@@ -487,6 +487,12 @@ int main(int argc __attribute__((unused)
   }
   my_delete(file1_name, MYF(0));
 
+  /*
+    workaround until we know why it crashes randomly on some machine
+    (BUG#22320).
+  */
+  sleep(2);
+
   DBUG_PRINT("info", ("file1 (%d) closed", file1.file));
   DBUG_PRINT("info", ("Program end"));
 
diff -Nrup a/storage/maria/unittest/ma_pagecache_rwconsist.c b/storage/maria/unittest/ma_pagecache_rwconsist.c
--- a/storage/maria/unittest/ma_pagecache_rwconsist.c	2008-03-04 18:07:52 +02:00
+++ b/storage/maria/unittest/ma_pagecache_rwconsist.c	2008-04-14 17:33:38 +03:00
@@ -354,7 +354,11 @@ int main(int argc __attribute__((unused)
 
   DBUG_PRINT("info", ("file1 (%d) closed", file1.file));
   DBUG_PRINT("info", ("Program end"));
-
+  /*
+    workaround until we know why it crashes randomly on some machine
+    (BUG#22320).
+  */
+  sleep(2);
   } /* SKIP_BIG_TESTS */
   my_end(0);
 
Thread
bk commit into maria tree (bell:1.2631) BUG#22320sanja14 Apr