Clean CommandInfo after posting to client.
This commit is contained in:
parent
becd2f9b82
commit
ed118276e3
@ -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)
|
|||||||
*/
|
*/
|
||||||
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user