1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Add the sqlite3changebatch_db() API.

FossilOrigin-Name: bee44ebc532f37e3fe61c18878e0d3db06805190
This commit is contained in:
dan
2016-08-24 19:14:59 +00:00
parent a8dee8df64
commit ff8e42e2ca
4 changed files with 22 additions and 8 deletions

View File

@@ -476,4 +476,11 @@ void sqlite3changebatch_delete(sqlite3_changebatch *p){
cbFree(p);
}
/*
** Return the db handle.
*/
sqlite3 *sqlite3changebatch_db(sqlite3_changebatch *p){
return p->db;
}
#endif /* SQLITE_ENABLE_SESSION && SQLITE_ENABLE_PREUPDATE_HOOK */