UPDATE OR INSERT with existing RETURNING clause handled incorrectly for generated keys [JDBC566] #598
Submitted by: @mrotteveel
The grammar for UPDATE OR INSERT has a minor bug (expecting MATCHING columnlist instead of MATCHING (columnlist)), which causes an existing RETURNING clause to not be properly identified. This results in Jaybird adding yet another RETURNING clause.
This results in error:
This bug in the grammar is also present in Jaybird 2.2, but difference between ANTLR 3.4 and 4.7 apparently cause ANTLR 3.4 to still correctly identify the RETURNING clause.
The text was updated successfully, but these errors were encountered: