Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit89cf930

Browse files
committed
Fix stupid typo that broke empty-query response... odd that
this is not revealed by any of our regression tests...
1 parent26909a0 commit89cf930

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
caseLocal:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp