Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 89cf930

Browse files
committed
Fix stupid typo that broke empty-query response... odd that
this is not revealed by any of our regression tests...
1 parent 26909a0 commit 89cf930

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/tcop/dest.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/tcop/dest.c,v 1.28 1999/04/25 21:50:57 tgl Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/tcop/dest.c,v 1.29 1999/04/28 22:17:58 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -336,7 +336,7 @@ NullCommand(CommandDest dest)
336336
* tell the fe that we saw an empty query string
337337
* ----------------
338338
*/
339-
pq_putbytes("I", 1);
339+
pq_putbytes("I", 2); /* note we send I and \0 */
340340
break;
341341

342342
case Local:

0 commit comments

Comments
 (0)