Skip to content

Commit

Permalink
Merge pull request #19 from GFZM/master
Browse files Browse the repository at this point in the history
Fixed problem in JSON_MERGE
  • Loading branch information
Hikariii committed Sep 1, 2017
2 parents b5ea223 + 3733fb1 commit 18db60b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Query/AST/Functions/Mysql/JsonMerge.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function parse(Parser $parser)
$parser->match(Lexer::T_OPEN_PARENTHESIS);

$this->firstJsonDocExpr = $parser->StringPrimary();
$this->jsonDocs[] = $this->firstJsonPathExpr;
$this->jsonDocs[] = $this->firstJsonDocExpr;

$parser->match(Lexer::T_COMMA);

Expand Down

0 comments on commit 18db60b

Please sign in to comment.