Commit be62a314 authored by Geoff Simmons's avatar Geoff Simmons

bugfix finding the latest timestamp in a transaction group

parent 0d9f42a1
......@@ -399,7 +399,8 @@ dispatch(struct VSL_data *vsl, struct VSL_transaction * const pt[], void *priv)
reqend_t.tv_usec);
if (reqend_t.tv_sec > latest_t.tv_sec
|| reqend_t.tv_usec > latest_t.tv_usec)
|| (reqend_t.tv_sec == latest_t.tv_sec
&& reqend_t.tv_usec > latest_t.tv_usec))
memcpy(&latest_t, &reqend_t, sizeof(struct timeval));
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment