On Jan 13, 2010, at 10:27 AM, Jean-Christophe Deschamps wrote: > I've finally implemented the backup API and it works like a charm > except on an important point. > The example given on the site clearly says: > > "If another thread writes to database connection pDb while this > function is sleeping, then the backup database (database connection > pFile) is automatically updated along with pDb. The backup process is > continued after the xSleep() call returns as if nothing had happened. > If the database file underlying connection pDb is written to by a > different process or thread using a different database connection > while > this function is sleeping, then SQLite detects this within the next > call made to sqlite3_backup_step() and restarts the backup from the > beginning."
Is it an in-memory database you're backing up (i.e. is pDb in-memory)? I have a feeling that statement won't apply if the source db is an in-memory database. Dan. _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

