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 e1a95de commit e391c15Copy full SHA for e391c15
src/backend/parser/gram.y
@@ -11,7 +11,7 @@
11
*
12
13
* IDENTIFICATION
14
- * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.148 2000/02/21 18:47:02 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.149 2000/02/22 00:05:04 tgl Exp $
15
16
* HISTORY
17
* AUTHOR DATE MAJOR EVENT
@@ -5646,7 +5646,7 @@ doNegateFloat(Value *v)
5646
if (*oldval == '+')
5647
oldval++;
5648
if (*oldval == '-')
5649
- v->val.str = oldval; /* just strip the '-' */
+ v->val.str = oldval+1; /* just strip the '-' */
5650
else
5651
{
5652
char *newval = (char *) palloc(strlen(oldval) + 2);
0 commit comments