Home
last modified time | relevance | path

Searched refs:hook (Results 1 – 15 of 15) sorted by relevance

/sqlite-3.40.0/test/
H A Dhook.test16 # sqlite_commit_hook (tests hook-1..hook-3 inclusive)
26 do_test hook-1.2 {
31 do_test hook-3.1 {
40 do_test hook-3.2 {
43 do_test hook-3.3 {
49 do_test hook-3.4 {
57 do_test hook-3.5 {
68 do_test hook-3.6 {
79 do_test hook-3.7 {
82 do_test hook-3.8 {
[all …]
H A De_walhook.test23 # 1.1: shows that the wal-hook is not invoked in rollback mode.
187 # mechanism used to invoke the tcl script registered as a wal-hook
189 # since multiple different wal-hook scripts have been successfully
195 # There is an assert() in the C wal-hook used by tclsqlite.c to
196 # prove this. And that hook has been invoked multiple times when
H A Dhook2.test11 # The tests in this file focus on the pre-update hook.
53 db preupdate hook preupdate_hook
H A Dbind2.test55 db preupdate hook preup
H A Dtkt-f7b4edec.test58 # schema reparse. Verify that the update-hook gives the correct
H A Djournal2.test39 # Set up a hook so that each time a journal file is opened, closed or
H A Dmalloc3.test611 # rollback-hook was invoked.
H A Dpermutations.test661 hook.test index.test insert2.test insert.test interrupt.test in.test
H A Dfts1porter.test10163 hook hook
10164 hooking hook
10165 hooks hook
/sqlite-3.40.0/ext/session/
H A Dsqlite3session.c1168 int rc = p->hook.xOld(p->hook.pCtx, iCol, &pVal); in sessionStat1Old()
1178 int rc = p->hook.xNew(p->hook.pCtx, iCol, &pVal); in sessionStat1New()
1187 return p->hook.xCount(p->hook.pCtx); in sessionStat1Count()
1191 return p->hook.xDepth(p->hook.pCtx); in sessionStat1Depth()
1206 pSession->hook.xNew(pSession->hook.pCtx, ii, &p); in sessionUpdateMaxSize()
1223 pSession->hook.xNew(pSession->hook.pCtx, ii, &p); in sessionUpdateMaxSize()
1329 stat1.hook = pSession->hook; in sessionPreupdateOneChange()
1406 pSession->hook.xOld(pSession->hook.pCtx, i, &p); in sessionPreupdateOneChange()
1408 pSession->hook.xNew(pSession->hook.pCtx, i, &p); in sessionPreupdateOneChange()
1425 if( pSession->hook.xDepth(pSession->hook.pCtx)==0 in sessionPreupdateOneChange()
[all …]
/sqlite-3.40.0/ext/lsm1/lsm-test/
H A Dlsmtest_main.c1426 InsertWriteHook hook; in do_insert() local
1427 memset(&hook, 0, sizeof(hook)); in do_insert()
1428 hook.pOut = fopen("writelog.txt", "w"); in do_insert()
1432 tdb_lsm_write_hook(pDb, do_insert_write_hook, (void *)&hook); in do_insert()
1445 flushHook(&hook); in do_insert()
1446 fclose(hook.pOut); in do_insert()
/sqlite-3.40.0/
H A Dconfig.guess1655 # eval: (add-hook 'before-save-hook 'time-stamp)
H A Dmanifest1176 F test/hook.test bb9e03b93fa4bc3bf0f164e455ddaee3603dee0501cb61119baed557c8f936be
/sqlite-3.40.0/src/
H A Dsqlite.h.in6469 ** ^If the callback on a commit hook function returns non-zero,
6477 ** The commit and rollback hook callbacks are not reentrant.
6482 ** or rollback hook in the first place.
6489 ** ^When the commit hook callback routine returns zero, the [COMMIT]
6490 ** operation is allowed to continue normally. ^If the commit hook
6595 ** ^(The update hook is not invoked when internal system tables are
6599 ** ^In the current implementation, the update hook
6607 ** the database connection that invoked the update hook. Any actions
10015 ** CAPI3REF: The pre-update hook.
10024 ** ^At most one preupdate hook may be registered at a time on a single
[all …]
/sqlite-3.40.0/ext/fts5/test/
H A Dfts5porter.test5089 hoofs hoof hook hook
5090 hooking hook hooks hook