Fix windows and aix compile problem

 - Variables must be declared first in each block
parent ec2e007a
...@@ -131,8 +131,9 @@ row_build_index_entry( ...@@ -131,8 +131,9 @@ row_build_index_entry(
} }
for (i = 0; i < entry_len; i++) { for (i = 0; i < entry_len; i++) {
const dict_col_t* col;
ind_field = dict_index_get_nth_field(index, i); ind_field = dict_index_get_nth_field(index, i);
const dict_col_t* col = ind_field->col; col = ind_field->col;
dfield = dtuple_get_nth_field(entry, i); dfield = dtuple_get_nth_field(entry, i);
......
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