/ Check-in [83e83084]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Continuing documentation refinements. Comment changes only. (CVS 6284)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:83e8308435be8c954fe7a347a64f28abcb81437b
User & Date: drh 2009-02-11 15:23:35
Context
2009-02-11
16:06
Updated for Windows compatibility. Test scripts only. (CVS 6285) check-in: 2522ad1d user: shane tags: trunk
15:23
Continuing documentation refinements. Comment changes only. (CVS 6284) check-in: 83e83084 user: drh tags: trunk
15:11
Fix the backup.test script so that it works regardless of the value of SQLITE_TEMP_STORE and the initial contents of the file-system. (CVS 6283) check-in: da660ea7 user: danielk1977 tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/sqlite.h.in.

    26     26   ** on how SQLite interfaces are suppose to operate.
    27     27   **
    28     28   ** The name of this file under configuration management is "sqlite.h.in".
    29     29   ** The makefile makes some minor changes to this file (such as inserting
    30     30   ** the version number) and changes its name to "sqlite3.h" as
    31     31   ** part of the build process.
    32     32   **
    33         -** @(#) $Id: sqlite.h.in,v 1.430 2009/02/11 15:04:40 drh Exp $
           33  +** @(#) $Id: sqlite.h.in,v 1.431 2009/02/11 15:23:35 drh Exp $
    34     34   */
    35     35   #ifndef _SQLITE3_H_
    36     36   #define _SQLITE3_H_
    37     37   #include <stdarg.h>     /* Needed for the definition of va_list */
    38     38   
    39     39   /*
    40     40   ** Make sure we can call this stuff from C++.
................................................................................
  2796   2796   ** (The "_LIMIT_" in the name is changed to "_MAX_".)
  2797   2797   ** Attempts to increase a limit above its hard upper bound are
  2798   2798   ** silently truncated to the hard upper limit.
  2799   2799   **
  2800   2800   ** Run time limits are intended for use in applications that manage
  2801   2801   ** both their own internal database and also databases that are controlled
  2802   2802   ** by untrusted external sources.  An example application might be a
  2803         -** webbrowser that has its own databases for storing history and
         2803  +** web browser that has its own databases for storing history and
  2804   2804   ** separate databases controlled by JavaScript applications downloaded
  2805   2805   ** off the Internet.  The internal databases can be given the
  2806   2806   ** large, default limits.  Databases managed by external sources can
  2807   2807   ** be given much smaller limits designed to prevent a denial of service
  2808   2808   ** attack.  Developers might also want to use the [sqlite3_set_authorizer()]
  2809   2809   ** interface to further control untrusted SQL.  The size of the database
  2810   2810   ** created by an untrusted script can be contained using the
................................................................................
  2828   2828   */
  2829   2829   int sqlite3_limit(sqlite3*, int id, int newVal);
  2830   2830   
  2831   2831   /*
  2832   2832   ** CAPI3REF: Run-Time Limit Categories {H12790} <H12760>
  2833   2833   ** KEYWORDS: {limit category} {limit categories}
  2834   2834   **
  2835         -** These constants define various aspects of a [database connection]
  2836         -** that can be limited in size by calls to [sqlite3_limit()].
  2837         -** The meanings of the various limits are as follows:
         2835  +** These constants define various performance limits
         2836  +** that can be lowered at run-time using [sqlite3_limit()].
         2837  +** The synopsis of the meanings of the various limits is shown below.
         2838  +** Additional information is available at [limits | Limits in SQLite].
  2838   2839   **
  2839   2840   ** <dl>
  2840   2841   ** <dt>SQLITE_LIMIT_LENGTH</dt>
  2841   2842   ** <dd>The maximum size of any string or BLOB or table row.<dd>
  2842   2843   **
  2843   2844   ** <dt>SQLITE_LIMIT_SQL_LENGTH</dt>
  2844   2845   ** <dd>The maximum length of an SQL statement.</dd>
  2845   2846   **
  2846   2847   ** <dt>SQLITE_LIMIT_COLUMN</dt>
  2847   2848   ** <dd>The maximum number of columns in a table definition or in the
  2848         -** result set of a SELECT or the maximum number of columns in an index
         2849  +** result set of a [SELECT] or the maximum number of columns in an index
  2849   2850   ** or in an ORDER BY or GROUP BY clause.</dd>
  2850   2851   **
  2851   2852   ** <dt>SQLITE_LIMIT_EXPR_DEPTH</dt>
  2852   2853   ** <dd>The maximum depth of the parse tree on any expression.</dd>
  2853   2854   **
  2854   2855   ** <dt>SQLITE_LIMIT_COMPOUND_SELECT</dt>
  2855   2856   ** <dd>The maximum number of terms in a compound SELECT statement.</dd>
................................................................................
  2858   2859   ** <dd>The maximum number of instructions in a virtual machine program
  2859   2860   ** used to implement an SQL statement.</dd>
  2860   2861   **
  2861   2862   ** <dt>SQLITE_LIMIT_FUNCTION_ARG</dt>
  2862   2863   ** <dd>The maximum number of arguments on a function.</dd>
  2863   2864   **
  2864   2865   ** <dt>SQLITE_LIMIT_ATTACHED</dt>
  2865         -** <dd>The maximum number of attached databases.</dd>
         2866  +** <dd>The maximum number of [ATTACH | attached databases].</dd>
  2866   2867   **
  2867   2868   ** <dt>SQLITE_LIMIT_LIKE_PATTERN_LENGTH</dt>
  2868         -** <dd>The maximum length of the pattern argument to the LIKE or
  2869         -** GLOB operators.</dd>
         2869  +** <dd>The maximum length of the pattern argument to the [LIKE] or
         2870  +** [GLOB] operators.</dd>
  2870   2871   **
  2871   2872   ** <dt>SQLITE_LIMIT_VARIABLE_NUMBER</dt>
  2872   2873   ** <dd>The maximum number of variables in an SQL statement that can
  2873   2874   ** be bound.</dd>
  2874   2875   ** </dl>
  2875   2876   */
  2876   2877   #define SQLITE_LIMIT_LENGTH                    0