Skip to content

Commit

Permalink
Merge branch 'MysqlDialect' into 'master'
Browse files Browse the repository at this point in the history
MysqlDialect#nextSequence drops superfluous parenthesis

See merge request exedio/cope!1111
  • Loading branch information
rw7 committed Jun 4, 2024
2 parents 3bef80e + f433786 commit b035242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/mysqlsrc/com/exedio/cope/MysqlDialect.java
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ Long nextSequence(
final Statement bf = executor.newStatement();
bf.append("INSERT "). // MySQL allows INSERT without INTO: https://dev.mysql.com/doc/refman/5.7/en/insert.html
append(quotedName).
append("()VALUES()");
append(" VALUES()");

return executor.insertAndGetGeneratedKeys(connection, bf, resultSet ->
{
Expand Down

0 comments on commit b035242

Please sign in to comment.