Skip to content

Commit 33c2d87

Browse files
committed
Fix
1 parent 693ab15 commit 33c2d87

File tree

1 file changed

+0
-1
lines changed
  • pkg/datasource/sql/undo/base

1 file changed

+0
-1
lines changed

pkg/datasource/sql/undo/base/undo.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ func (m *BaseUndoLogManager) Undo(ctx context.Context, dbType types.DBType, xid
253253
if err != nil {
254254
return err
255255
}
256-
defer conn.Close()
257256

258257
tx, err := conn.BeginTx(ctx, &sql.TxOptions{})
259258
if err != nil {

0 commit comments

Comments
 (0)