Skip to content

Commit

Permalink
Add an int conversion to see if that fixes the issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Dtenwolde committed Jan 15, 2025
1 parent 5e5dc9d commit 2dee7dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion third_party/libpg_query/grammar/statements/pgq.y
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ CostNum:
CostDefault:
DEFAULT CostNum { $$ = $2; }
|
/* EMPTY */ { $$ = NULL; }
/* EMPTY */ { $$ = (int)NULL; }
;

CostOptional:
Expand Down
2 changes: 1 addition & 1 deletion third_party/libpg_query/src_backend_parser_gram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24277,7 +24277,7 @@ YYLTYPE yylloc = yyloc_default;

case 364: /* CostDefault: %empty */
#line 573 "third_party/libpg_query/grammar/statements/pgq.y"
{ (yyval.ival) = NULL; }
{ (yyval.ival) = (int)NULL; }
#line 24282 "third_party/libpg_query/grammar/grammar_out.cpp"
break;

Expand Down

0 comments on commit 2dee7dd

Please sign in to comment.