"Srinivasan Thandapani" <[EMAIL PROTECTED]> wrote: > Hi, > > In my Mac OS X, I am linking sqlite(3.2.8) library statically to my C++ > program. > > I have defined macros > -DNO_TCL -DHAVE_USLEEP -DTEMP_STORE=3 > -DSQLITE_MAX_PAGE_SIZE=32768 -DTHREADSAFE=1 > in Makefile which creates the sqlite library. > > But often I am getting SQLITE_CORRUT error. > > My program works well in Windows & linux and also in FreeBSD 5.2.1 & 5.4. > But only in Mac, I am having this problem. Is there any option I should set > for Mac?? > > How can I rectify this? Any help! >
There are no special options you need to set for Mac. Database corruption is not necessary the fault of SQLite. (In fact, it usually is not.) Some other program might be corrupting the file. Or perhaps a stray pointer in your program is overwriting some of SQLites data and causing curruption that way. Without additional information it is difficult to diagnose your problem. -- D. Richard Hipp <[EMAIL PROTECTED]>

