Re: can a Commit interruption damage files?

Jean-Claude Wippler <[email protected]> Wed, 25 Apr 2007 19:29:13 +0200
Newsgroups gmane.comp.db.metakit
Message-ID <[email protected]>
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 [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/metakit?hl=en
-~----------~----~----~----~------~----~------~--~---