]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Preupdate hook documentation fixes. No changes to code.
authordrh <drh@noemail.net>
Fri, 1 Apr 2016 17:54:07 +0000 (17:54 +0000)
committerdrh <drh@noemail.net>
Fri, 1 Apr 2016 17:54:07 +0000 (17:54 +0000)
FossilOrigin-Name: 59814f35d13db1f6379b9ae218b5432bc03c6197

manifest
manifest.uuid
src/sqlite.h.in

index 51885512ec1570a7e4b35cea6d6262be21f0bf6d..d573902ae9daeb4cadbd3178eec36c2d1bfdec59 100644 (file)
--- a/manifest
+++ b/manifest
@@ -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.
-D 2016-04-01T12:35:22.357
+C Preupdate\shook\sdocumentation\sfixes.\s\sNo\schanges\sto\scode.
+D 2016-04-01T17:54:07.826
 F Makefile.in e812bb732d7af01baa09f1278bd4f4a2e3a09449
 F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
 F Makefile.msc fe57d7e3e74fa383fd01ced796c0ffd966fc094a
@@ -375,7 +375,7 @@ F src/resolve.c b8f7174e5f8c33c44ded3a25a973d0bb89228c20
 F src/rowset.c 9fe4b3ad7cc00944386bb600233d8f523de07a6e
 F src/select.c 7849cee0a01952a9c93cd28989daedfa57731143
 F src/shell.c cd3f82fdc5c895b817a375b7ab8319cb41f447ce
-F src/sqlite.h.in 843a0dfcf8c5e961cfafa62009fed0867b88241e
+F src/sqlite.h.in c46a7b85d3f37371cacea8f98ec825f5e52c420c
 F src/sqlite3.rc 5121c9e10c3964d5755191c80dd1180c122fc3a8
 F src/sqlite3ext.h 98f72cbfe00169c39089115427d06ea05fe4b4a2
 F src/sqliteInt.h 594bf31a7a0cc788688ca947e562576e23bd7904
@@ -1480,7 +1480,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
 F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
 F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
-P 69f4d83210f6425b2c0d699b397ef4fa4422d438
-R 7562b4ce09688850a9cd06c483af68bc
+P a62340dc0507e36f6dec05b1fda68d8399ec62ec
+R 17cbd88111da841c5ced2fa2ee956e9f
 U drh
-Z f4c65a7a3ea821b7d157bc63d7456b83
+Z dfefbe59c009b860b7f7e89f1f29dda4
index 0b71e7ae1c6dae0673927645d83af29a7bc9094e..c6941183070d156f3db69e5cfbee2e1fd8d0084d 100644 (file)
@@ -1 +1 @@
-a62340dc0507e36f6dec05b1fda68d8399ec62ec
\ No newline at end of file
+59814f35d13db1f6379b9ae218b5432bc03c6197
\ No newline at end of file
index 35de70ff7f2d49acdcecfaa001496c5c4e0a3ee2..b5f0e7f98ecb554179cc56519c0a69732ff0657b 100644 (file)
@@ -5187,7 +5187,7 @@ void *sqlite3_rollback_hook(sqlite3*, void(*)(void *), void*);
 ** ^The sqlite3_update_hook() interface registers a callback function
 ** with the [database connection] identified by the first argument
 ** 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
 ** for the same database connection is overridden.
 **
@@ -7917,13 +7917,13 @@ int sqlite3_db_cacheflush(sqlite3*);
 
 /*
 ** CAPI3REF: The pre-update hook.
-** EXPERIMENTAL
 **
 ** ^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
-** 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
 ** [database connection]; each call to [sqlite3_preupdate_hook()] overrides
 ** the previous setting.
@@ -7932,8 +7932,9 @@ int sqlite3_db_cacheflush(sqlite3*);
 ** ^The third parameter to [sqlite3_preupdate_hook()] is passed through as
 ** the first parameter to callbacks.
 **
-** ^The preupdate hook only fires for changes to real tables; the preupdate
-** hook is not invoked for changes to virtual tables.
+** ^The preupdate hook only fires for changes to [rowid tables]; the preupdate
+** 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 [database connection] that registered the preupdate hook.