MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Magnus Blåudd Date:June 1 2009 3:34pm
Subject:bzr push into mysql-5.1-telco-7.0 branch (magnus.blaudd:2938 to 2939)
Bug#42704
View as plain text  
 2939 Magnus Blåudd	2009-06-01
      Bug #42704 "Slave_IO_Running" differs in test result (2)
       - Fix 617 warnings about unused parameter

    modified:
      include/my_socket_posix.h
 2938 Magnus Blåudd	2009-06-01
      Bug#42704 "Slave_IO_Running" differs in test result (2)
       - 'my_real_read' assumes that errno can be read also when no system function
         has failed. To avoid spurios errors "errno" must be rest to make sure that
         errno from previous affects the current read.
       - The reset of errno was removed in 7.0 with. It has as never been done on windows
         before but it should be done in the same way for any platform.

    modified:
      include/my_socket_posix.h
      include/my_socket_win32.h
      vio/viosocket.c
=== modified file 'include/my_socket_posix.h'
--- a/include/my_socket_posix.h	2009-06-01 15:13:46 +0000
+++ b/include/my_socket_posix.h	2009-06-01 15:34:34 +0000
@@ -49,7 +49,7 @@ static inline int my_socket_errno()
 
 static inline void my_socket_set_errno(int error)
 {
-  errno= 0;
+  errno= error;
 }
 
 static inline my_socket my_socket_create(int domain, int type, int protocol)

Attachment: [text/bzr-bundle] bzr/magnus.blaudd@sun.com-20090601153434-ai9qfmpwwmorscn0.bundle
Thread
bzr push into mysql-5.1-telco-7.0 branch (magnus.blaudd:2938 to 2939)Bug#42704Magnus Blåudd1 Jun