Jean-Claude Wippler | 25 Apr 19:29

Re: can a Commit interruption damage files?


On 24 Apr 2007, at 16:54, sylvain wrote:

> Hi, when the following test is interrupted while committing, the next
> execution shows that data is lost while datafile has grown/kept its
> size.

This is normal.  The changes are not visible unless the commit  
completes fully.  Some data will have been written, but that space  
will be re-used on the next commit.  Files never shrink in size, but  
you can use db.SaveTo() to write a new compact version of the datafile.

Interrupting a commit does not damage files.

-jcw

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "metakit" group.
To post to this group, send email to metakit <at> googlegroups.com
To unsubscribe from this group, send email to metakit-unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/metakit?hl=en
-~----------~----~----~----~------~----~------~--~---


Gmane