Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/public-domain/sqlite/man Add newly generated man pages



details:   https://anonhg.NetBSD.org/src/rev/8566923aaeda
branches:  trunk
changeset: 346251:8566923aaeda
user:      abhinav <abhinav%NetBSD.org@localhost>
date:      Sun Jul 03 17:07:38 2016 +0000

description:
Add newly generated man pages

diffstat:

 external/public-domain/sqlite/man/Makefile                        |   46 ++-
 external/public-domain/sqlite/man/SQLITE_CHANGESET_DATA.3         |   59 +++
 external/public-domain/sqlite/man/SQLITE_CHANGESET_OMIT.3         |   39 ++
 external/public-domain/sqlite/man/SQLITE_INDEX_SCAN_UNIQUE.3      |    9 +
 external/public-domain/sqlite/man/SQLITE_SCANSTAT_NLOOP.3         |   62 +++
 external/public-domain/sqlite/man/sqlite3_changeset_iter.3        |    9 +
 external/public-domain/sqlite/man/sqlite3_db_cacheflush.3         |   46 ++
 external/public-domain/sqlite/man/sqlite3_preupdate_hook.3        |  127 +++++++
 external/public-domain/sqlite/man/sqlite3_result_subtype.3        |   23 +
 external/public-domain/sqlite/man/sqlite3_session.3               |    9 +
 external/public-domain/sqlite/man/sqlite3_snapshot.3              |   35 ++
 external/public-domain/sqlite/man/sqlite3_snapshot_cmp.3          |   30 +
 external/public-domain/sqlite/man/sqlite3_snapshot_free.3         |   22 +
 external/public-domain/sqlite/man/sqlite3_snapshot_get.3          |   36 ++
 external/public-domain/sqlite/man/sqlite3_snapshot_open.3         |   46 ++
 external/public-domain/sqlite/man/sqlite3_stmt_scanstatus.3       |   46 ++
 external/public-domain/sqlite/man/sqlite3_stmt_scanstatus_reset.3 |   19 +
 external/public-domain/sqlite/man/sqlite3_strlike.3               |   24 +
 external/public-domain/sqlite/man/sqlite3_system_errno.3          |   22 +
 external/public-domain/sqlite/man/sqlite3_value_dup.3             |   30 +
 external/public-domain/sqlite/man/sqlite3_value_subtype.3         |   25 +
 external/public-domain/sqlite/man/sqlite3changegroup_new.3        |   45 ++
 external/public-domain/sqlite/man/sqlite3changeset_apply.3        |  156 +++++++++
 external/public-domain/sqlite/man/sqlite3changeset_apply_strm.3   |  163 ++++++++++
 external/public-domain/sqlite/man/sqlite3changeset_concat.3       |   33 ++
 external/public-domain/sqlite/man/sqlite3changeset_conflict.3     |   37 ++
 external/public-domain/sqlite/man/sqlite3changeset_finalize.3     |   39 ++
 external/public-domain/sqlite/man/sqlite3changeset_fk_conflicts.3 |   19 +
 external/public-domain/sqlite/man/sqlite3changeset_invert.3       |   45 ++
 external/public-domain/sqlite/man/sqlite3changeset_new.3          |   48 ++
 external/public-domain/sqlite/man/sqlite3changeset_next.3         |   34 ++
 external/public-domain/sqlite/man/sqlite3changeset_old.3          |   46 ++
 external/public-domain/sqlite/man/sqlite3changeset_op.3           |   49 +++
 external/public-domain/sqlite/man/sqlite3changeset_pk.3           |   37 ++
 external/public-domain/sqlite/man/sqlite3changeset_start.3        |   57 +++
 external/public-domain/sqlite/man/sqlite3session_attach.3         |   45 ++
 external/public-domain/sqlite/man/sqlite3session_changeset.3      |  132 ++++++++
 external/public-domain/sqlite/man/sqlite3session_create.3         |   47 ++
 external/public-domain/sqlite/man/sqlite3session_delete.3         |   22 +
 external/public-domain/sqlite/man/sqlite3session_diff.3           |   73 ++++
 external/public-domain/sqlite/man/sqlite3session_enable.3         |   30 +
 external/public-domain/sqlite/man/sqlite3session_indirect.3       |   40 ++
 external/public-domain/sqlite/man/sqlite3session_isempty.3        |   26 +
 external/public-domain/sqlite/man/sqlite3session_patchset.3       |   39 ++
 external/public-domain/sqlite/man/sqlite3session_table_filter.3   |   20 +
 45 files changed, 2045 insertions(+), 1 deletions(-)

diffs (truncated from 2301 to 300 lines):

diff -r 2339e14c0977 -r 8566923aaeda external/public-domain/sqlite/man/Makefile
--- a/external/public-domain/sqlite/man/Makefile        Sun Jul 03 16:43:00 2016 +0000
+++ b/external/public-domain/sqlite/man/Makefile        Sun Jul 03 17:07:38 2016 +0000
@@ -1,9 +1,11 @@
-#      $NetBSD: Makefile,v 1.1 2016/03/30 21:31:44 christos Exp $
+#      $NetBSD: Makefile,v 1.2 2016/07/03 17:07:38 abhinav Exp $
 
 .include <bsd.init.mk>
 
 MAN += \
 SQLITE_ACCESS_EXISTS.3 \
+SQLITE_CHANGESET_DATA.3 \
+SQLITE_CHANGESET_OMIT.3 \
 SQLITE_CHECKPOINT_PASSIVE.3 \
 SQLITE_CONFIG_SINGLETHREAD.3 \
 SQLITE_CREATE_INDEX.3 \
@@ -13,6 +15,7 @@
 SQLITE_DETERMINISTIC.3 \
 SQLITE_FCNTL_LOCKSTATE.3 \
 SQLITE_INDEX_CONSTRAINT_EQ.3 \
+SQLITE_INDEX_SCAN_UNIQUE.3 \
 SQLITE_INTEGER.3 \
 SQLITE_IOCAP_ATOMIC.3 \
 SQLITE_IOERR_READ.3 \
@@ -22,6 +25,7 @@
 SQLITE_OK.3 \
 SQLITE_OPEN_READONLY.3 \
 SQLITE_ROLLBACK.3 \
+SQLITE_SCANSTAT_NLOOP.3 \
 SQLITE_SHM_NLOCK.3 \
 SQLITE_SHM_UNLOCK.3 \
 SQLITE_STATUS_MEMORY_USED.3 \
@@ -52,6 +56,7 @@
 sqlite3_busy_timeout.3 \
 sqlite3_cancel_auto_extension.3 \
 sqlite3_changes.3 \
+sqlite3_changeset_iter.3 \
 sqlite3_clear_bindings.3 \
 sqlite3_close.3 \
 sqlite3_collation_needed.3 \
@@ -71,6 +76,7 @@
 sqlite3_create_module.3 \
 sqlite3_data_count.3 \
 sqlite3_data_directory.3 \
+sqlite3_db_cacheflush.3 \
 sqlite3_db_config.3 \
 sqlite3_db_filename.3 \
 sqlite3_db_handle.3 \
@@ -115,14 +121,22 @@
 sqlite3_pcache_methods2.3 \
 sqlite3_pcache_page.3 \
 sqlite3_prepare.3 \
+sqlite3_preupdate_hook.3 \
 sqlite3_progress_handler.3 \
 sqlite3_randomness.3 \
 sqlite3_release_memory.3 \
 sqlite3_reset.3 \
 sqlite3_reset_auto_extension.3 \
 sqlite3_result_blob.3 \
+sqlite3_result_subtype.3 \
+sqlite3_session.3 \
 sqlite3_set_authorizer.3 \
 sqlite3_sleep.3 \
+sqlite3_snapshot.3 \
+sqlite3_snapshot_cmp.3 \
+sqlite3_snapshot_free.3 \
+sqlite3_snapshot_get.3 \
+sqlite3_snapshot_open.3 \
 sqlite3_soft_heap_limit.3 \
 sqlite3_soft_heap_limit64.3 \
 sqlite3_sql.3 \
@@ -131,9 +145,13 @@
 sqlite3_stmt.3 \
 sqlite3_stmt_busy.3 \
 sqlite3_stmt_readonly.3 \
+sqlite3_stmt_scanstatus.3 \
+sqlite3_stmt_scanstatus_reset.3 \
 sqlite3_stmt_status.3 \
 sqlite3_strglob.3 \
 sqlite3_stricmp.3 \
+sqlite3_strlike.3 \
+sqlite3_system_errno.3 \
 sqlite3_table_column_metadata.3 \
 sqlite3_temp_directory.3 \
 sqlite3_test_control.3 \
@@ -146,6 +164,8 @@
 sqlite3_user_data.3 \
 sqlite3_value.3 \
 sqlite3_value_blob.3 \
+sqlite3_value_dup.3 \
+sqlite3_value_subtype.3 \
 sqlite3_version.3 \
 sqlite3_vfs.3 \
 sqlite3_vfs_find.3 \
@@ -157,6 +177,30 @@
 sqlite3_wal_checkpoint.3 \
 sqlite3_wal_checkpoint_v2.3 \
 sqlite3_wal_hook.3 \
+sqlite3changegroup_new.3 \
+sqlite3changeset_apply.3 \
+sqlite3changeset_apply_strm.3 \
+sqlite3changeset_concat.3 \
+sqlite3changeset_conflict.3 \
+sqlite3changeset_finalize.3 \
+sqlite3changeset_fk_conflicts.3 \
+sqlite3changeset_invert.3 \
+sqlite3changeset_new.3 \
+sqlite3changeset_next.3 \
+sqlite3changeset_old.3 \
+sqlite3changeset_op.3 \
+sqlite3changeset_pk.3 \
+sqlite3changeset_start.3 \
+sqlite3session_attach.3 \
+sqlite3session_changeset.3 \
+sqlite3session_create.3 \
+sqlite3session_delete.3 \
+sqlite3session_diff.3 \
+sqlite3session_enable.3 \
+sqlite3session_indirect.3 \
+sqlite3session_isempty.3 \
+sqlite3session_patchset.3 \
+sqlite3session_table_filter.3 \
 sqlite_int64.3
 
 .include <bsd.man.mk>
diff -r 2339e14c0977 -r 8566923aaeda external/public-domain/sqlite/man/SQLITE_CHANGESET_DATA.3
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/public-domain/sqlite/man/SQLITE_CHANGESET_DATA.3 Sun Jul 03 17:07:38 2016 +0000
@@ -0,0 +1,59 @@
+.Dd $Mdocdate$
+.Dt SQLITE_CHANGESET_DATA 3
+.Os
+.Sh NAME
+.Nm SQLITE_CHANGESET_DATA ,
+.Nm SQLITE_CHANGESET_NOTFOUND ,
+.Nm SQLITE_CHANGESET_CONFLICT ,
+.Nm SQLITE_CHANGESET_CONSTRAINT ,
+.Nm SQLITE_CHANGESET_FOREIGN_KEY
+.Nd Constants Passed To The Conflict Handler
+.Sh SYNOPSIS
+.Fd #define SQLITE_CHANGESET_DATA
+.Fd #define SQLITE_CHANGESET_NOTFOUND
+.Fd #define SQLITE_CHANGESET_CONFLICT
+.Fd #define SQLITE_CHANGESET_CONSTRAINT
+.Fd #define SQLITE_CHANGESET_FOREIGN_KEY
+.Sh DESCRIPTION
+Values that may be passed as the second argument to a conflict-handler.
+.Bl -tag -width Ds
+.It SQLITE_CHANGESET_DATAThe conflict handler is invoked with CHANGESET_DATA
+as the second argument when processing a DELETE or UPDATE change if
+a row with the required PRIMARY KEY fields is present in the database,
+but one or more other (non primary-key) fields modified by the update
+do not contain the expected "before" values.
+.Pp
+The conflicting row, in this case, is the database row with the matching
+primary key.
+.It SQLITE_CHANGESET_NOTFOUNDThe conflict handler is invoked with CHANGESET_NOTFOUND
+as the second argument when processing a DELETE or UPDATE change if
+a row with the required PRIMARY KEY fields is not present in the database.
+.Pp
+There is no conflicting row in this case.
+The results of invoking the sqlite3changeset_conflict() API are undefined.
+.It SQLITE_CHANGESET_CONFLICTCHANGESET_CONFLICT is passed as the second
+argument to the conflict handler while processing an INSERT change
+if the operation would result in duplicate primary key values.
+.Pp
+The conflicting row in this case is the database row with the matching
+primary key.
+.It SQLITE_CHANGESET_FOREIGN_KEYIf foreign key handling is enabled, and
+applying a changeset leaves the database in a state containing foreign
+key violations, the conflict handler is invoked with CHANGESET_FOREIGN_KEY
+as the second argument exactly once before the changeset is committed.
+If the conflict handler returns CHANGESET_OMIT, the changes, including
+those that caused the foreign key constraint violation, are committed.
+Or, if it returns CHANGESET_ABORT, the changeset is rolled back.
+.Pp
+No current or conflicting row information is provided.
+The only function it is possible to call on the supplied sqlite3_changeset_iter
+handle is sqlite3changeset_fk_conflicts().
+.It SQLITE_CHANGESET_CONSTRAINTIf any other constraint violation occurs
+while applying a change (i.e.
+a UNIQUE, CHECK or NOT NULL constraint), the conflict handler is invoked
+with CHANGESET_CONSTRAINT as the second argument.
+.Pp
+There is no conflicting row in this case.
+The results of invoking the sqlite3changeset_conflict() API are undefined.
+.El
+.Pp
diff -r 2339e14c0977 -r 8566923aaeda external/public-domain/sqlite/man/SQLITE_CHANGESET_OMIT.3
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/public-domain/sqlite/man/SQLITE_CHANGESET_OMIT.3 Sun Jul 03 17:07:38 2016 +0000
@@ -0,0 +1,39 @@
+.Dd $Mdocdate$
+.Dt SQLITE_CHANGESET_OMIT 3
+.Os
+.Sh NAME
+.Nm SQLITE_CHANGESET_OMIT ,
+.Nm SQLITE_CHANGESET_REPLACE ,
+.Nm SQLITE_CHANGESET_ABORT
+.Nd Constants Returned By The Conflict Handler
+.Sh SYNOPSIS
+.Fd #define SQLITE_CHANGESET_OMIT
+.Fd #define SQLITE_CHANGESET_REPLACE
+.Fd #define SQLITE_CHANGESET_ABORT
+.Sh DESCRIPTION
+A conflict handler callback must return one of the following three
+values.
+.Bl -tag -width Ds
+.It SQLITE_CHANGESET_OMITIf a conflict handler returns this value no special
+action is taken.
+The change that caused the conflict is not applied.
+The session module continues to the next change in the changeset.
+.It SQLITE_CHANGESET_REPLACEThis value may only be returned if the second
+argument to the conflict handler was SQLITE_CHANGESET_DATA or SQLITE_CHANGESET_CONFLICT.
+If this is not the case, any changes applied so far are rolled back
+and the call to sqlite3changeset_apply() returns SQLITE_MISUSE.
+.Pp
+If CHANGESET_REPLACE is returned by an SQLITE_CHANGESET_DATA conflict
+handler, then the conflicting row is either updated or deleted, depending
+on the type of change.
+.Pp
+If CHANGESET_REPLACE is returned by an SQLITE_CHANGESET_CONFLICT conflict
+handler, then the conflicting row is removed from the database and
+a second attempt to apply the change is made.
+If this second attempt fails, the original row is restored to the database
+before continuing.
+.It SQLITE_CHANGESET_ABORTIf this value is returned, any changes applied
+so far are rolled back and the call to sqlite3changeset_apply() returns
+SQLITE_ABORT.
+.El
+.Pp
diff -r 2339e14c0977 -r 8566923aaeda external/public-domain/sqlite/man/SQLITE_INDEX_SCAN_UNIQUE.3
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/public-domain/sqlite/man/SQLITE_INDEX_SCAN_UNIQUE.3      Sun Jul 03 17:07:38 2016 +0000
@@ -0,0 +1,9 @@
+.Dd $Mdocdate$
+.Dt SQLITE_INDEX_SCAN_UNIQUE 3
+.Os
+.Sh NAME
+.Nm SQLITE_INDEX_SCAN_UNIQUE
+.Nd Virtual Table Scan Flags
+.Sh SYNOPSIS
+.Fd #define SQLITE_INDEX_SCAN_UNIQUE
+.Sh DESCRIPTION
diff -r 2339e14c0977 -r 8566923aaeda external/public-domain/sqlite/man/SQLITE_SCANSTAT_NLOOP.3
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/public-domain/sqlite/man/SQLITE_SCANSTAT_NLOOP.3 Sun Jul 03 17:07:38 2016 +0000
@@ -0,0 +1,62 @@
+.Dd $Mdocdate$
+.Dt SQLITE_SCANSTAT_NLOOP 3
+.Os
+.Sh NAME
+.Nm SQLITE_SCANSTAT_NLOOP ,
+.Nm SQLITE_SCANSTAT_NVISIT ,
+.Nm SQLITE_SCANSTAT_EST ,
+.Nm SQLITE_SCANSTAT_NAME ,
+.Nm SQLITE_SCANSTAT_EXPLAIN ,
+.Nm SQLITE_SCANSTAT_SELECTID
+.Nd Prepared Statement Scan Status Opcodes
+.Sh SYNOPSIS
+.Fd #define SQLITE_SCANSTAT_NLOOP
+.Fd #define SQLITE_SCANSTAT_NVISIT
+.Fd #define SQLITE_SCANSTAT_EST
+.Fd #define SQLITE_SCANSTAT_NAME
+.Fd #define SQLITE_SCANSTAT_EXPLAIN
+.Fd #define SQLITE_SCANSTAT_SELECTID
+.Sh DESCRIPTION
+The following constants can be used for the T parameter to the sqlite3_stmt_scanstatus(S,X,T,V)
+interface.
+Each constant designates a different metric for sqlite3_stmt_scanstatus()
+to return.
+.Pp
+When the value returned to V is a string, space to hold that string
+is managed by the prepared statement S and will be automatically freed
+when S is finalized.
+.Bl -tag -width Ds
+.It SQLITE_SCANSTAT_NLOOP
+The sqlite3_int64 variable pointed to by the T parameter
+will be set to the total number of times that the X-th loop has run.
+.It SQLITE_SCANSTAT_NVISIT
+The sqlite3_int64 variable pointed to by the T parameter
+will be set to the total number of rows examined by all iterations
+of the X-th loop.
+.It SQLITE_SCANSTAT_EST
+The "double" variable pointed to by the T parameter will be set to
+the query planner's estimate for the average number of rows output
+from each iteration of the X-th loop.
+If the query planner's estimates was accurate, then this value will
+approximate the quotient NVISIT/NLOOP and the product of this value
+for all prior loops with the same SELECTID will be the NLOOP value
+for the current loop.
+.It SQLITE_SCANSTAT_NAME
+The "const char *" variable pointed to by the T parameter will be set
+to a zero-terminated UTF-8 string containing the name of the index
+or table used for the X-th loop.
+.It SQLITE_SCANSTAT_EXPLAIN
+The "const char *" variable pointed to by the T parameter will be set
+to a zero-terminated UTF-8 string containing the EXPLAIN QUERY PLAN
+description for the X-th loop.
+.It SQLITE_SCANSTAT_SELECT



Home | Main Index | Thread Index | Old Index