Skip to content
Snippets Groups Projects
Commit ed118276 authored by Vadim B. Mikheev's avatar Vadim B. Mikheev
Browse files

Clean CommandInfo after posting to client.

parent becd2f9b
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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) ...@@ -104,6 +104,7 @@ EndCommand(char *commandTag, CommandDest dest)
*/ */
pq_putnchar("C", 1); pq_putnchar("C", 1);
sprintf(buf, "%s%s", commandTag, CommandInfo); sprintf(buf, "%s%s", commandTag, CommandInfo);
CommandInfo[0] = 0;
pq_putstr(buf); pq_putstr(buf);
pq_flush(); pq_flush();
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment