Preupdate hook documentation fixes. No changes to code.

FossilOrigin-Name: 59814f35d13db1f6379b9ae218b5432bc03c6197
This commit is contained in:
drh 2016-04-01 17:54:07 +00:00
parent f6661a8896
commit 076b6468f5
3 changed files with 14 additions and 13 deletions

View File

@ -1,5 +1,5 @@
C When\sreading\san\ssqlite_stat1\stable\swith\smissing\sentries\sfor\ssome\sindexes,\nset\sthe\sdefault\sfor\sthe\smissing\sindexes\safter\sall\sother\sindexes\sare\sset\nso\sthat\sthe\sdefault\svalues\sare\smore\sin\sline\swith\sindexes\sthat\sare\sactually\nin\sthe\sstat1\stable. C Preupdate\shook\sdocumentation\sfixes.\s\sNo\schanges\sto\scode.
D 2016-04-01T12:35:22.357 D 2016-04-01T17:54:07.826
F Makefile.in e812bb732d7af01baa09f1278bd4f4a2e3a09449 F Makefile.in e812bb732d7af01baa09f1278bd4f4a2e3a09449
F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434 F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
F Makefile.msc fe57d7e3e74fa383fd01ced796c0ffd966fc094a F Makefile.msc fe57d7e3e74fa383fd01ced796c0ffd966fc094a
@ -375,7 +375,7 @@ F src/resolve.c b8f7174e5f8c33c44ded3a25a973d0bb89228c20
F src/rowset.c 9fe4b3ad7cc00944386bb600233d8f523de07a6e F src/rowset.c 9fe4b3ad7cc00944386bb600233d8f523de07a6e
F src/select.c 7849cee0a01952a9c93cd28989daedfa57731143 F src/select.c 7849cee0a01952a9c93cd28989daedfa57731143
F src/shell.c cd3f82fdc5c895b817a375b7ab8319cb41f447ce F src/shell.c cd3f82fdc5c895b817a375b7ab8319cb41f447ce
F src/sqlite.h.in 843a0dfcf8c5e961cfafa62009fed0867b88241e F src/sqlite.h.in c46a7b85d3f37371cacea8f98ec825f5e52c420c
F src/sqlite3.rc 5121c9e10c3964d5755191c80dd1180c122fc3a8 F src/sqlite3.rc 5121c9e10c3964d5755191c80dd1180c122fc3a8
F src/sqlite3ext.h 98f72cbfe00169c39089115427d06ea05fe4b4a2 F src/sqlite3ext.h 98f72cbfe00169c39089115427d06ea05fe4b4a2
F src/sqliteInt.h 594bf31a7a0cc788688ca947e562576e23bd7904 F src/sqliteInt.h 594bf31a7a0cc788688ca947e562576e23bd7904
@ -1480,7 +1480,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0 F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
P 69f4d83210f6425b2c0d699b397ef4fa4422d438 P a62340dc0507e36f6dec05b1fda68d8399ec62ec
R 7562b4ce09688850a9cd06c483af68bc R 17cbd88111da841c5ced2fa2ee956e9f
U drh U drh
Z f4c65a7a3ea821b7d157bc63d7456b83 Z dfefbe59c009b860b7f7e89f1f29dda4

View File

@ -1 +1 @@
a62340dc0507e36f6dec05b1fda68d8399ec62ec 59814f35d13db1f6379b9ae218b5432bc03c6197

View File

@ -5187,7 +5187,7 @@ void *sqlite3_rollback_hook(sqlite3*, void(*)(void *), void*);
** ^The sqlite3_update_hook() interface registers a callback function ** ^The sqlite3_update_hook() interface registers a callback function
** with the [database connection] identified by the first argument ** with the [database connection] identified by the first argument
** to be invoked whenever a row is updated, inserted or deleted in ** to be invoked whenever a row is updated, inserted or deleted in
** a rowid table. ** a [rowid table].
** ^Any callback set by a previous call to this function ** ^Any callback set by a previous call to this function
** for the same database connection is overridden. ** for the same database connection is overridden.
** **
@ -7917,13 +7917,13 @@ int sqlite3_db_cacheflush(sqlite3*);
/* /*
** CAPI3REF: The pre-update hook. ** CAPI3REF: The pre-update hook.
** EXPERIMENTAL
** **
** ^These interfaces are only available if SQLite is compiled using the ** ^These interfaces are only available if SQLite is compiled using the
** [SQLITE_ENABLE_UPDATE_HOOK] compile-time option. ** [SQLITE_ENABLE_PREUPDATE_HOOK] compile-time option.
** **
** ^The [sqlite3_preupdate_hook()] interface registers a callback function ** ^The [sqlite3_preupdate_hook()] interface registers a callback function
** that is invoked prior to each [INSERT], [UPDATE], and [DELETE] operation. ** that is invoked prior to each [INSERT], [UPDATE], and [DELETE] operation
** on a [rowid table].
** ^At most one preupdate hook may be registered at a time on a single ** ^At most one preupdate hook may be registered at a time on a single
** [database connection]; each call to [sqlite3_preupdate_hook()] overrides ** [database connection]; each call to [sqlite3_preupdate_hook()] overrides
** the previous setting. ** the previous setting.
@ -7932,8 +7932,9 @@ int sqlite3_db_cacheflush(sqlite3*);
** ^The third parameter to [sqlite3_preupdate_hook()] is passed through as ** ^The third parameter to [sqlite3_preupdate_hook()] is passed through as
** the first parameter to callbacks. ** the first parameter to callbacks.
** **
** ^The preupdate hook only fires for changes to real tables; the preupdate ** ^The preupdate hook only fires for changes to [rowid tables]; the preupdate
** hook is not invoked for changes to virtual tables. ** hook is not invoked for changes to [virtual tables] or [WITHOUT ROWID]
** tables.
** **
** ^The second parameter to the preupdate callback is a pointer to ** ^The second parameter to the preupdate callback is a pointer to
** the [database connection] that registered the preupdate hook. ** the [database connection] that registered the preupdate hook.