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

Commite391c15

Browse files
committed
First post-beta1 bug fix :-(. Silly typo in new coding for doNegate
failed to negate a negative value back to positive, so '- - 123.45'did the wrong thing.
1 parente1a95de commite391c15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/parser/gram.y

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.148 2000/02/21 18:47:02 tgl Exp $
14+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.149 2000/02/22 00:05:04 tgl Exp $
1515
*
1616
* HISTORY
1717
* AUTHORDATEMAJOR EVENT
@@ -5646,7 +5646,7 @@ doNegateFloat(Value *v)
56465646
if (*oldval =='+')
56475647
oldval++;
56485648
if (*oldval =='-')
5649-
v->val.str = oldval;/* just strip the '-'*/
5649+
v->val.str = oldval+1;/* just strip the '-'*/
56505650
else
56515651
{
56525652
char *newval = (char *)palloc(strlen(oldval) +2);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp