feat: support breaker with sql statements (#3936)

This commit is contained in:
Kevin Wan
2024-02-25 11:24:44 +08:00
committed by GitHub
parent 914bcdcf2b
commit 0dfaf135dd
8 changed files with 177 additions and 114 deletions

View File

@@ -156,6 +156,7 @@ func TestStatement(t *testing.T) {
st := statement{
query: "foo",
stmt: stmt,
brk: breaker.NopBreaker(),
}
assert.NoError(t, st.Close())
})