Skip to content
Snippets Groups Projects
Commit 8db04112 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

vinyl: properly initialize vy_index_env::index_count

The variable is only used for asserts, which
started to fail sporadically because of a missing initialization
since the last patch.
parent a59f93b7
No related branches found
No related tags found
No related merge requests found
......@@ -99,6 +99,7 @@ vy_index_env_create(struct vy_index_env *env, const char *path,
env->p_generation = p_generation;
env->upsert_thresh_cb = upsert_thresh_cb;
env->upsert_thresh_arg = upsert_thresh_arg;
env->index_count = 0;
return 0;
}
......
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