diff --git a/src/obidmscolumn.c b/src/obidmscolumn.c index 0e16f69..d0ee29b 100644 --- a/src/obidmscolumn.c +++ b/src/obidmscolumn.c @@ -957,11 +957,6 @@ OBIDMS_column_p obi_create_column(OBIDMS_p dms, return NULL; } - if (strcmp(column_name, "merged") == 0) - { - fprintf(stderr, "\nversion nb = %d\n", version_number); - } - // Build the indexer name if needed if ((data_type == OBI_STR) || (data_type == OBI_SEQ) || (data_type == OBI_QUAL) || tuples) { @@ -2017,6 +2012,7 @@ int obi_clean_unfinished_columns(OBIDMS_p dms) // Find column directories ddir = 0; + rewinddir(dms->directory); while ((dms_dirent = readdir(dms->directory)) != NULL) { if ((dms_dirent->d_name)[0] == '.') @@ -2062,6 +2058,7 @@ int obi_clean_unfinished_columns(OBIDMS_p dms) i++; if ((col_dirent->d_name)[i] == '@') // Found a column file { + i++; j=i; while ((col_dirent->d_name)[j] != '.') j++;