Commit 5180257c authored by Marko Mäkelä's avatar Marko Mäkelä

dict_index_t::reconstruct_fields(): Fix off-by-one error

parent cb1b7aa9
...@@ -1227,7 +1227,7 @@ inline void dict_index_t::reconstruct_fields() ...@@ -1227,7 +1227,7 @@ inline void dict_index_t::reconstruct_fields()
f.col->clear_instant(); f.col->clear_instant();
if (f.col->is_nullable()) { if (f.col->is_nullable()) {
n_nullable++; n_nullable++;
n_core_null += i < n_core_fields; n_core_null += i <= n_core_fields;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment