/ Check-in [2db43738]
Login

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

Overview
Comment:Clarify the language in the sqlite3_create_function() documentation. Ticket #2980. (CVS 4844)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 2db43738bfcd2db29167ff02f4291e74324225d7
User & Date: drh 2008-03-08 12:37:31
Context
2008-03-09
01:14
Replace SQLITE_EXTERN with SQLITE_API in exported variables when generating the amalgamation. Should fix #2982 (CVS 4845) check-in: f134c282 user: mlcreech tags: trunk
2008-03-08
12:37
Clarify the language in the sqlite3_create_function() documentation. Ticket #2980. (CVS 4844) check-in: 2db43738 user: drh tags: trunk
12:23
Fix asserts in prepare.c to handle the misuse case of ppStmt==0. (CVS 4843) check-in: 788b2c6b user: drh 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.290 2008/03/07 03:20:32 mlcreech Exp $
           33  +** @(#) $Id: sqlite.h.in,v 1.291 2008/03/08 12:37:31 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++.
................................................................................
  3239   3239   ** These two functions (collectively known as
  3240   3240   ** "function creation routines") are used to add SQL functions or aggregates
  3241   3241   ** or to redefine the behavior of existing SQL functions or aggregates.  The
  3242   3242   ** difference only between the two is that the second parameter, the
  3243   3243   ** name of the (scalar) function or aggregate, is encoded in UTF-8 for
  3244   3244   ** sqlite3_create_function() and UTF-16 for sqlite3_create_function16().
  3245   3245   **
  3246         -** The first argument is the [database connection] that holds the
  3247         -** SQL function or aggregate is to be added or redefined. If a single
  3248         -** program uses more than one database handle internally, then SQL
  3249         -** functions or aggregates must be added individually to each database
  3250         -** handle with which they will be used.
         3246  +** The first parameter is the [database connection] to which the SQL
         3247  +** function is to be added.  If a single
         3248  +** program uses more than one [database connection] internally, then SQL
         3249  +** functions must be added individually to each [database connection].
  3251   3250   **
  3252   3251   ** The second parameter is the name of the SQL function to be created
  3253   3252   ** or redefined.
  3254   3253   ** The length of the name is limited to 255 bytes, exclusive of the 
  3255   3254   ** zero-terminator.  Note that the name length limit is in bytes, not
  3256   3255   ** characters.  Any attempt to create a function with a longer name
  3257   3256   ** will result in an SQLITE_ERROR error.