Added a check on the element when setting a value in a column

This commit is contained in:
Celine Mercier
2017-07-05 14:49:20 +02:00
parent 1d2996c6c0
commit f5e992abbf
10 changed files with 22 additions and 14 deletions

View File

@ -59,7 +59,7 @@ int obi_column_set_obiqual_int_with_elt_idx(OBIDMS_column_p column, index_t line
index_t idx;
char* new_indexer_name;
if (obi_column_prepare_to_set_value(column, line_nb) < 0)
if (obi_column_prepare_to_set_value(column, line_nb, element_idx) < 0)
return -1;
if (value == OBIQual_int_NA)