Skip to content
Snippets Groups Projects
Commit 13dd8a41 authored by Vladimir Davydov's avatar Vladimir Davydov
Browse files

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
parent 927bd9c2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment