List:Commits« Previous MessageNext Message »
From:Andrei Elkin Date:February 3 2009 5:07pm
Subject:bzr push into mysql-6.0-bugteam branch (aelkin:3009 to 3010) Bug#42150
View as plain text  
 3010 Andrei Elkin	2009-02-03
      Bug #42150 binlog_start_comment.test failed: Error writing file 'UNOPENED'
      
      issue with merge.test:
      https://intranet.mysql.com/secure/pushbuild/showpush.pl?dir=bzr_mysql-6.0-bugteam&order=474
      
      Fixed with moving nt_share_delete():errno into the loop to reset at the beginning a possible
      last time non-zero.
modified:
  mysys/my_delete.c

 3009 Georgi Kodinov	2009-02-03
      fixed a test suite failure due to merge from 6.0-main
modified:
  mysql-test/suite/parts/r/partition_special_myisam.result

=== modified file 'mysys/my_delete.c'
--- a/mysys/my_delete.c	2009-02-02 17:39:49 +0000
+++ b/mysys/my_delete.c	2009-02-03 17:03:58 +0000
@@ -75,9 +75,9 @@ int nt_share_delete(const char *name, my
   DBUG_ENTER("nt_share_delete");
   DBUG_PRINT("my",("name %s MyFlags %d", name, MyFlags));
 
-  errno= 0;
   for (cnt= GetTickCount(); cnt; cnt--)
   {
+    errno= 0;
     sprintf(buf, "%s.%08X.deleted", name, cnt);
     if (MoveFile(name, buf))
       break;

Thread
bzr push into mysql-6.0-bugteam branch (aelkin:3009 to 3010) Bug#42150Andrei Elkin3 Feb