#At file:///home/jonas/src/telco-6.2/
2659 Jonas Oreland 2008-09-08
ndb - testSystemRestart -n SR_UNDO
when returning now, pretend that it took 0ms
this to prevent the scenario where a byte arrive
in the millisecond just before timeout, leading to a
subsequent timeout
modified:
storage/ndb/src/common/util/socket_io.cpp
=== modified file 'storage/ndb/src/common/util/socket_io.cpp'
--- a/storage/ndb/src/common/util/socket_io.cpp 2007-03-22 11:35:07 +0000
+++ b/storage/ndb/src/common/util/socket_io.cpp 2008-09-07 22:26:00 +0000
@@ -111,6 +111,9 @@ readln_socket(NDB_SOCKET_TYPE socket, in
buf[i-1] = '\n';
ptr--;
}
+
+ *time = 0;
+
ptr[0]= 0;
return ptr - buf;
}
| Thread |
|---|
| • bzr commit into mysql-5.1 branch (jonas:2659) | Jonas Oreland | 8 Sep |