Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Update the descriptions of download products. Tweaks to the HLR. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
899c36f139dc56f679f027871db94390 |
User & Date: | drh 2009-01-26 14:06:53.000 |
Context
2009-01-26
| ||
14:15 | Add FAQ #20. (check-in: 32f90bde6c user: drh tags: trunk) | |
14:06 | Update the descriptions of download products. Tweaks to the HLR. (check-in: 899c36f139 user: drh tags: trunk) | |
2009-01-16
| ||
12:11 | Add SAVEPOINT and RELEASE to the list of SQL keywords. (check-in: 83b399eb79 user: dan tags: trunk) | |
Changes
Changes to pages/download.in.
︙ | ︙ | |||
141 142 143 144 145 146 147 | Heading {Source Code} Product {sqlite-amalgamation-V3.zip} { This ZIP archive contains all preprocessed C code combined into a single source file (the <a href="amalgamation.html">amalgamation</a>). | | | | > > | > > > > > > > | < | | > | 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 | Heading {Source Code} Product {sqlite-amalgamation-V3.zip} { This ZIP archive contains all preprocessed C code combined into a single source file (the <a href="amalgamation.html">amalgamation</a>). This is the <b>recommented</b> way of acquiring the SQLite source code. It is suggested that you use this packing option unless you have a compelling reason to use one of the other packaging options below. } Product {sqlite-amalgamation-V3.tar.gz} { A tarball containing the <a href="amalgamation.html">amalgamation</a> together with an configure script and makefile for building it. This is the <b>recommended</b> source distribution for all Unix and unix-like platforms. } Product {sqlite-V3-tea.tar.gz} { A tarball of preprocessed source code together with a <a href="http://www.tcl.tk/doc/tea/">Tcl Extension Architecture (TEA)</a> compatible configure script and makefile. The is the <b>recommended</b> source distribution for the TCL interface to SQLite. } Product {sqlite-V3.tar.gz} { A tarball of the complete source tree for SQLite version VERSION as extracted from the version control system. <i>The Makefile and configure script in this tarball are not supported</i>. Their use is <b><u>not</u> recommented</b>. The SQLite developers do not use them. You should not use them either. If you want a configure script and an automated build, use either the amalgamation tarball or TEA tarball instead of this one. To build from this tarball, hand-edit one of the template Makefiles in the root directory of the tarball and build using your own customized Makefile. } Product {sqlite-source-V3.zip} { This ZIP archive contains preprocessed C code for the SQLite library as individual source files. The use of this source distribution is <b><u>not</u> recommented</b>. Use one of the amalgamation packages above unless you have a compelling reason not to. } Product {sqlite-V3.src.rpm} { An RPM containing complete source code for SQLite version VERSION } Heading {Cross-Platform Binaries} |
︙ | ︙ |
Changes to req/hlr10000.txt.
1 2 3 4 | HLR H10010 S60100 The sqlite3.h header file shall define the the following interfaces: <blockquote><pre> | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 | HLR H10010 S60100 The sqlite3.h header file shall define the the following interfaces: <blockquote><pre> #define SQLITE_VERSION "3.6.10" #define SQLITE_VERSION_NUMBER 3006010 </pre></blockquote> HLR H10011 S60100 The SQLITE_VERSION #define in the sqlite3.h header file shall evaluate to a string literal that is the SQLite version with which the header file is associated. |
︙ | ︙ | |||
44 45 46 47 48 49 50 | int sqlite3_threadsafe(void); </pre></blockquote> HLR H10101 S60100 The [sqlite3_threadsafe()] function shall return zero if and only if SQLite was compiled with mutexing code omitted. | < < < < | | | | | | | | | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | int sqlite3_threadsafe(void); </pre></blockquote> HLR H10101 S60100 The [sqlite3_threadsafe()] function shall return zero if and only if SQLite was compiled with mutexing code omitted. HLR H10130 S20000 S30100 The sqlite3.h header file shall define the the following interfaces: <blockquote><pre> int sqlite3_initialize(void); int sqlite3_shutdown(void); int sqlite3_os_init(void); int sqlite3_os_end(void); </pre></blockquote> HLR H10155 S20120 The sqlite3.h header file shall define the the following interfaces: <blockquote><pre> typedef struct sqlite3_mem_methods sqlite3_mem_methods; struct sqlite3_mem_methods { void *(*xMalloc)(int); /* Memory allocation function */ void (*xFree)(void*); /* Free a prior allocation */ void *(*xRealloc)(void*,int); /* Resize an allocation */ int (*xSize)(void*); /* Return the size of an allocation */ int (*xRoundup)(int); /* Round up request size to allocation size */ int (*xInit)(void*); /* Initialize the memory allocator */ void (*xShutdown)(void*); /* Deinitialize the memory allocator */ void *pAppData; /* Argument to xInit() and xShutdown() */ }; </pre></blockquote> HLR H10160 S20000 The sqlite3.h header file shall define the the following interfaces: <blockquote><pre> |
︙ | ︙ | |||
239 240 241 242 243 244 245 | #define SQLITE_IOCAP_ATOMIC4K 0x00000010 #define SQLITE_IOCAP_ATOMIC8K 0x00000020 #define SQLITE_IOCAP_ATOMIC16K 0x00000040 #define SQLITE_IOCAP_ATOMIC32K 0x00000080 #define SQLITE_IOCAP_ATOMIC64K 0x00000100 #define SQLITE_IOCAP_SAFE_APPEND 0x00000200 #define SQLITE_IOCAP_SEQUENTIAL 0x00000400 | | | 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 | #define SQLITE_IOCAP_ATOMIC4K 0x00000010 #define SQLITE_IOCAP_ATOMIC8K 0x00000020 #define SQLITE_IOCAP_ATOMIC16K 0x00000040 #define SQLITE_IOCAP_ATOMIC32K 0x00000080 #define SQLITE_IOCAP_ATOMIC64K 0x00000100 #define SQLITE_IOCAP_SAFE_APPEND 0x00000200 #define SQLITE_IOCAP_SEQUENTIAL 0x00000400 #de</pre></blockquote> HLR H10250 H11120 H11310 The sqlite3.h header file shall define the the following interfaces: <blockquote><pre> #define SQLITE_LOCK_NONE 0 #define SQLITE_LOCK_SHARED 1 |
︙ | ︙ | |||
339 340 341 342 343 344 345 | int sqlite3_complete(const char *sql); int sqlite3_complete16(const void *sql); </pre></blockquote> HLR H10511 S70200 A successful evaluation of [sqlite3_complete()] or [sqlite3_complete16()] functions shall | | > | | | 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 | int sqlite3_complete(const char *sql); int sqlite3_complete16(const void *sql); </pre></blockquote> HLR H10511 S70200 A successful evaluation of [sqlite3_complete()] or [sqlite3_complete16()] functions shall return a numeric 1 if and only if the input string contains one or more non-whitespace tokens and the last non-whitespace token in is a semicolon that is not in the middle of a CREATE TRIGGER statement. HLR H10512 S70200 If a memory allocation error occurs during an invocation of [sqlite3_complete()] or [sqlite3_complete16()] then the routine shall return [SQLITE_NOMEM]. HLR H10530 S40410 |
︙ | ︙ | |||
372 373 374 375 376 377 378 | HLR H11110 S20110 The sqlite3.h header file shall define the the following interfaces: <blockquote><pre> typedef struct sqlite3_file sqlite3_file; struct sqlite3_file { | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 | HLR H11110 S20110 The sqlite3.h header file shall define the the following interfaces: <blockquote><pre> typedef struct sqlite3_file sqlite3_file; struct sqlite3_file { const struct sqlite3_io_methods *pMethods; /* Methods for an open file */ }; </pre></blockquote> HLR H11120 S20110 The sqlite3.h header file shall define the the following interfaces: <blockquote><pre> typedef struct sqlite3_io_methods sqlite3_io_methods; struct sqlite3_io_methods { int iVersion; int (*xClose)(sqlite3_file*); int (*xRead)(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst); int (*xWrite)(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst); int (*xTruncate)(sqlite3_file*, sqlite3_int64 size); int (*xSync)(sqlite3_file*, int flags); int (*xFileSize)(sqlite3_file*, sqlite3_int64 *pSize); int (*xLock)(sqlite3_file*, int); int (*xUnlock)(sqlite3_file*, int); int (*xCheckReservedLock)(sqlite3_file*, int *pResOut); int (*xFileControl)(sqlite3_file*, int op, void *pArg); int (*xSectorSize)(sqlite3_file*); int (*xDeviceCharacteristics)(sqlite3_file*); /* Additional methods may be added in future releases */ }; </pre></blockquote> HLR H11140 S20100 The sqlite3.h header file shall define the the following interfaces: <blockquote><pre> typedef struct sqlite3_vfs sqlite3_vfs; struct sqlite3_vfs { int iVersion; /* Structure version number */ int szOsFile; /* Size of subclassed sqlite3_file */ int mxPathname; /* Maximum file pathname length */ sqlite3_vfs *pNext; /* Next registered VFS */ const char *zName; /* Name of this virtual file system */ void *pAppData; /* Pointer to application-specific data */ int (*xOpen)(sqlite3_vfs*, const char *zName, sqlite3_file*, int flags, int *pOutFlags); int (*xDelete)(sqlite3_vfs*, const char *zName, int syncDir); int (*xAccess)(sqlite3_vfs*, const char *zName, int flags, int *pResOut); int (*xFullPathname)(sqlite3_vfs*, const char *zName, int nOut, char *zOut); void *(*xDlOpen)(sqlite3_vfs*, const char *zFilename); void (*xDlError)(sqlite3_vfs*, int nByte, char *zErrMsg); void (*(*xDlSym)(sqlite3_vfs*,void*, const char *zSymbol))(void); void (*xDlClose)(sqlite3_vfs*, void*); int (*xRandomness)(sqlite3_vfs*, int nByte, char *zOut); int (*xSleep)(sqlite3_vfs*, int microseconds); int (*xCurrentTime)(sqlite3_vfs*, double*); int (*xGetLastError)(sqlite3_vfs*, int, char *); /* New fields may be appended in figure versions. The iVersion ** value will increment whenever this happens. */ }; </pre></blockquote> HLR H11190 H11140 The sqlite3.h header file shall define the the following interfaces: <blockquote><pre> |
︙ | ︙ | |||
898 899 900 901 902 903 904 | obtained from [sqlite3_column_text()]. HLR H12379 S10000 The values in the pazResult array returned by [sqlite3_get_table()] shall remain valid until cleared by [sqlite3_free_table()]. HLR H12382 S10000 | | | | | 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 | obtained from [sqlite3_column_text()]. HLR H12379 S10000 The values in the pazResult array returned by [sqlite3_get_table()] shall remain valid until cleared by [sqlite3_free_table()]. HLR H12382 S10000 When an error other than SQLITE_NOMEM occurs during evaluation of [sqlite3_get_table()] the function shall set *pazResult to NULL, write an error message into memory obtained from [sqlite3_malloc()], make **pzErrmsg point to that error message, and return a appropriate [error code]. HLR H12500 S70100 The sqlite3.h header file shall define the the following interfaces: <blockquote><pre> |
︙ | ︙ |