File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ type rootFinalizerIter struct {
9999 childIter sql.RowIter
100100}
101101
102- var _ sql.RowIter = (* rootFinalizerIter )(nil )
102+ var _ sql.MutableRowIter = (* rootFinalizerIter )(nil )
103103
104104// Next implements the interface sql.RowIter.
105105func (r * rootFinalizerIter ) Next (ctx * sql.Context ) (sql.Row , error ) {
@@ -115,3 +115,15 @@ func (r *rootFinalizerIter) Close(ctx *sql.Context) error {
115115 }
116116 return core .CloseContextRootFinalizer (ctx )
117117}
118+
119+ // GetChildIter implements the interface sql.CustomRowIter.
120+ func (r * rootFinalizerIter ) GetChildIter () sql.RowIter {
121+ return r .childIter
122+ }
123+
124+ // WithChildIter implements the interface sql.CustomRowIter.
125+ func (r * rootFinalizerIter ) WithChildIter (childIter sql.RowIter ) sql.RowIter {
126+ nr := * r
127+ nr .childIter = childIter
128+ return & nr
129+ }
You can’t perform that action at this time.
0 commit comments