Skip to content

Commit 8453ab7

Browse files
committed
Full value converter refactor
1 parent 3e89ffd commit 8453ab7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

python/tests/test_value_converter.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,6 +1187,11 @@ async def test_empty_array(
11871187
VarCharArray([]),
11881188
[],
11891189
),
1190+
(
1191+
"VARCHAR ARRAY",
1192+
[],
1193+
[],
1194+
),
11901195
(
11911196
"TEXT ARRAY",
11921197
TextArray([]),

src/driver/inner_connection.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,8 @@ impl PsqlpyConnection {
2929
if prepared {
3030
return Ok(pconn.prepare_cached(query).await?);
3131
} else {
32-
pconn.batch_execute("BEGIN").await?;
3332
let prepared = pconn.prepare(query).await?;
3433
self.drop_prepared(&prepared).await?;
35-
pconn.batch_execute("COMMIT").await?;
3634
return Ok(prepared);
3735
}
3836
}

0 commit comments

Comments
 (0)