Use a read-only snapshot transaction for calculating sync responses (#236)
* Use a read-only snapshot transaction for calculating sync responses * gb vendor update github.com/lib/pq
This commit is contained in:
parent
08b9940dde
commit
fbc4477be0
20 changed files with 1374 additions and 527 deletions
2
vendor/src/github.com/lib/pq/uuid_test.go
vendored
2
vendor/src/github.com/lib/pq/uuid_test.go
vendored
|
|
@ -33,7 +33,7 @@ func TestDecodeUUIDBackend(t *testing.T) {
|
|||
db := openTestConn(t)
|
||||
defer db.Close()
|
||||
|
||||
var s string = "a0ecc91d-a13f-4fe4-9fce-7e09777cc70a"
|
||||
var s = "a0ecc91d-a13f-4fe4-9fce-7e09777cc70a"
|
||||
var scanned interface{}
|
||||
|
||||
err := db.QueryRow(`SELECT $1::uuid`, s).Scan(&scanned)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue