List:Commits« Previous MessageNext Message »
From:Ignacio Galarza Date:February 18 2009 7:39pm
Subject:bzr commit into mysql-6.0-bugteam branch (ignacio.galarza:3025)
Bug#28775
View as plain text  
#At file:///C:/src/bzr.mysql/mysql-6.0-bugteam-28775/ based on revid:gshchepa@stripped

 3025 Ignacio Galarza	2009-02-18
      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-06-05 20:44:29 +0000
+++ b/vio/viosocket.c	2009-02-18 19:38:44 +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-bugteam branch (ignacio.galarza:3025)Bug#28775Ignacio Galarza18 Feb