diff options
author | stephan <stephan@noemail.net> | 2024-03-28 10:58:18 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2024-03-28 10:58:18 +0000 |
commit | cfd4507c830a73dad165ec5db2ae28549f62ae9f (patch) | |
tree | 2936b357b79d3267ff6bfa812905add1f8dea1eb /src | |
parent | 6921a2d2054dcbf26c5f455dded278fac795ea5e (diff) | |
download | sqlite-cfd4507c830a73dad165ec5db2ae28549f62ae9f.tar.gz sqlite-cfd4507c830a73dad165ec5db2ae28549f62ae9f.zip |
Document that the order of an update hook call is unspecied vis-a-vis the final result of the operation which triggers that hook. Doc changes only.
FossilOrigin-Name: 3d4b1f0791384d3e531d6757daecf67e5b873954de61f37032474e3ae23cd22b
Diffstat (limited to 'src')
-rw-r--r-- | src/sqlite.h.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sqlite.h.in b/src/sqlite.h.in index 6841cf38f..0a020d691 100644 --- a/src/sqlite.h.in +++ b/src/sqlite.h.in @@ -6887,6 +6887,12 @@ int sqlite3_autovacuum_pages( ** The exceptions defined in this paragraph might change in a future ** release of SQLite. ** +** Whether the update hook is invoked before or after the +** corresponding change is currently unspecified and may differ +** depending on the type of change. Do not rely on the order of the +** hook call with regards to the final result of the operation which +** triggers the hook. +** ** The update hook implementation must not do anything that will modify ** the database connection that invoked the update hook. Any actions ** to modify the database connection must be deferred until after the |