Changeset 31904
- Timestamp:
- 2017-08-18T19:51:51+12:00 (6 years ago)
- Location:
- main/trunk/greenstone2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/oaiinfo.pm
r31900 r31904 6 6 use constant INFO_DATESTAMP_INDEX => 2; 7 7 8 my $OID_EARLIEST_TIMESTAMP = " earliesttimestamp";8 my $OID_EARLIEST_TIMESTAMP = "_earliesttimestamp"; 9 9 # Declaring as my $OID_EARLIEST_TIMESTAMP rather than constant, because it's not straightforward 10 10 # to use string constant as hash key (need to concat with empty str). … … 31 31 # This record has $OID_EARLIEST_TIMESTAMP for OID. 32 32 # Its deletion status is maintained at NA, not applicable. 33 # In cases of older oai-inf.db files where there's no earliesttimestamp field, this record33 # In cases of older oai-inf.db files where there's no $OID_EARLIEST_TIMESTAMP record, this record 34 34 # is also created but with timestamp set to the oldest lastmodified date in oai-inf.db. 35 35 -
main/trunk/greenstone2/runtime-src/src/colservr/comtypes.h
r31903 r31904 49 49 50 50 51 const text_t OAI_EARLIESTTIMESTAMP_OID = " earliesttimestamp";51 const text_t OAI_EARLIESTTIMESTAMP_OID = "_earliesttimestamp"; 52 52 // https://www.tutorialspoint.com/cplusplus/cpp_constants_literals.htm 53 53
Note:
See TracChangeset
for help on using the changeset viewer.