From 2f95f67ef54b63b2caa5d5cc6940963159067249 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 13 Feb 2021 13:15:54 -0600 Subject: [PATCH] Remove initially deferred when not needed Makes test compatible with CockroachDB. --- tx_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tx_test.go b/tx_test.go index 901052c2..265131f9 100644 --- a/tx_test.go +++ b/tx_test.go @@ -20,7 +20,7 @@ func TestTransactionSuccessfulCommit(t *testing.T) { createSql := ` create temporary table foo( id integer, - unique (id) initially deferred + unique (id) ); ` @@ -62,7 +62,7 @@ func TestTxCommitWhenTxBroken(t *testing.T) { createSql := ` create temporary table foo( id integer, - unique (id) initially deferred + unique (id) ); ` @@ -205,7 +205,7 @@ func TestTransactionSuccessfulRollback(t *testing.T) { createSql := ` create temporary table foo( id integer, - unique (id) initially deferred + unique (id) ); ` @@ -368,7 +368,7 @@ func TestTxNestedTransactionCommit(t *testing.T) { createSql := ` create temporary table foo( id integer, - unique (id) initially deferred + unique (id) ); ` @@ -440,7 +440,7 @@ func TestTxNestedTransactionRollback(t *testing.T) { createSql := ` create temporary table foo( id integer, - unique (id) initially deferred + unique (id) ); `