www.virtualacorn.co.uk/forum

For support and advice on VirtualAcorn products
Forums now closed. This is an HTML only record of the content.
HTML version of Forum generated Thursday 24th May 2018

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Subtle difference between hostfs and a in file date stamping
PostPosted: Sun Nov 03, 2002 5:01 pm 
The other day I lost a little data in a database because I relied on the
fact that I always have "Force, if newer" option set in the Filer. I expected
the later version of the database would overwrite the older one, but it
didn't. The reason was that despite the fact that I had updated the data,
when it was written back to HostFS the date stamp was not updated.
So although it was a later version of the file, the Filer saw it as date
stamped 2 days earlier.

This behaviour was with MultiStore and it always writes data back to
the database file when opening and closing a database (even if no
records are changed). On ADFS this means it gets a new date stamp,
but not on HostFS.

I tried the same with !Edit and found that if the file was saved but with
no changes then the date stamp was NOT updated (whereas on ADFS
it would be). If the text file was changed and saved then the date stamp
was updated. This is as you would expect, but subtly different to the
behaviour of MultiStore on the same filing system.

Any thoughts?

Mike


Top
  
 
 
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

   
Forums originally Powered by phpBB © 2007 phpBB Group. Contents © 3QD Developments Ltd 2018 version no. 1.07