From 90d8e8ff7ee94283270cc7b2bc6a986a7cd174fc Mon Sep 17 00:00:00 2001 From: Alvaro Herrera <alvherre@alvh.no-ip.org> Date: Mon, 24 Oct 2011 22:11:10 -0300 Subject: [PATCH] Add debugging aid in isolationtester --- src/test/isolation/isolationtester.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/isolation/isolationtester.c b/src/test/isolation/isolationtester.c index 023e4dc222b..b1d49c82320 100644 --- a/src/test/isolation/isolationtester.c +++ b/src/test/isolation/isolationtester.c @@ -482,8 +482,8 @@ run_permutation(TestSpec * testspec, int nsteps, Step ** steps) if (!PQsendQuery(conns[1 + step->session], step->sql)) { - fprintf(stdout, "failed to send query: %s\n", - PQerrorMessage(conns[1 + step->session])); + fprintf(stdout, "failed to send query for step %s: %s\n", + step->name, PQerrorMessage(conns[1 + step->session])); exit_nicely(); } -- GitLab