mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
Clean CommandInfo after posting to client.
This commit is contained in:
parent
becd2f9b82
commit
ed118276e3
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue