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

Commit5a99671

Browse files
committed
Fix typo.
1 parentb0bcf8a commit5a99671

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎src/backend/libpq/pqcomm.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
3030
* Portions Copyright (c) 1994, Regents of the University of California
3131
*
32-
*$Id: pqcomm.c,v 1.131 2002/04/20 23:35:43 petere Exp $
32+
*$Id: pqcomm.c,v 1.132 2002/04/21 01:03:33 tgl Exp $
3333
*
3434
*-------------------------------------------------------------------------
3535
*/
@@ -585,14 +585,16 @@ pq_getstring(StringInfo s)
585585
}
586586

587587
for (i=PqRecvPointer;i<PqRecvLength;i++)
588+
{
588589
if (PqRecvBuffer[i]=='\0')
589590
{
590591
/* does not copy the \0 */
591592
appendBinaryStringInfo(s,PqRecvBuffer+PqRecvPointer,
592593
i-PqRecvPointer);
593-
PqRecvPointer+=i+1;
594+
PqRecvPointer=i+1;/* advance past \0 */
594595
return0;
595596
}
597+
}
596598

597599
/* If we're here we haven't got the \0 in the buffer yet. */
598600

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp