Close implements the interface sql.RowIter.
(ctx *sql.Context)
| 104 | |
| 105 | // Close implements the interface sql.RowIter. |
| 106 | func (r *rootFinalizerIter) Close(ctx *sql.Context) error { |
| 107 | err := r.childIter.Close(ctx) |
| 108 | if err != nil { |
| 109 | _ = core.CloseContextRootFinalizer(ctx) |
| 110 | return err |
| 111 | } |
| 112 | return core.CloseContextRootFinalizer(ctx) |
| 113 | } |
| 114 | |
| 115 | // GetChildIter implements the interface sql.CustomRowIter. |
| 116 | func (r *rootFinalizerIter) GetChildIter() sql.RowIter { |
nothing calls this directly
no test coverage detected