vinyl: fix index->stmt_count incremented twice on upsert
Although upsert optimizers (both sync and background) replace the last UPSERT with a REPLACE and do not insert new statements, they use vy_index_insert_stmt(), which increments index->stmt_count. As a result, index->stmt_count is incremented twice. Closes #2421
Loading
Please register or sign in to comment