Woody Wu wrote: > I have a testing code, attached in this email, if continuously run it for > 20 - 40 hours, the sqlite database will be corrupted. > > The application is running on an ARM Linux system with Yaffs2 filesystem > on NAND flashes.
I'd guess that the flash is not very reliable. Does the same happen on a desktop machine (with an HD, an SSD, or on a RAM disk)? > if (sql_code == SQLITE_BUSY || SQLITE_LOCKED) This is not how comparisons work in C. Regards, Clemens _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users