1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Merge all the latest trunk enhancements into the bedrock branch.

FossilOrigin-Name: 3215186aa92041498032a0cb9559a3b9eafd0bb586084e3506bb0c030b039aa5
This commit is contained in:
drh
2025-04-21 13:02:25 +00:00
258 changed files with 6702 additions and 9974 deletions

View File

@@ -358,9 +358,10 @@ void sqlite3session_table_filter(
** is inserted while a session object is enabled, then later deleted while
** the same session object is disabled, no INSERT record will appear in the
** changeset, even though the delete took place while the session was disabled.
** Or, if one field of a row is updated while a session is disabled, and
** another field of the same row is updated while the session is enabled, the
** resulting changeset will contain an UPDATE change that updates both fields.
** Or, if one field of a row is updated while a session is enabled, and
** then another field of the same row is updated while the session is disabled,
** the resulting changeset will contain an UPDATE change that updates both
** fields.
*/
int sqlite3session_changeset(
sqlite3_session *pSession, /* Session object */
@@ -458,8 +459,9 @@ sqlite3_int64 sqlite3session_changeset_size(sqlite3_session *pSession);
** database zFrom the contents of the two compatible tables would be
** identical.
**
** It an error if database zFrom does not exist or does not contain the
** required compatible table.
** Unless the call to this function is a no-op as described above, it is an
** error if database zFrom does not exist or does not contain the required
** compatible table.
**
** If the operation is successful, SQLITE_OK is returned. Otherwise, an SQLite
** error code. In this case, if argument pzErrMsg is not NULL, *pzErrMsg