Fixed a bug where an imported column was not flagged as finished,

resulting in its deletion when reopening the DMS.
This commit is contained in:
Celine Mercier
2018-10-29 17:39:30 +01:00
parent b11d52d630
commit 92c0fbc9bf

View File

@ -1420,6 +1420,8 @@ obiversion_t obi_import_column(const char* dms_path_1, const char* dms_path_2, c
obidebug(1, "\nError closing an imported column");
return -1;
}
(column_2->header)->finished = true; // note: this is normally handled by the view that created the column
if (obi_close_column(column_2) < 0)
{
obidebug(1, "\nError closing an imported column");
@ -1494,6 +1496,8 @@ obiversion_t obi_import_column(const char* dms_path_1, const char* dms_path_2, c
obidebug(1, "\nError closing an imported column");
return -1;
}
(column_2->header)->finished = true; // note: this is normally handled by the view that created the column
if (obi_close_column(column_2) < 0)
{
obidebug(1, "\nError closing an imported column");