Fixed bug when creating an OBI_IDX column

This commit is contained in:
Celine Mercier
2016-08-11 17:30:32 +02:00
parent 5b7917bb5a
commit 2d8ac2b035

View File

@ -566,7 +566,7 @@ OBIDMS_column_p obi_create_column(OBIDMS_p dms,
obidebug(1, "\nCan't create column because of empty column name");
return NULL;
}
if ((data_type < 1) || (data_type > 7))
if ((data_type < 1) || (data_type > 8)) // TODO check in more robust way
{
obidebug(1, "\nCan't create column because of invalid data type");
return NULL;