the question of how to do a backup comes up a lot so this would be very
nice.  If it was added with a compile-time OMIT flag then there shouldn't be
a big concern on bloating the library.


We're Hiring! Seeking a passionate developer to join our team building
products. Position is in the Washington D.C. metro area. If interested
-----Original Message-----
From: Virgilio Fornazin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 11, 2007 2:21 PM
Subject: Re: [sqlite] how to get file handle from sqlite3 object?

I'm thinking about this.. to get a 'exact' copy of a sqlite database we
should implement a new public API:

sqlite3 * sqlite3_clonedb(sqlite3 * db, const char * szOutput);
sqlite3 * sqlite3_clonedb16(sqlite3 * db, const void * szOutput); // utf-16

this api can do the real file copy without exposing any characteristics of
the sqlite3 database (this db could be copied from / to :memory: databases
on this way) and also deal with internal VFS driver intrinsics, such as
sector size, and etc.

To unsubscribe, send email to [EMAIL PROTECTED]

Reply via email to