On 08/03/2011 09:20 AM, Nikki Tan wrote:
> Hi sqlite-users!
>      It's just that I'm writing a copy constructor of my own mini sqlite
> wrapper, and I ended up having to do a deep copy of a sqlite3* points to a
> SQLite connection. And I'm just wondering is it okay that I just do it with
> memcpy(), by digging into the code for the definition of struct sqlite3  and
> count the total bytes of this struct?

Use sqlite3_open() to open a new database handle for the copy
of the wrapper class.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to