libDtSearch: NO_TIMESTAMP is always on for CDE

This commit is contained in:
Peter Howkins
2018-06-29 00:47:03 +01:00
parent a1ad4ae25b
commit 9d921ba219
55 changed files with 0 additions and 1230 deletions

View File

@@ -1055,39 +1055,6 @@ LOOKUP_ENTRY *lu_ptr; /* corresponding to pg_ptr */
Page zero handling functions for data and key files
***********************************************************************/
#ifndef NO_TIMESTAMP
/* Increment and return file timestamp
*/
ULONG dio_pzsetts(fno )
FILE_NO fno;
{
ULONG ts;
PGZERO *pgzero_ptr;
if ( db_tsrecs || db_tssets ) {
pgzero_ptr = &pgzero[fno];
pgzero_ptr->pz_modified = TRUE;
ts = ++pgzero_ptr->pz_timestamp;
}
else
ts = 0;
return( ts );
}
/* Return file timestamp
*/
ULONG dio_pzgetts(fno)
FILE_NO fno;
{
if ( pgzero[fno].pz_next == 0L )
dio_pzread(fno);
o_fileinit(fno);
return ( pgzero[fno].pz_timestamp );
}
#endif
/* Initialize page zero table
*/