If the indexer name is NULL when creating a column, it now becomes the
column name
This commit is contained in:
@ -607,7 +607,7 @@ OBIDMS_column_p obi_create_column(OBIDMS_p dms,
|
||||
// Build the indexer name if needed
|
||||
if ((data_type == OBI_STR) || (data_type == OBI_SEQ) || (data_type == OBI_QUAL))
|
||||
{
|
||||
if (strcmp(indexer_name, "") == 0)
|
||||
if ((indexer_name == NULL) || (strcmp(indexer_name, "") == 0))
|
||||
{
|
||||
final_indexer_name = obi_build_indexer_name(column_name, version_number);
|
||||
if (final_indexer_name == NULL)
|
||||
|
Reference in New Issue
Block a user