Add support for CockorachDB.
This commit is contained in:
parent
3ff9241eea
commit
bc776f947b
33 changed files with 1040 additions and 1037 deletions
|
|
@ -12,6 +12,8 @@ import (
|
|||
)
|
||||
|
||||
func TestLockTable(t *testing.T) {
|
||||
skipForCockroachDB(t) // doesn't support
|
||||
|
||||
expectedSQL := `
|
||||
LOCK TABLE dvds.address IN`
|
||||
|
||||
|
|
@ -62,6 +64,8 @@ LOCK TABLE dvds.address IN`
|
|||
}
|
||||
|
||||
func TestLockExecContext(t *testing.T) {
|
||||
skipForCockroachDB(t)
|
||||
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Microsecond)
|
||||
defer cancel()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue