On 3 Aug 2012, at 3:33pm, Tobias Giesen <tobiasgie...@gmail.com> wrote:

> I have one particular type of database that has become unreadable on
> the new Mac OS 10.8. It must be related to the SQL structure. The error
> I get is "database disk image is malformed". But the same file, on
> Snow Leopard, works fine.
> 
> The SQLite version on Snow Leopard is 3.6.12, and on Mountain Lion it
> is 3.7.12.

How are you accessing this file ?  Are you using your own application or are 
you using the shell tool included with Mac OS X in

/usr/bin/sqlite3

?  In the folder where you find the database file on your 10.7 computer, are 
there any other files with similar names ?  They may be journal files for when 
the database was not closed properly.

> The strange thing is, when I attempt to load the sqlite3.dylib from
> Snow Leopard under Mountain Lion, it also does not work. But I'm not
> totally sure if loading the older sqlite3 library actually worked.

That may be totally unrelated to the file format.  You may be trying to open 
the wrong dynamic library, or one compiled for a different OS, or something.  
Check out the database itself using the shell tool, then involve a dynamic 
library only once you're sure the database file is okay.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to