2
0

Test should always close rows

This commit is contained in:
Jack Christensen
2022-03-22 20:41:05 -05:00
parent 7b31b56de9
commit 103dfe145e
+1
View File
@@ -58,6 +58,7 @@ func TestRecordCodecDecodeValue(t *testing.T) {
t.Run(tt.sql, func(t *testing.T) {
rows, err := conn.Query(context.Background(), tt.sql)
require.NoError(t, err)
defer rows.Close()
for rows.Next() {
values, err := rows.Values()