Skip to content

Commit

Permalink
fix #217
Browse files Browse the repository at this point in the history
  • Loading branch information
Edvard Fonsell committed Mar 30, 2017
1 parent c91a48d commit ab7a542
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public SQLVariants sqlVariants() {
public static class MySQLVariants implements SQLVariants {
@Override
public String currentTimePlusSeconds(int seconds) {
return "date_add(current_timestamp, interval " + seconds + " second)";
return "from_unixtime(unix_timestamp() + " + seconds + ")";
}

@Override
Expand Down

0 comments on commit ab7a542

Please sign in to comment.