8000
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 4293adc commit e008c68Copy full SHA for e008c68
src/backend/parser/scan.l
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.22 1997/09/24 17:48:25 thomas Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.23 1997/09/25 14:10:23 thomas Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -183,8 +183,8 @@ other .
183
<xq>{xqliteral} {
184
if ((llen+yyleng-1) > (MAX_PARSE_BUFFER - 1))
185
elog(WARN,"quoted string parse buffer of %d chars exceeded",MAX_PARSE_BUFFER);
186
- memcpy(literal+llen, yytext+1, yyleng);
187
- llen += yyleng-1;
+ memcpy(literal+llen, yytext, yyleng+1);
+ llen += yyleng;
188
}
189
190
<xm>{space}* { /* ignore */ }
0 commit comments