/ Check-in [7caeb09c]
Login

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

Overview
Comment:Fix documentation typos. No changes to code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7caeb09c52bde4649b02b339f611c8e30f6d1c68
User & Date: drh 2013-11-18 18:48:50
Context
2013-11-18
19:32
Add comments identifing where the skip-scan option is decided in the query planner, to aid in tuning that decision. No changes to code. check-in: e9df04ce user: drh tags: trunk
18:48
Fix documentation typos. No changes to code. check-in: 7caeb09c user: drh tags: trunk
11:20
Fix harmless compiler warnings from clang scan-build. check-in: 8d002740 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Show Whitespace Changes Patch

Changes to src/sqlite.h.in.

   361    361   ** is not changed.
   362    362   **
   363    363   ** Restrictions:
   364    364   **
   365    365   ** <ul>
   366    366   ** <li> The application must insure that the 1st parameter to sqlite3_exec()
   367    367   **      is a valid and open [database connection].
   368         -** <li> The application must not close [database connection] specified by
          368  +** <li> The application must not close the [database connection] specified by
   369    369   **      the 1st parameter to sqlite3_exec() while sqlite3_exec() is running.
   370    370   ** <li> The application must not modify the SQL statement text passed into
   371    371   **      the 2nd parameter of sqlite3_exec() while sqlite3_exec() is running.
   372    372   ** </ul>
   373    373   */
   374    374   int sqlite3_exec(
   375    375     sqlite3*,                                  /* An open database */
................................................................................
   438    438   ** address this, newer versions of SQLite (version 3.3.8 and later) include
   439    439   ** support for additional result codes that provide more detailed information
   440    440   ** about errors. The extended result codes are enabled or disabled
   441    441   ** on a per database connection basis using the
   442    442   ** [sqlite3_extended_result_codes()] API.
   443    443   **
   444    444   ** Some of the available extended result codes are listed here.
   445         -** One may expect the number of extended result codes will be expand
          445  +** One may expect the number of extended result codes will increase
   446    446   ** over time.  Software that uses extended result codes should expect
   447    447   ** to see new result codes in future releases of SQLite.
   448    448   **
   449    449   ** The SQLITE_OK result code will never be extended.  It will always
   450    450   ** be exactly zero.
   451    451   */
   452    452   #define SQLITE_IOERR_READ              (SQLITE_IOERR | (1<<8))
................................................................................
  1376   1376   ** a memory allocation given a particular requested size.  Most memory
  1377   1377   ** allocators round up memory allocations at least to the next multiple
  1378   1378   ** of 8.  Some allocators round up to a larger multiple or to a power of 2.
  1379   1379   ** Every memory allocation request coming in through [sqlite3_malloc()]
  1380   1380   ** or [sqlite3_realloc()] first calls xRoundup.  If xRoundup returns 0, 
  1381   1381   ** that causes the corresponding memory allocation to fail.
  1382   1382   **
  1383         -** The xInit method initializes the memory allocator.  (For example,
         1383  +** The xInit method initializes the memory allocator.  For example,
  1384   1384   ** it might allocate any require mutexes or initialize internal data
  1385   1385   ** structures.  The xShutdown method is invoked (indirectly) by
  1386   1386   ** [sqlite3_shutdown()] and should deallocate any resources acquired
  1387   1387   ** by xInit.  The pAppData pointer is used as the only parameter to
  1388   1388   ** xInit and xShutdown.
  1389   1389   **
  1390   1390   ** SQLite holds the [SQLITE_MUTEX_STATIC_MASTER] mutex when it invokes
................................................................................
  3102   3102   ** then the statement will be automatically recompiled, as if there had been 
  3103   3103   ** a schema change, on the first  [sqlite3_step()] call following any change
  3104   3104   ** to the [sqlite3_bind_text | bindings] of that [parameter]. 
  3105   3105   ** ^The specific value of WHERE-clause [parameter] might influence the 
  3106   3106   ** choice of query plan if the parameter is the left-hand side of a [LIKE]
  3107   3107   ** or [GLOB] operator or if the parameter is compared to an indexed column
  3108   3108   ** and the [SQLITE_ENABLE_STAT3] compile-time option is enabled.
  3109         -** the 
  3110   3109   ** </li>
  3111   3110   ** </ol>
  3112   3111   */
  3113   3112   int sqlite3_prepare(
  3114   3113     sqlite3 *db,            /* Database handle */
  3115   3114     const char *zSql,       /* SQL statement, UTF-8 encoded */
  3116   3115     int nByte,              /* Maximum length of zSql in bytes. */
................................................................................
  3832   3831   ** sqlite3_column_bytes16(), and do not mix calls to sqlite3_column_text16()
  3833   3832   ** with calls to sqlite3_column_bytes().
  3834   3833   **
  3835   3834   ** ^The pointers returned are valid until a type conversion occurs as
  3836   3835   ** described above, or until [sqlite3_step()] or [sqlite3_reset()] or
  3837   3836   ** [sqlite3_finalize()] is called.  ^The memory space used to hold strings
  3838   3837   ** and BLOBs is freed automatically.  Do <b>not</b> pass the pointers returned
  3839         -** [sqlite3_column_blob()], [sqlite3_column_text()], etc. into
         3838  +** from [sqlite3_column_blob()], [sqlite3_column_text()], etc. into
  3840   3839   ** [sqlite3_free()].
  3841   3840   **
  3842   3841   ** ^(If a memory allocation error occurs during the evaluation of any
  3843   3842   ** of these routines, a default value is returned.  The default value
  3844   3843   ** is either the integer 0, the floating point number 0.0, or a NULL
  3845   3844   ** pointer.  Subsequent calls to [sqlite3_errcode()] will return
  3846   3845   ** [SQLITE_NOMEM].)^
................................................................................
  4910   4909   int sqlite3_release_memory(int);
  4911   4910   
  4912   4911   /*
  4913   4912   ** CAPI3REF: Free Memory Used By A Database Connection
  4914   4913   **
  4915   4914   ** ^The sqlite3_db_release_memory(D) interface attempts to free as much heap
  4916   4915   ** memory as possible from database connection D. Unlike the
  4917         -** [sqlite3_release_memory()] interface, this interface is effect even
  4918         -** when then [SQLITE_ENABLE_MEMORY_MANAGEMENT] compile-time option is
         4916  +** [sqlite3_release_memory()] interface, this interface is in effect even
         4917  +** when the [SQLITE_ENABLE_MEMORY_MANAGEMENT] compile-time option is
  4919   4918   ** omitted.
  4920   4919   **
  4921   4920   ** See also: [sqlite3_release_memory()]
  4922   4921   */
  4923   4922   int sqlite3_db_release_memory(sqlite3*);
  4924   4923   
  4925   4924   /*