From 863dd63fcc45b7b6596861a97f72158678635feb Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sun, 12 Jul 2009 22:21:52 +0930 Subject: [PATCH] Missed part of patch. --- ccan/tdb/tools/replay_trace.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ccan/tdb/tools/replay_trace.c b/ccan/tdb/tools/replay_trace.c index f48c7d1f..1a78a946 100644 --- a/ccan/tdb/tools/replay_trace.c +++ b/ccan/tdb/tools/replay_trace.c @@ -1264,6 +1264,9 @@ static void derive_dependencies(char *filename[], /* Create hash table for faster key lookup. */ hash = hash_ops(op, num_ops, num); + /* Now handle the hard cases: same serial number. */ + sort_ops(hash, filename, op); + /* We make the naive assumption that two ops on the same key * have to be ordered; it's overkill. */ for (i = 0; i < total_keys * 2; i++) { -- 2.39.2