IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7203


Ignore:
Timestamp:
May 24, 2006, 5:53:46 PM (20 years ago)
Author:
Paul Price
Message:

Generate a MULTI the first time a DUPLICATE_OK is supplied. Change made to support psArguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/types/psMetadata.c

    r7031 r7203  
    1212 *  @author Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.105 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2006-05-02 01:48:56 $
     14 *  @version $Revision: 1.106 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2006-05-25 03:53:46 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    534534            psError(PS_ERR_UNKNOWN,false,PS_ERRORTEXT_psMetadata_ADD_TABLE_FAILED,key);
    535535            return false;
     536        }
     537
     538        // Create a multi, if required
     539        if (flags & PS_META_DUPLICATE_OK) {
     540            makeMetaMulti(mdTable,key,(psMetadataItem*)item); // Casting away const!
    536541        }
    537542    }
Note: See TracChangeset for help on using the changeset viewer.