1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-16 23:02:26 +03:00

Documentation fixes. No changes to code. Tickets #2622 and #2624. (CVS 4394)

FossilOrigin-Name: 2eadef90162590a7b947c38acf0016d0c55821c7
This commit is contained in:
drh
2007-09-04 12:00:00 +00:00
parent 268567179c
commit 79491ab85d
3 changed files with 41 additions and 27 deletions

View File

@@ -1,5 +1,5 @@
C Fix\syet\sanother\stypo\son\sthe\shomepage.\s\sTicket\s#2621.\s(CVS\s4393) C Documentation\sfixes.\s\sNo\schanges\sto\scode.\s\sTickets\s#2622\sand\s#2624.\s(CVS\s4394)
D 2007-09-04T03:28:28 D 2007-09-04T12:00:00
F Makefile.in cbfb898945536a8f9ea8b897e1586dd1fdbcc5db F Makefile.in cbfb898945536a8f9ea8b897e1586dd1fdbcc5db
F Makefile.linux-gcc 65241babba6faf1152bf86574477baab19190499 F Makefile.linux-gcc 65241babba6faf1152bf86574477baab19190499
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -130,7 +130,7 @@ F src/random.c 4a22746501bf36b0a088c66e38dde5daba6a35da
F src/select.c 4706a6115da1bdc09a2be5991168a6cc2c0df267 F src/select.c 4706a6115da1bdc09a2be5991168a6cc2c0df267
F src/server.c 087b92a39d883e3fa113cae259d64e4c7438bc96 F src/server.c 087b92a39d883e3fa113cae259d64e4c7438bc96
F src/shell.c ac29402b538515fa4697282387be9c1205e6e9eb F src/shell.c ac29402b538515fa4697282387be9c1205e6e9eb
F src/sqlite.h.in d112cedeeef4047353a674bab25e55d8b51d2006 F src/sqlite.h.in ba55b61cbedad6de6182c51cc8e4546d7a2bbcf9
F src/sqlite3ext.h a93f59cdee3638dc0c9c086f80df743a4e68c3cb F src/sqlite3ext.h a93f59cdee3638dc0c9c086f80df743a4e68c3cb
F src/sqliteInt.h bb126b074352ef0ee20399883172161baf5eead2 F src/sqliteInt.h bb126b074352ef0ee20399883172161baf5eead2
F src/sqliteLimit.h 1bcbbdfa856f8b71b561abb31edb864b0eca1d12 F src/sqliteLimit.h 1bcbbdfa856f8b71b561abb31edb864b0eca1d12
@@ -569,7 +569,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5 F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
P deecd934e651e6813cc364c41015bf3b15a2b193 P d5fec873102728a1ea9fbdae6799780bfb98bcfb
R bfbb49cbd10543be69fb1bdd7f58117e R 68e25215cf50cde905b761eb593c1d2a
U drh U drh
Z 9859ff062df086e43593f6d703f21522 Z 502f0943ba181ec43a59b4174dcd9436

View File

@@ -1 +1 @@
d5fec873102728a1ea9fbdae6799780bfb98bcfb 2eadef90162590a7b947c38acf0016d0c55821c7

View File

@@ -30,7 +30,7 @@
** the version number) and changes its name to "sqlite3.h" as ** the version number) and changes its name to "sqlite3.h" as
** part of the build process. ** part of the build process.
** **
** @(#) $Id: sqlite.h.in,v 1.256 2007/09/03 20:32:45 drh Exp $ ** @(#) $Id: sqlite.h.in,v 1.257 2007/09/04 12:00:00 drh Exp $
*/ */
#ifndef _SQLITE3_H_ #ifndef _SQLITE3_H_
#define _SQLITE3_H_ #define _SQLITE3_H_
@@ -463,7 +463,7 @@ struct sqlite3_file {
** The integer values to xLock() and xUnlock() are one of ** The integer values to xLock() and xUnlock() are one of
** <ul> ** <ul>
** <li> [SQLITE_LOCK_NONE], ** <li> [SQLITE_LOCK_NONE],
** <li> [SQLITE_LOCK_READ], ** <li> [SQLITE_LOCK_SHARED],
** <li> [SQLITE_LOCK_RESERVED], ** <li> [SQLITE_LOCK_RESERVED],
** <li> [SQLITE_LOCK_PENDING], or ** <li> [SQLITE_LOCK_PENDING], or
** <li> [SQLITE_LOCK_EXCLUSIVE]. ** <li> [SQLITE_LOCK_EXCLUSIVE].
@@ -526,11 +526,11 @@ typedef struct sqlite3_io_methods sqlite3_io_methods;
struct sqlite3_io_methods { struct sqlite3_io_methods {
int iVersion; int iVersion;
int (*xClose)(sqlite3_file*); int (*xClose)(sqlite3_file*);
int (*xRead)(sqlite3_file*, void*, int iAmt, sqlite_int64 iOfst); int (*xRead)(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
int (*xWrite)(sqlite3_file*, const void*, int iAmt, sqlite_int64 iOfst); int (*xWrite)(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst);
int (*xTruncate)(sqlite3_file*, sqlite_int64 size); int (*xTruncate)(sqlite3_file*, sqlite3_int64 size);
int (*xSync)(sqlite3_file*, int flags); int (*xSync)(sqlite3_file*, int flags);
int (*xFileSize)(sqlite3_file*, sqlite_int64 *pSize); int (*xFileSize)(sqlite3_file*, sqlite3_int64 *pSize);
int (*xLock)(sqlite3_file*, int); int (*xLock)(sqlite3_file*, int);
int (*xUnlock)(sqlite3_file*, int); int (*xUnlock)(sqlite3_file*, int);
int (*xCheckReservedLock)(sqlite3_file*); int (*xCheckReservedLock)(sqlite3_file*);
@@ -585,9 +585,9 @@ typedef struct sqlite3_mutex sqlite3_mutex;
** a pathname in this VFS. ** a pathname in this VFS.
** **
** Registered vfs modules are kept on a linked list formed by ** Registered vfs modules are kept on a linked list formed by
** the pNext pointer. The [sqlite3_register_vfs()] ** the pNext pointer. The [sqlite3_vfs_register()]
** and [sqlite3_unregister_vfs()] interfaces manage this list ** and [sqlite3_vfs_unregister()] interfaces manage this list
** in a thread-safe way. The [sqlite3_find_vfs()] interface ** in a thread-safe way. The [sqlite3_vfs_find()] interface
** searches the list. ** searches the list.
** **
** The pNext field is the only fields in the sqlite3_vfs ** The pNext field is the only fields in the sqlite3_vfs
@@ -804,7 +804,7 @@ int sqlite3_changes(sqlite3*);
** was opened. This includes UPDATE, INSERT and DELETE statements executed ** was opened. This includes UPDATE, INSERT and DELETE statements executed
** as part of trigger programs. All changes are counted as soon as the ** as part of trigger programs. All changes are counted as soon as the
** statement that makes them is completed (when the statement handle is ** statement that makes them is completed (when the statement handle is
** passed to [sqlite3_reset()] or [sqlite3_finalise()]). ** passed to [sqlite3_reset()] or [sqlite3_finalize()]).
** **
** See also the [sqlite3_change()] interface. ** See also the [sqlite3_change()] interface.
** **
@@ -1114,7 +1114,8 @@ char *sqlite3_snprintf(int,char*,const char*, ...);
** CAPI3REF: Memory Allocation Subsystem ** CAPI3REF: Memory Allocation Subsystem
** **
** The SQLite core uses these three routines for all of its own ** The SQLite core uses these three routines for all of its own
** internal memory allocation needs. The default implementation ** internal memory allocation needs. (See the exception below.)
** The default implementation
** of the memory allocation subsystem uses the malloc(), realloc() ** of the memory allocation subsystem uses the malloc(), realloc()
** and free() provided by the standard C library. However, if ** and free() provided by the standard C library. However, if
** SQLite is compiled with the following C preprocessor macro ** SQLite is compiled with the following C preprocessor macro
@@ -1125,8 +1126,18 @@ char *sqlite3_snprintf(int,char*,const char*, ...);
** SQLite. The application that links against SQLite is ** SQLite. The application that links against SQLite is
** expected to provide its own implementation. If the application ** expected to provide its own implementation. If the application
** does provide its own implementation for these routines, then ** does provide its own implementation for these routines, then
** it must also provide an implementation for ** it must also provide an implementations for
** [sqlite3_memory_alarm()]. ** [sqlite3_memory_alarm()], [sqlite3_memory_used()], and
** [sqlite3_memory_highwater()]. The alternative implementations
** for these last three routines need not actually work, but
** stub functions at least are needed to statisfy the linker.
** SQLite never calls [sqlite3_memory_highwater()] itself, but
** the symbol is included in a table as part of the
** [sqlite3_load_extension()] interface. The
** [sqlite3_memory_alarm()] and [sqlite3_memory_used()] interfaces
** are called by [sqlite3_soft_heap_limit()] and working implementations
** of both routines must be provided if [sqlite3_soft_heap_limit()]
** is to operate correctly.
** **
** <b>Exception:</b> The windows OS interface layer calls ** <b>Exception:</b> The windows OS interface layer calls
** the system malloc() and free() directly when converting ** the system malloc() and free() directly when converting
@@ -1152,11 +1163,14 @@ void sqlite3_free(void*);
** currently outstanding (malloced but not freed). The second ** currently outstanding (malloced but not freed). The second
** returns the largest instantaneous amount of outstanding ** returns the largest instantaneous amount of outstanding
** memory. The highwater mark is reset if the argument is ** memory. The highwater mark is reset if the argument is
** true. The SQLite core does not use either of these routines ** true.
** and so they do not have to be implemented by the application **
** if SQLITE_OMIT_MEMORY_ALLOCATION is defined. These routines ** The implementation of these routines in the SQLite core
** are provided by the default memory subsystem for diagnostic ** is omitted if the application is compiled with the
** purposes. ** SQLITE_OMIT_MEMORY_ALLOCATION macro defined. In that case,
** the application that links SQLite must provide its own
** alternative implementation. See the documentation on
** [sqlite3_malloc()] for additional information.
*/ */
sqlite3_int64 sqlite3_memory_used(void); sqlite3_int64 sqlite3_memory_used(void);
sqlite3_int64 sqlite3_memory_highwater(int resetFlag); sqlite3_int64 sqlite3_memory_highwater(int resetFlag);
@@ -2130,7 +2144,7 @@ int sqlite3_data_count(sqlite3_stmt *pStmt);
** described above, or until [sqlite3_step()] or [sqlite3_reset()] or ** described above, or until [sqlite3_step()] or [sqlite3_reset()] or
** [sqlite3_finalize()] is called. The memory space used to hold strings ** [sqlite3_finalize()] is called. The memory space used to hold strings
** and blobs is freed automatically. Do <b>not</b> pass the pointers returned ** and blobs is freed automatically. Do <b>not</b> pass the pointers returned
** [sqlite3_column_blob()], [sqlite_column_text()], etc. into ** [sqlite3_column_blob()], [sqlite3_column_text()], etc. into
** [sqlite3_free()]. ** [sqlite3_free()].
** **
** If a memory allocation error occurs during the evaluation of any ** If a memory allocation error occurs during the evaluation of any
@@ -3198,7 +3212,7 @@ int sqlite3_overload_function(sqlite3*, const char *zFuncName, int nArg);
** [sqlite3_blob_open()] and destroyed by [sqlite3_blob_close()]. ** [sqlite3_blob_open()] and destroyed by [sqlite3_blob_close()].
** The [sqlite3_blob_read()] and [sqlite3_blob_write()] interfaces ** The [sqlite3_blob_read()] and [sqlite3_blob_write()] interfaces
** can be used to read or write small subsections of the blob. ** can be used to read or write small subsections of the blob.
** The [sqltie3_blob_size()] interface returns the size of the ** The [sqlite3_blob_bytes()] interface returns the size of the
** blob in bytes. ** blob in bytes.
*/ */
typedef struct sqlite3_blob sqlite3_blob; typedef struct sqlite3_blob sqlite3_blob;