List:Commits« Previous MessageNext Message »
From:Ignacio Galarza Date:October 10 2008 9:35pm
Subject:bzr commit into mysql-6.0 branch (iggy:2728) Bug#28775
View as plain text  
#At file:///src/bzr-mysql/mysql-6.0-runtime-28775/

 2728 Ignacio Galarza	2008-10-10
      Bug#28775 - errno or socket_errno in viosocket.c on windows
      - Use socket_errno on Win32. It is mapped to WSAGetLastError().
modified:
  vio/viosocket.c

=== modified file 'vio/viosocket.c'
--- a/vio/viosocket.c	2008-05-14 13:33:43 +0000
+++ b/vio/viosocket.c	2008-10-10 21:35:40 +0000
@@ -46,7 +46,7 @@ size_t vio_read(Vio * vio, uchar* buf, s
 #ifndef DBUG_OFF
   if (r == (size_t) -1)
   {
-    DBUG_PRINT("vio_error", ("Got error %d during read",errno));
+    DBUG_PRINT("vio_error", ("Got error %d during read", socket_errno));
   }
 #endif /* DBUG_OFF */
   DBUG_PRINT("exit", ("%ld", (long) r));

Thread
bzr commit into mysql-6.0 branch (iggy:2728) Bug#28775Ignacio Galarza10 Oct