On 01/03/2014 10:54 PM, Marco Bambini wrote:
Documentation is not very clear about this point… in order to apply a change
set starting from a session should just I write something like:
int rc= sqlite3session_changeset(session, &pnChangeset, &ppChangeset);
rc = sqlite3changeset_apply (db, pnChangeset, ppChangeset, NULL, NULL, NULL);
More or less. Obtain the serialized changeset from _changeset(),
apply it to a database with _apply().
Is that all?
--
Marco Bambini
http://www.sqlabs.com
http://twitter.com/sqlabs
http://instagram.com/sqlabs
On 03 Jan 2014, at 15:54, Richard Hipp wrote:
The standard pre-built amalgamation won't work with sessions. You have to
pull source code from the "sessions" branch:
http://www.sqlite.org/src/timeline?r=sessions
On Fri, Jan 3, 2014 at 9:50 AM, Marco Bambini wrote:
Hello,
I am using the sqlite3_session module amalgamated into the main sqlite3.c
file (3.8.2).
I defined both:
#define SQLITE_ENABLE_SESSION 1
#define SQLITE_ENABLE_PREUPDATE_HOOK1
but compiler is not able to find all the sqlite3_preupdate* functions.
I am missing something?
--
Marco Bambini
http://www.sqlabs.com
http://twitter.com/sqlabs
http://instagram.com/sqlabs
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
--
D. Richard Hipp
d...@sqlite.org
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users