database often gets corrupted

[prev] [thread] [next] [lurker] [Date index for 2003/11/24]

From: Gabor Szabo
Subject: database often gets corrupted
Date: 23:42 on 24 Nov 2003
When running the tests sometimes I stop them in the middle by Ctrl-C.
In such cases the database usually becomes corrupted.

I get an error message like this when I try to run the tests again:

Ima::DBI connect('t/test.db','',...) failed: database disk image is
malformed


How can we make sure that this will not happen in the real system ?
How can we write a test that will cause the above problem (even if that
test has to run 10 times to have good chances to one corruption)
so we can see when our script is good enough ?


Gabor


Generated at 08:06 on 26 Nov 2003 by mariachi 0.51