always reset row iter when iterator used
This commit is contained in:
@ -251,8 +251,10 @@ int ObPDMLOpDataDriver::write_partitions(ObExecContext &ctx)
|
|||||||
// nop
|
// nop
|
||||||
} else if (OB_FAIL(writer_->write_rows(ctx, tablet_loc, *row_iter))) {
|
} else if (OB_FAIL(writer_->write_rows(ctx, tablet_loc, *row_iter))) {
|
||||||
LOG_WARN("fail write rows", K(tablet_id), K(ret));
|
LOG_WARN("fail write rows", K(tablet_id), K(ret));
|
||||||
} else {
|
}
|
||||||
|
if (NULL != row_iter) {
|
||||||
row_iter->close();
|
row_iter->close();
|
||||||
|
row_iter = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user