diff --git a/conn.go b/conn.go index 51177555..1f9cdad5 100644 --- a/conn.go +++ b/conn.go @@ -496,7 +496,6 @@ func (c *Conn) SelectValueTo(w io.Writer, sql string, arguments ...interface{}) return rxErr } } - return } func (c *Conn) rxDataRowValueTo(w io.Writer, bodySize int32) (err error) { diff --git a/conn_test.go b/conn_test.go index b55e51a5..e6627eed 100644 --- a/conn_test.go +++ b/conn_test.go @@ -635,7 +635,7 @@ func TestTransaction(t *testing.T) { return true }) if err != nil { - t.Fatalf("Transaction unexpectedly failed: ", err) + t.Fatalf("Transaction unexpectedly failed: %v", err) } if !committed { t.Fatal("Transaction was not committed") @@ -655,7 +655,7 @@ func TestTransaction(t *testing.T) { return false }) if err != nil { - t.Fatalf("Transaction unexpectedly failed: ", err) + t.Fatalf("Transaction unexpectedly failed: %v", err) } if committed { t.Fatal("Transaction should not have been committed")