diff --git a/src/box/vinyl.c b/src/box/vinyl.c index c3a2ecec1db6f3b099f0b7fd28e9a3315d215748..fd967ce38b90039b0cfcfeddc7e1d3284fdaa943 100644 --- a/src/box/vinyl.c +++ b/src/box/vinyl.c @@ -8780,7 +8780,12 @@ vy_cursor_delete(struct vy_cursor *c) struct vy_env *e = c->env; if (c->tx != NULL) { if (c->tx == &c->tx_autocommit) { - /* Rollback the automatic transaction. */ + /* + * Rollback the automatic transaction, + * use vy_tx_destroy() to not spoil + * the statistics of rollbacks issued + * by user transactions. + */ vy_tx_destroy(c->tx); } else { /*