summaryrefslogtreecommitdiffstats
path: root/www/c3ref/c_config_covering_index_scan.html
diff options
context:
space:
mode:
Diffstat (limited to 'www/c3ref/c_config_covering_index_scan.html')
-rw-r--r--www/c3ref/c_config_covering_index_scan.html22
1 files changed, 20 insertions, 2 deletions
diff --git a/www/c3ref/c_config_covering_index_scan.html b/www/c3ref/c_config_covering_index_scan.html
index fb67580..529cefd 100644
--- a/www/c3ref/c_config_covering_index_scan.html
+++ b/www/c3ref/c_config_covering_index_scan.html
@@ -115,7 +115,7 @@ antiRobotGo();
}
antiRobotDefense();
</script>
-<!-- keywords: SQLITE_CONFIG_COVERING_INDEX_SCAN SQLITE_CONFIG_GETMALLOC SQLITE_CONFIG_GETMUTEX SQLITE_CONFIG_GETPCACHE SQLITE_CONFIG_GETPCACHE2 SQLITE_CONFIG_HEAP SQLITE_CONFIG_LOG SQLITE_CONFIG_LOOKASIDE SQLITE_CONFIG_MALLOC SQLITE_CONFIG_MEMDB_MAXSIZE SQLITE_CONFIG_MEMSTATUS SQLITE_CONFIG_MMAP_SIZE SQLITE_CONFIG_MULTITHREAD SQLITE_CONFIG_MUTEX SQLITE_CONFIG_PAGECACHE SQLITE_CONFIG_PCACHE SQLITE_CONFIG_PCACHE2 SQLITE_CONFIG_PCACHE_HDRSZ SQLITE_CONFIG_PMASZ SQLITE_CONFIG_SCRATCH SQLITE_CONFIG_SERIALIZED SQLITE_CONFIG_SINGLETHREAD SQLITE_CONFIG_SMALL_MALLOC SQLITE_CONFIG_SORTERREF_SIZE SQLITE_CONFIG_SQLLOG SQLITE_CONFIG_STMTJRNL_SPILL SQLITE_CONFIG_URI SQLITE_CONFIG_WIN32_HEAPSIZE {configuration option} -->
+<!-- keywords: SQLITE_CONFIG_COVERING_INDEX_SCAN SQLITE_CONFIG_GETMALLOC SQLITE_CONFIG_GETMUTEX SQLITE_CONFIG_GETPCACHE SQLITE_CONFIG_GETPCACHE2 SQLITE_CONFIG_HEAP SQLITE_CONFIG_LOG SQLITE_CONFIG_LOOKASIDE SQLITE_CONFIG_MALLOC SQLITE_CONFIG_MEMDB_MAXSIZE SQLITE_CONFIG_MEMSTATUS SQLITE_CONFIG_MMAP_SIZE SQLITE_CONFIG_MULTITHREAD SQLITE_CONFIG_MUTEX SQLITE_CONFIG_PAGECACHE SQLITE_CONFIG_PCACHE SQLITE_CONFIG_PCACHE2 SQLITE_CONFIG_PCACHE_HDRSZ SQLITE_CONFIG_PMASZ SQLITE_CONFIG_ROWID_IN_VIEW SQLITE_CONFIG_SCRATCH SQLITE_CONFIG_SERIALIZED SQLITE_CONFIG_SINGLETHREAD SQLITE_CONFIG_SMALL_MALLOC SQLITE_CONFIG_SORTERREF_SIZE SQLITE_CONFIG_SQLLOG SQLITE_CONFIG_STMTJRNL_SPILL SQLITE_CONFIG_URI SQLITE_CONFIG_WIN32_HEAPSIZE {configuration option} -->
<div class=nosearch>
<a href="../c3ref/intro.html"><h2>SQLite C Interface</h2></a>
<h2>Configuration Options</h2>
@@ -150,6 +150,7 @@ antiRobotDefense();
#define SQLITE_CONFIG_SMALL_MALLOC 27 /* boolean */
#define SQLITE_CONFIG_SORTERREF_SIZE 28 /* int nByte */
#define SQLITE_CONFIG_MEMDB_MAXSIZE 29 /* sqlite3_int64 */
+#define SQLITE_CONFIG_ROWID_IN_VIEW 30 /* int* */
</pre></blockquote>
<p>
These constants are the available integer configuration options that
@@ -543,7 +544,24 @@ size can be adjusted up or down for individual databases using the
<a href="../c3ref/c_fcntl_begin_atomic_write.html#sqlitefcntlsizelimit">SQLITE_FCNTL_SIZE_LIMIT</a> <a href="../c3ref/file_control.html">file-control</a>. If this
configuration setting is never used, then the default maximum is determined
by the <a href="../compile.html#memdb_default_maxsize">SQLITE_MEMDB_DEFAULT_MAXSIZE</a> compile-time option. If that
-compile-time option is not set, then the default maximum is 1073741824.
+compile-time option is not set, then the default maximum is 1073741824.</p>
+
+<p><a name="sqliteconfigrowidinview"></a>
+
+<dt>SQLITE_CONFIG_ROWID_IN_VIEW
+<dd>The SQLITE_CONFIG_ROWID_IN_VIEW option enables or disables the ability
+for VIEWs to have a ROWID. The capability can only be enabled if SQLite is
+compiled with -DSQLITE_ALLOW_ROWID_IN_VIEW, in which case the capability
+defaults to on. This configuration option queries the current setting or
+changes the setting to off or on. The argument is a pointer to an integer.
+If that integer initially holds a value of 1, then the ability for VIEWs to
+have ROWIDs is activated. If the integer initially holds zero, then the
+ability is deactivated. Any other initial value for the integer leaves the
+setting unchanged. After changes, if any, the integer is written with
+a 1 or 0, if the ability for VIEWs to have ROWIDs is on or off. If SQLite
+is compiled without -DSQLITE_ALLOW_ROWID_IN_VIEW (which is the usual and
+recommended case) then the integer is always filled with zero, regardless
+if its initial value.
</dl>
</p><p>See also lists of
<a href="../c3ref/objlist.html">Objects</a>,