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

Fix typos in documentation comments. No changes to code.

FossilOrigin-Name: 9c64b5a99c5251818000e7d655f3a870589b631e
This commit is contained in:
drh
2011-04-07 01:14:12 +00:00
parent dc5b047ec3
commit 8b2b2e67fe
4 changed files with 22 additions and 22 deletions

View File

@@ -1,5 +1,5 @@
C Fix\sa\sperformance\sregression:\s\sKeep\stwo\sbtree\smasks\sin\seach\sprepared\nstatement;\sone\sfor\sbtrees\sused\sand\sanother\sfor\sbtrees\sthat\srequire\slocks.\nOnly\stry\sto\slock\sthe\sbtrees\sidentified\sby\sthe\ssecond\smask. C Fix\stypos\sin\sdocumentation\scomments.\s\sNo\schanges\sto\scode.
D 2011-04-06T22:05:53.025 D 2011-04-07T01:14:12.525
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
F Makefile.in 7a4d9524721d40ef9ee26f93f9bd6a51dba106f2 F Makefile.in 7a4d9524721d40ef9ee26f93f9bd6a51dba106f2
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -143,7 +143,7 @@ F src/journal.c 552839e54d1bf76fb8f7abe51868b66acacf6a0e
F src/legacy.c a199d7683d60cef73089e892409113e69c23a99f F src/legacy.c a199d7683d60cef73089e892409113e69c23a99f
F src/lempar.c 7f026423f4d71d989e719a743f98a1cbd4e6d99e F src/lempar.c 7f026423f4d71d989e719a743f98a1cbd4e6d99e
F src/loadext.c 3ae0d52da013a6326310655be6473fd472347b85 F src/loadext.c 3ae0d52da013a6326310655be6473fd472347b85
F src/main.c 5dad851457fdd249a4d4f41e94fe9cb11aedf1f2 F src/main.c a8571665d43ff18f89a49d47a281605ce5ea825e
F src/malloc.c 788f2ed928786dfe305b6783d551d6b1a9080976 F src/malloc.c 788f2ed928786dfe305b6783d551d6b1a9080976
F src/mem0.c 6a55ebe57c46ca1a7d98da93aaa07f99f1059645 F src/mem0.c 6a55ebe57c46ca1a7d98da93aaa07f99f1059645
F src/mem1.c 00bd8265c81abb665c48fea1e0c234eb3b922206 F src/mem1.c 00bd8265c81abb665c48fea1e0c234eb3b922206
@@ -178,7 +178,7 @@ F src/resolve.c 1c0f32b64f8e3f555fe1f732f9d6f501a7f05706
F src/rowset.c 69afa95a97c524ba6faf3805e717b5b7ae85a697 F src/rowset.c 69afa95a97c524ba6faf3805e717b5b7ae85a697
F src/select.c 649a6f10f7eb7b52a5a28847773cb9968a828ae8 F src/select.c 649a6f10f7eb7b52a5a28847773cb9968a828ae8
F src/shell.c a73b30067ec15f116d5d0c28880179898fbe3d0b F src/shell.c a73b30067ec15f116d5d0c28880179898fbe3d0b
F src/sqlite.h.in 923630d8249b66cf8a266dd53d4d094cace80164 F src/sqlite.h.in 4d28db70c37a1b17942820308eb59f211140da43
F src/sqlite3ext.h c90bd5507099f62043832d73f6425d8d5c5da754 F src/sqlite3ext.h c90bd5507099f62043832d73f6425d8d5c5da754
F src/sqliteInt.h 7b0150bfdab049b11bb2d055d065051ff734d113 F src/sqliteInt.h 7b0150bfdab049b11bb2d055d065051ff734d113
F src/sqliteLimit.h 164b0e6749d31e0daa1a4589a169d31c0dec7b3d F src/sqliteLimit.h 164b0e6749d31e0daa1a4589a169d31c0dec7b3d
@@ -927,7 +927,7 @@ F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
F tool/split-sqlite3c.tcl d9be87f1c340285a3e081eb19b4a247981ed290c F tool/split-sqlite3c.tcl d9be87f1c340285a3e081eb19b4a247981ed290c
F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
P 61a6ccbe3c9c3ad5f35fb325e3c327cb19409925 P 614de91a504d2231009a9de1305e31fce1b1c5a6
R 5fa436b215ae7db10b0b34b9477bdc0a R e68cf91f31b8f54b3f58e7c0f4d97cbb
U drh U drh
Z e891e0a53128468187772ad760452d05 Z 8376cd3928f598b2a6d539c81827da5e

View File

@@ -1 +1 @@
614de91a504d2231009a9de1305e31fce1b1c5a6 9c64b5a99c5251818000e7d655f3a870589b631e

View File

@@ -515,7 +515,7 @@ int sqlite3_db_config(sqlite3 *db, int op, ...){
va_start(ap, op); va_start(ap, op);
switch( op ){ switch( op ){
case SQLITE_DBCONFIG_LOOKASIDE: { case SQLITE_DBCONFIG_LOOKASIDE: {
void *pBuf = va_arg(ap, void*); /* IMP: R-21112-12275 */ void *pBuf = va_arg(ap, void*); /* IMP: R-26835-10964 */
int sz = va_arg(ap, int); /* IMP: R-47871-25994 */ int sz = va_arg(ap, int); /* IMP: R-47871-25994 */
int cnt = va_arg(ap, int); /* IMP: R-04460-53386 */ int cnt = va_arg(ap, int); /* IMP: R-04460-53386 */
rc = setupLookaside(db, pBuf, sz, cnt); rc = setupLookaside(db, pBuf, sz, cnt);

View File

@@ -727,7 +727,7 @@ struct sqlite3_io_methods {
** when [PRAGMA synchronous | PRAGMA synchronous=OFF] is set, but most ** when [PRAGMA synchronous | PRAGMA synchronous=OFF] is set, but most
** VFSes do not need this signal and should silently ignore this opcode. ** VFSes do not need this signal and should silently ignore this opcode.
** Applications should not call [sqlite3_file_control()] with this ** Applications should not call [sqlite3_file_control()] with this
** opcode as doing so may disrupt the operation of the specilized VFSes ** opcode as doing so may disrupt the operation of the specialized VFSes
** that do require it. ** that do require it.
*/ */
#define SQLITE_FCNTL_LOCKSTATE 1 #define SQLITE_FCNTL_LOCKSTATE 1
@@ -1309,7 +1309,7 @@ struct sqlite3_mem_methods {
** <dt>SQLITE_CONFIG_SCRATCH</dt> ** <dt>SQLITE_CONFIG_SCRATCH</dt>
** <dd> ^This option specifies a static memory buffer that SQLite can use for ** <dd> ^This option specifies a static memory buffer that SQLite can use for
** scratch memory. There are three arguments: A pointer an 8-byte ** scratch memory. There are three arguments: A pointer an 8-byte
** aligned memory buffer from which the scrach allocations will be ** aligned memory buffer from which the scratch allocations will be
** drawn, the size of each scratch allocation (sz), ** drawn, the size of each scratch allocation (sz),
** and the maximum number of scratch allocations (N). The sz ** and the maximum number of scratch allocations (N). The sz
** argument must be a multiple of 16. ** argument must be a multiple of 16.
@@ -1461,7 +1461,7 @@ struct sqlite3_mem_methods {
** <dd> ^This option takes three additional arguments that determine the ** <dd> ^This option takes three additional arguments that determine the
** [lookaside memory allocator] configuration for the [database connection]. ** [lookaside memory allocator] configuration for the [database connection].
** ^The first argument (the third parameter to [sqlite3_db_config()] is a ** ^The first argument (the third parameter to [sqlite3_db_config()] is a
** pointer to an memory buffer to use for lookaside memory. ** pointer to a memory buffer to use for lookaside memory.
** ^The first argument after the SQLITE_DBCONFIG_LOOKASIDE verb ** ^The first argument after the SQLITE_DBCONFIG_LOOKASIDE verb
** may be NULL in which case SQLite will allocate the ** may be NULL in which case SQLite will allocate the
** lookaside buffer itself using [sqlite3_malloc()]. ^The second argument is the ** lookaside buffer itself using [sqlite3_malloc()]. ^The second argument is the
@@ -1493,7 +1493,7 @@ struct sqlite3_mem_methods {
** <dd> ^This option is used to enable or disable [CREATE TRIGGER | triggers]. ** <dd> ^This option is used to enable or disable [CREATE TRIGGER | triggers].
** There should be two additional arguments. ** There should be two additional arguments.
** The first argument is an integer which is 0 to disable triggers, ** The first argument is an integer which is 0 to disable triggers,
** positive to enable trigers or negative to leave the setting unchanged. ** positive to enable triggers or negative to leave the setting unchanged.
** The second parameter is a pointer to an integer into which ** The second parameter is a pointer to an integer into which
** is written 0 or 1 to indicate whether triggers are disabled or enabled ** is written 0 or 1 to indicate whether triggers are disabled or enabled
** following this call. The second parameter may be a NULL pointer, in ** following this call. The second parameter may be a NULL pointer, in
@@ -2105,7 +2105,7 @@ void sqlite3_randomness(int N, void *P);
/* /*
** CAPI3REF: Compile-Time Authorization Callbacks ** CAPI3REF: Compile-Time Authorization Callbacks
** **
** ^This routine registers a authorizer callback with a particular ** ^This routine registers an authorizer callback with a particular
** [database connection], supplied in the first argument. ** [database connection], supplied in the first argument.
** ^The authorizer callback is invoked as SQL statements are being compiled ** ^The authorizer callback is invoked as SQL statements are being compiled
** by [sqlite3_prepare()] or its variants [sqlite3_prepare_v2()], ** by [sqlite3_prepare()] or its variants [sqlite3_prepare_v2()],
@@ -2751,7 +2751,7 @@ int sqlite3_stmt_readonly(sqlite3_stmt *pStmt);
** whether or not it requires a protected sqlite3_value. ** whether or not it requires a protected sqlite3_value.
** **
** The terms "protected" and "unprotected" refer to whether or not ** The terms "protected" and "unprotected" refer to whether or not
** a mutex is held. A internal mutex is held for a protected ** a mutex is held. An internal mutex is held for a protected
** sqlite3_value object but no mutex is held for an unprotected ** sqlite3_value object but no mutex is held for an unprotected
** sqlite3_value object. If SQLite is compiled to be single-threaded ** sqlite3_value object. If SQLite is compiled to be single-threaded
** (with [SQLITE_THREADSAFE=0] and with [sqlite3_threadsafe()] returning 0) ** (with [SQLITE_THREADSAFE=0] and with [sqlite3_threadsafe()] returning 0)
@@ -3437,7 +3437,7 @@ int sqlite3_reset(sqlite3_stmt *pStmt);
** are used to add SQL functions or aggregates or to redefine the behavior ** are used to add SQL functions or aggregates or to redefine the behavior
** of existing SQL functions or aggregates. The only differences between ** of existing SQL functions or aggregates. The only differences between
** these routines are the text encoding expected for ** these routines are the text encoding expected for
** the the second parameter (the name of the function being created) ** the second parameter (the name of the function being created)
** and the presence or absence of a destructor callback for ** and the presence or absence of a destructor callback for
** the application data pointer. ** the application data pointer.
** **
@@ -3482,7 +3482,7 @@ int sqlite3_reset(sqlite3_stmt *pStmt);
** callback only; NULL pointers must be passed as the xStep and xFinal ** callback only; NULL pointers must be passed as the xStep and xFinal
** parameters. ^An aggregate SQL function requires an implementation of xStep ** parameters. ^An aggregate SQL function requires an implementation of xStep
** and xFinal and NULL pointer must be passed for xFunc. ^To delete an existing ** and xFinal and NULL pointer must be passed for xFunc. ^To delete an existing
** SQL function or aggregate, pass NULL poiners for all three function ** SQL function or aggregate, pass NULL pointers for all three function
** callbacks. ** callbacks.
** **
** ^(If the ninth parameter to sqlite3_create_function_v2() is not NULL, ** ^(If the ninth parameter to sqlite3_create_function_v2() is not NULL,
@@ -3916,7 +3916,7 @@ void sqlite3_result_zeroblob(sqlite3_context*, int n);
** ^The [SQLITE_UTF16_ALIGNED] value for eTextRep forces strings to begin ** ^The [SQLITE_UTF16_ALIGNED] value for eTextRep forces strings to begin
** on an even byte address. ** on an even byte address.
** **
** ^The fourth argument, pArg, is a application data pointer that is passed ** ^The fourth argument, pArg, is an application data pointer that is passed
** through as the first argument to the collating function callback. ** through as the first argument to the collating function callback.
** **
** ^The fifth argument, xCallback, is a pointer to the collating function. ** ^The fifth argument, xCallback, is a pointer to the collating function.
@@ -3932,7 +3932,7 @@ void sqlite3_result_zeroblob(sqlite3_context*, int n);
** by the eTextRep argument. The collating function must return an ** by the eTextRep argument. The collating function must return an
** integer that is negative, zero, or positive ** integer that is negative, zero, or positive
** if the first string is less than, equal to, or greater than the second, ** if the first string is less than, equal to, or greater than the second,
** respectively. A collating function must alway return the same answer ** respectively. A collating function must always return the same answer
** given the same inputs. If two or more collating functions are registered ** given the same inputs. If two or more collating functions are registered
** to the same collation name (using different eTextRep values) then all ** to the same collation name (using different eTextRep values) then all
** must give an equivalent answer when invoked with equivalent strings. ** must give an equivalent answer when invoked with equivalent strings.
@@ -4344,7 +4344,7 @@ int sqlite3_release_memory(int);
** <li> Memory accounting is disabled using a combination of the ** <li> Memory accounting is disabled using a combination of the
** [sqlite3_config]([SQLITE_CONFIG_MEMSTATUS],...) start-time option and ** [sqlite3_config]([SQLITE_CONFIG_MEMSTATUS],...) start-time option and
** the [SQLITE_DEFAULT_MEMSTATUS] compile-time option. ** the [SQLITE_DEFAULT_MEMSTATUS] compile-time option.
** <li> An alternative page cache implementation is specifed using ** <li> An alternative page cache implementation is specified using
** [sqlite3_config]([SQLITE_CONFIG_PCACHE],...). ** [sqlite3_config]([SQLITE_CONFIG_PCACHE],...).
** <li> The page cache allocates from its own memory pool supplied ** <li> The page cache allocates from its own memory pool supplied
** by [sqlite3_config]([SQLITE_CONFIG_PAGECACHE],...) rather than ** by [sqlite3_config]([SQLITE_CONFIG_PAGECACHE],...) rather than
@@ -4565,7 +4565,7 @@ typedef struct sqlite3_module sqlite3_module;
** CAPI3REF: Virtual Table Object ** CAPI3REF: Virtual Table Object
** KEYWORDS: sqlite3_module {virtual table module} ** KEYWORDS: sqlite3_module {virtual table module}
** **
** This structure, sometimes called a a "virtual table module", ** This structure, sometimes called a "virtual table module",
** defines the implementation of a [virtual tables]. ** defines the implementation of a [virtual tables].
** This structure consists mostly of methods for the module. ** This structure consists mostly of methods for the module.
** **
@@ -4877,7 +4877,7 @@ typedef struct sqlite3_blob sqlite3_blob;
** This is true if any column of the row is changed, even a column ** This is true if any column of the row is changed, even a column
** other than the one the BLOB handle is open on.)^ ** other than the one the BLOB handle is open on.)^
** ^Calls to [sqlite3_blob_read()] and [sqlite3_blob_write()] for ** ^Calls to [sqlite3_blob_read()] and [sqlite3_blob_write()] for
** a expired BLOB handle fail with an return code of [SQLITE_ABORT]. ** an expired BLOB handle fail with a return code of [SQLITE_ABORT].
** ^(Changes written into a BLOB prior to the BLOB expiring are not ** ^(Changes written into a BLOB prior to the BLOB expiring are not
** rolled back by the expiration of the BLOB. Such changes will eventually ** rolled back by the expiration of the BLOB. Such changes will eventually
** commit if the transaction continues to completion.)^ ** commit if the transaction continues to completion.)^