Skip to content

Commit

Permalink
Merge pull request #998 from nats-io/fix_test_sql
Browse files Browse the repository at this point in the history
Fixed SQL test
  • Loading branch information
kozlovic committed Dec 20, 2019
2 parents 89396be + 964ec97 commit d884137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stores/sqlstore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ func TestSQLSubStoreCachingAndRecovery(t *testing.T) {
acks := make(map[uint64]struct{})
acks[2] = struct{}{}
ackBytes, _ := sqlEncodeSeqs(acks, func(_ uint64) {})
stmt := "INSERT INTO SubsPending (subid, row, lastsent, pending, acks) VALUES (?, ?, ?, ?, ?)"
stmt := "INSERT INTO SubsPending (subid, `row`, lastsent, pending, acks) VALUES (?, ?, ?, ?, ?)"
if testSQLDriver == driverPostgres {
stmt = "INSERT INTO SubsPending (subid, row, lastsent, pending, acks) VALUES ($1, $2, $3, $4, $5)"
}
Expand Down

0 comments on commit d884137

Please sign in to comment.