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");
|
obidebug(1, "\nCan't create column because of empty column name");
|
||||||
return NULL;
|
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");
|
obidebug(1, "\nCan't create column because of invalid data type");
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Reference in New Issue
Block a user