main logo
Subject: [V4RB] How to avoid crashes with corrupted db
Author: Joerg Pressel
Posted: 2001/07/31 03:08:11
 
View Entire Thread
New Search


After a crash of my app in rare cases the database gets corrupted - problem
is, when I try to re-open this db, my app crashes with error 2 or 3.

This happens at VDatabase.Open( myfile ) - it seems there is nothing I can
do about it.

Opening the same db in ViSQL works fine...

So I think it has to be something to do with the structure of the corrupted
file loaded to my database class that does not fit my Tables/Fields.

Any ideas how to prevent that kind of crashes? Should I Open the file in a
generic VDatabase, first and check if tables and fields are OK?

Would be nice if Valentina could be aware of this - Ruslan I'll send you an
example -

J=F6rg

____________________________________________
three-2-one interaktive Medien GmbH

joergp .AT. three-2-one .D.O.T com
http://www.three-2-one.com
fon: +49 2151 319450
 
©2001 Joerg Pressel
<-- Prior Message New Search Next Message -->