From ed118276e3772d66047f04195b335fac9cd90a47 Mon Sep 17 00:00:00 2001 From: "Vadim B. Mikheev" Date: Thu, 28 Aug 1997 05:05:43 +0000 Subject: [PATCH] Clean CommandInfo after posting to client. --- src/backend/tcop/dest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/dest.c b/src/backend/tcop/dest.c index e42579a23a..72494b3ae9 100644 --- a/src/backend/tcop/dest.c +++ b/src/backend/tcop/dest.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/dest.c,v 1.8 1997/08/27 09:03:14 vadim Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/dest.c,v 1.9 1997/08/28 05:05:43 vadim Exp $ * *------------------------------------------------------------------------- */ @@ -104,6 +104,7 @@ EndCommand(char *commandTag, CommandDest dest) */ pq_putnchar("C", 1); sprintf(buf, "%s%s", commandTag, CommandInfo); + CommandInfo[0] = 0; pq_putstr(buf); pq_flush(); break; -- 2.40.0