Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61366a9 commit ce2ab41Copy full SHA for ce2ab41
src/backend/commands/copy.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.209 2003/08/13 18:56:21 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.210 2003/08/28 13:52:34 tgl Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -432,7 +432,7 @@ CopyGetData(void *databuf, int datasize)
432
avail = datasize;
433
pq_copymsgbytes(copy_msgbuf, databuf, avail);
434
databuf = (void *) ((char *) databuf + avail);
435
- datasize = -avail;
+ datasize -= avail;
436
}
437
break;
438
0 commit comments