Columns that are cloned are now closed after cloning

This commit is contained in:
Celine Mercier
2015-09-02 10:36:00 +02:00
parent f0dffaff13
commit 52e3f2ce4a

View File

@ -913,7 +913,12 @@ OBIDMS_column_p obi_clone_column(OBIDMS_p dms, const char* column_name, obiversi
(new_column->header)->lines_used = nb_lines; (new_column->header)->lines_used = nb_lines;
} }
// close column_to_clone TODO // close column_to_clone
if (obi_close_column(column_to_clone) < 0)
{
obidebug(1, "\nError closing a column that has been cloned");
// TODO return NULL or not?
}
return new_column; return new_column;
} }