diff --git a/src/box/alter.cc b/src/box/alter.cc index 587f77823e88a649e922f647db79242dc4eacfd3..b891ed0d29eddd628cb25e386582a1a05250cdf3 100644 --- a/src/box/alter.cc +++ b/src/box/alter.cc @@ -681,7 +681,7 @@ alter_space_do(struct txn *txn, struct alter_space *alter) */ while (op != rlist_first_entry(&alter->ops, class AlterSpaceOp, link)) { - op = rlist_prev_entry(prev, link); + op = rlist_prev_entry(op, link); op->rollback(alter); } throw;