Fixed bug when creating an OBI_IDX column
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user