/ Check-in [c23f51de]
Login

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

Overview
Comment:Fixes to API definition comments in sqlite.h.in. Updates to the build script - ticket #2874. (CVS 4762)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:c23f51de61398b08a9f02cc65befcbfe506137c0
User & Date: drh 2008-01-31 16:36:40
Context
2008-01-31
17:21
Remove a broken hyperlink from the API documentation. (CVS 4763) check-in: 5fbda121 user: drh tags: trunk
16:36
Fixes to API definition comments in sqlite.h.in. Updates to the build script - ticket #2874. (CVS 4762) check-in: c23f51de user: drh tags: trunk
15:53
Make sure virtual table interfaces are not invoked after EOF when the virtual table appears in an outer join. Ticket #2894. (CVS 4761) check-in: face510b user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to publish.sh.

    20     20   VERSW=`sed 's/\./_/g' $srcdir/VERSION`
    21     21   echo "VERSIONS: $VERS $VERSW"
    22     22   
    23     23   # Start by building an sqlite shell for linux.
    24     24   #
    25     25   make clean
    26     26   make sqlite3.c
    27         -make fts3amal.c
    28         -cat fts3amal.c >>sqlite3.c
    29         -cat fts3amal.c >>tclsqlite3.c
    30     27   CFLAGS="-Os -DSQLITE_ENABLE_FTS3=1 -DSQLITE_THREADSAFE=0"
    31     28   echo '***** '"COMPILING sqlite3-$VERS.bin..."
    32     29   gcc $CFLAGS -Itsrc sqlite3.c tsrc/shell.c -o sqlite3 -ldl
    33     30   strip sqlite3
    34     31   mv sqlite3 sqlite3-$VERS.bin
    35     32   gzip sqlite3-$VERS.bin
    36     33   chmod 644 sqlite3-$VERS.bin.gz
................................................................................
    37     34   mv sqlite3-$VERS.bin.gz doc
    38     35   
    39     36   # Build a source archive useful for windows.
    40     37   #
    41     38   make target_source
    42     39   cd tsrc
    43     40   echo '***** BUILDING preprocessed source archives'
    44         -rm fts* icu*
           41  +rm fts[12]* icu*
    45     42   rm -f ../doc/sqlite-source-$VERSW.zip
    46     43   zip ../doc/sqlite-source-$VERSW.zip *
    47     44   cd ..
    48     45   cp tsrc/sqlite3.h tsrc/sqlite3ext.h .
    49     46   pwd
    50     47   zip doc/sqlite-amalgamation-$VERSW.zip sqlite3.c sqlite3.h sqlite3ext.h
    51     48   
    52     49   # Build the sqlite.so and tclsqlite.so shared libraries
    53     50   # under Linux
    54     51   #
    55     52   TCLDIR=/home/drh/tcltk/846/linux/846linux
    56     53   TCLSTUBLIB=$TCLDIR/libtclstub8.4g.a
    57         -CFLAGS="-Os -DSQLITE_ENABLE_FTS3=1"
           54  +CFLAGS="-Os -DSQLITE_ENABLE_FTS3=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1"
    58     55   echo '***** BUILDING shared libraries for linux'
    59     56   gcc $CFLAGS -shared tclsqlite3.c $TCLSTUBLIB -o tclsqlite3.so -lpthread
    60     57   strip tclsqlite3.so
    61     58   chmod 644 tclsqlite3.so
    62     59   mv tclsqlite3.so tclsqlite-$VERS.so
    63     60   gzip tclsqlite-$VERS.so
    64     61   mv tclsqlite-$VERS.so.gz doc

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.281 2008/01/31 14:43:24 drh Exp $
           33  +** @(#) $Id: sqlite.h.in,v 1.282 2008/01/31 16:36:40 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++.
................................................................................
  3113   3113   ** pointer.  Subsequent calls to [sqlite3_errcode()] will return
  3114   3114   ** [SQLITE_NOMEM].
  3115   3115   **
  3116   3116   ** INVARIANTS:
  3117   3117   **
  3118   3118   ** {F13803} The [sqlite3_column_blob(S,N)] interface converts the
  3119   3119   **          Nth column in the current row of the result set for
  3120         -**          [prepared_statement] S into a blob and then returns a
         3120  +**          [prepared statement] S into a blob and then returns a
  3121   3121   **          pointer to the converted value.
  3122   3122   **
  3123   3123   ** {F13806} The [sqlite3_column_bytes(S,N)] interface returns the
  3124   3124   **          number of bytes in the blob or string (exclusive of the
  3125   3125   **          zero terminator on the string) that was returned by the
  3126   3126   **          most recent call to [sqlite3_column_blob(S,N)] or
  3127   3127   **          [sqlite3_column_text(S,N)].
................................................................................
  3129   3129   ** {F13809} The [sqlite3_column_bytes16(S,N)] interface returns the
  3130   3130   **          number of bytes in the string (exclusive of the
  3131   3131   **          zero terminator on the string) that was returned by the
  3132   3132   **          most recent call to [sqlite3_column_text16(S,N)].
  3133   3133   **
  3134   3134   ** {F13812} The [sqlite3_column_double(S,N)] interface converts the
  3135   3135   **          Nth column in the current row of the result set for
  3136         -**          [prepared_statement] S into a floating point value and
         3136  +**          [prepared statement] S into a floating point value and
  3137   3137   **          returns a copy of that value.
  3138   3138   **
  3139   3139   ** {F13815} The [sqlite3_column_int(S,N)] interface converts the
  3140   3140   **          Nth column in the current row of the result set for
  3141         -**          [prepared_statement] S into a 32-bit signed integer and
         3141  +**          [prepared statement] S into a 32-bit signed integer and
  3142   3142   **          returns a copy of that integer.
  3143   3143   **
  3144   3144   ** {F13818} The [sqlite3_column_int64(S,N)] interface converts the
  3145   3145   **          Nth column in the current row of the result set for
  3146         -**          [prepared_statement] S into a 64-bit signed integer and
         3146  +**          [prepared statement] S into a 64-bit signed integer and
  3147   3147   **          returns a copy of that integer.
  3148   3148   **
  3149   3149   ** {F13821} The [sqlite3_column_text(S,N)] interface converts the
  3150   3150   **          Nth column in the current row of the result set for
  3151         -**          [prepared_statement] S into a zero-terminated UTF-8 
         3151  +**          [prepared statement] S into a zero-terminated UTF-8 
  3152   3152   **          string and returns a pointer to that string.
  3153   3153   **
  3154   3154   ** {F13824} The [sqlite3_column_text16(S,N)] interface converts the
  3155   3155   **          Nth column in the current row of the result set for
  3156         -**          [prepared_statement] S into a zero-terminated 2-byte
         3156  +**          [prepared statement] S into a zero-terminated 2-byte
  3157   3157   **          aligned UTF-16 native byte order
  3158   3158   **          string and returns a pointer to that string.
  3159   3159   **
  3160   3160   ** {F13827} The [sqlite3_column_type(S,N)] interface returns
  3161         -**          one of [SQLITE_NULL], [SQLITE_INTEGER], [SQLITE_REAL],
         3161  +**          one of [SQLITE_NULL], [SQLITE_INTEGER], [SQLITE_FLOAT],
  3162   3162   **          [SQLITE_TEXT], or [SQLITE_BLOB] as appropriate for
  3163   3163   **          the Nth column in the current row of the result set for
  3164         -**          [prepared_statement] S.
         3164  +**          [prepared statement] S.
  3165   3165   **
  3166   3166   ** {F13830} The [sqlite3_column_value(S,N)] interface returns a
  3167   3167   **          pointer to the [sqlite3_value] object that for the
  3168   3168   **          Nth column in the current row of the result set for
  3169         -**          [prepared_statement] S.
         3169  +**          [prepared statement] S.
  3170   3170   */
  3171   3171   const void *sqlite3_column_blob(sqlite3_stmt*, int iCol);
  3172   3172   int sqlite3_column_bytes(sqlite3_stmt*, int iCol);
  3173   3173   int sqlite3_column_bytes16(sqlite3_stmt*, int iCol);
  3174   3174   double sqlite3_column_double(sqlite3_stmt*, int iCol);
  3175   3175   int sqlite3_column_int(sqlite3_stmt*, int iCol);
  3176   3176   sqlite3_int64 sqlite3_column_int64(sqlite3_stmt*, int iCol);