2
0

Remove initially deferred when not needed

Makes test compatible with CockroachDB.
This commit is contained in:
Jack Christensen
2021-02-13 13:15:54 -06:00
parent c8a7c89f15
commit 2f95f67ef5
+5 -5
View File
@@ -20,7 +20,7 @@ func TestTransactionSuccessfulCommit(t *testing.T) {
createSql := ` createSql := `
create temporary table foo( create temporary table foo(
id integer, id integer,
unique (id) initially deferred unique (id)
); );
` `
@@ -62,7 +62,7 @@ func TestTxCommitWhenTxBroken(t *testing.T) {
createSql := ` createSql := `
create temporary table foo( create temporary table foo(
id integer, id integer,
unique (id) initially deferred unique (id)
); );
` `
@@ -205,7 +205,7 @@ func TestTransactionSuccessfulRollback(t *testing.T) {
createSql := ` createSql := `
create temporary table foo( create temporary table foo(
id integer, id integer,
unique (id) initially deferred unique (id)
); );
` `
@@ -368,7 +368,7 @@ func TestTxNestedTransactionCommit(t *testing.T) {
createSql := ` createSql := `
create temporary table foo( create temporary table foo(
id integer, id integer,
unique (id) initially deferred unique (id)
); );
` `
@@ -440,7 +440,7 @@ func TestTxNestedTransactionRollback(t *testing.T) {
createSql := ` createSql := `
create temporary table foo( create temporary table foo(
id integer, id integer,
unique (id) initially deferred unique (id)
); );
` `