Re: [sqlite] Corrupted database (image is malformed): always the same size

2009-12-21 Thread Gianandrea Gobbo
Max Vlasov ha scritto: > On Fri, Dec 18, 2009 at 6:27 PM, Gianandrea Gobbo <go...@solari.it> wrote: > > Gianandrea, I once had an experience with fixing a modified code that led to > database disk image malformation. If you can reproduce the bug with a > comparatively few

[sqlite] Corrupted database (image is malformed): always the same size

2009-12-18 Thread Gianandrea Gobbo
I'm using sqlite (2.8) on an embedded product, running a Linux kernel. I'm experiencing sometimes a database corruption, and listing some tables contents gets me a "SQL error: database disk image is malformed". Ok, there can be many reasons for this, but the strange thing that puzzles me is that