Change all instances of "it's" in comments to either "its" or "it is",
as appropriate, in case the comments are ever again read by a pedantic grammarian. Ticket #2840. (CVS 4629) FossilOrigin-Name: 4e91a267febda572e7239f0f1cc66b3102558c36
This commit is contained in:
parent
31da1d796b
commit
85b623f2f9
@ -877,7 +877,7 @@ static char *string_dup_n(const char *s, int n){
|
||||
}
|
||||
|
||||
/* Duplicate a string; the caller must free() the returned string.
|
||||
* (We don't use strdup() since it's not part of the standard C library and
|
||||
* (We don't use strdup() since it is not part of the standard C library and
|
||||
* may not be available everywhere.) */
|
||||
static char *string_dup(const char *s){
|
||||
return string_dup_n(s, strlen(s));
|
||||
@ -3146,7 +3146,7 @@ static int index_update(fulltext_vtab *v, sqlite_int64 iRow,
|
||||
return insertTerms(v, pTerms, iRow, pValues);
|
||||
}
|
||||
|
||||
/* This function implements the xUpdate callback; it's the top-level entry
|
||||
/* This function implements the xUpdate callback; it is the top-level entry
|
||||
* point for inserting, deleting or updating a row in a full-text table. */
|
||||
static int fulltextUpdate(sqlite3_vtab *pVtab, int nArg, sqlite3_value **ppArg,
|
||||
sqlite_int64 *pRowid){
|
||||
|
@ -75,7 +75,7 @@
|
||||
for some applications in some locales, but not all. If more complex
|
||||
processing is required, for example to implement stemming or
|
||||
discard punctuation, this can be done by creating a tokenizer
|
||||
implementation that uses the ICU tokenizer as part of it's implementation.
|
||||
implementation that uses the ICU tokenizer as part of its implementation.
|
||||
|
||||
When using the ICU tokenizer this way, it is safe to overwrite the
|
||||
contents of the strings returned by the xNext() method (see
|
||||
@ -131,4 +131,3 @@
|
||||
|
||||
return sqlite3_finalize(pStmt);
|
||||
}
|
||||
|
||||
|
@ -274,7 +274,7 @@
|
||||
** even with many segments.
|
||||
**
|
||||
** TODO(shess) That said, it would be nice to have a better query-side
|
||||
** argument for MERGE_COUNT of 16. Also, it's possible/likely that
|
||||
** argument for MERGE_COUNT of 16. Also, it is possible/likely that
|
||||
** optimizations to things like doclist merging will swing the sweet
|
||||
** spot around.
|
||||
**
|
||||
@ -694,7 +694,7 @@ static void dlrDestroy(DLReader *pReader){
|
||||
|
||||
#ifndef NDEBUG
|
||||
/* Verify that the doclist can be validly decoded. Also returns the
|
||||
** last docid found because it's convenient in other assertions for
|
||||
** last docid found because it is convenient in other assertions for
|
||||
** DLWriter.
|
||||
*/
|
||||
static void docListValidate(DocListType iType, const char *pData, int nData,
|
||||
@ -1057,7 +1057,7 @@ typedef struct DLCollector {
|
||||
/* TODO(shess) This could also be done by calling plwTerminate() and
|
||||
** dataBufferAppend(). I tried that, expecting nominal performance
|
||||
** differences, but it seemed to pretty reliably be worth 1% to code
|
||||
** it this way. I suspect it's the incremental malloc overhead (some
|
||||
** it this way. I suspect it is the incremental malloc overhead (some
|
||||
** percentage of the plwTerminate() calls will cause a realloc), so
|
||||
** this might be worth revisiting if the DataBuffer implementation
|
||||
** changes.
|
||||
@ -1615,7 +1615,7 @@ static char *string_dup_n(const char *s, int n){
|
||||
}
|
||||
|
||||
/* Duplicate a string; the caller must free() the returned string.
|
||||
* (We don't use strdup() since it's not part of the standard C library and
|
||||
* (We don't use strdup() since it is not part of the standard C library and
|
||||
* may not be available everywhere.) */
|
||||
static char *string_dup(const char *s){
|
||||
return string_dup_n(s, strlen(s));
|
||||
@ -5303,7 +5303,7 @@ static int loadSegmentLeaves(fulltext_vtab *v,
|
||||
/* TODO(shess) The calling code may already know that the end child is
|
||||
** not worth calculating, because the end may be in a later sibling
|
||||
** node. Consider whether breaking symmetry is worthwhile. I suspect
|
||||
** it's not worthwhile.
|
||||
** it is not worthwhile.
|
||||
*/
|
||||
static void getChildrenContaining(const char *pData, int nData,
|
||||
const char *pTerm, int nTerm, int isPrefix,
|
||||
@ -5646,7 +5646,7 @@ static int initPendingTerms(fulltext_vtab *v, sqlite_int64 iDocid){
|
||||
return SQLITE_OK;
|
||||
}
|
||||
|
||||
/* This function implements the xUpdate callback; it's the top-level entry
|
||||
/* This function implements the xUpdate callback; it is the top-level entry
|
||||
* point for inserting, deleting or updating a row in a full-text table. */
|
||||
static int fulltextUpdate(sqlite3_vtab *pVtab, int nArg, sqlite3_value **ppArg,
|
||||
sqlite_int64 *pRowid){
|
||||
|
@ -75,7 +75,7 @@
|
||||
for some applications in some locales, but not all. If more complex
|
||||
processing is required, for example to implement stemming or
|
||||
discard punctuation, this can be done by creating a tokenizer
|
||||
implementation that uses the ICU tokenizer as part of it's implementation.
|
||||
implementation that uses the ICU tokenizer as part of its implementation.
|
||||
|
||||
When using the ICU tokenizer this way, it is safe to overwrite the
|
||||
contents of the strings returned by the xNext() method (see
|
||||
@ -131,4 +131,3 @@
|
||||
|
||||
return sqlite3_finalize(pStmt);
|
||||
}
|
||||
|
||||
|
@ -250,7 +250,7 @@
|
||||
** even with many segments.
|
||||
**
|
||||
** TODO(shess) That said, it would be nice to have a better query-side
|
||||
** argument for MERGE_COUNT of 16. Also, it's possible/likely that
|
||||
** argument for MERGE_COUNT of 16. Also, it is possible/likely that
|
||||
** optimizations to things like doclist merging will swing the sweet
|
||||
** spot around.
|
||||
**
|
||||
@ -682,7 +682,7 @@ static void dlrDestroy(DLReader *pReader){
|
||||
|
||||
#ifndef NDEBUG
|
||||
/* Verify that the doclist can be validly decoded. Also returns the
|
||||
** last docid found because it's convenient in other assertions for
|
||||
** last docid found because it is convenient in other assertions for
|
||||
** DLWriter.
|
||||
*/
|
||||
static void docListValidate(DocListType iType, const char *pData, int nData,
|
||||
@ -1045,7 +1045,7 @@ typedef struct DLCollector {
|
||||
/* TODO(shess) This could also be done by calling plwTerminate() and
|
||||
** dataBufferAppend(). I tried that, expecting nominal performance
|
||||
** differences, but it seemed to pretty reliably be worth 1% to code
|
||||
** it this way. I suspect it's the incremental malloc overhead (some
|
||||
** it this way. I suspect it is the incremental malloc overhead (some
|
||||
** percentage of the plwTerminate() calls will cause a realloc), so
|
||||
** this might be worth revisiting if the DataBuffer implementation
|
||||
** changes.
|
||||
@ -1720,7 +1720,7 @@ static char *string_dup_n(const char *s, int n){
|
||||
}
|
||||
|
||||
/* Duplicate a string; the caller must free() the returned string.
|
||||
* (We don't use strdup() since it's not part of the standard C library and
|
||||
* (We don't use strdup() since it is not part of the standard C library and
|
||||
* may not be available everywhere.) */
|
||||
static char *string_dup(const char *s){
|
||||
return string_dup_n(s, strlen(s));
|
||||
@ -1803,7 +1803,7 @@ typedef struct fulltext_vtab fulltext_vtab;
|
||||
** following query:
|
||||
**
|
||||
** The QueryTerm.iPhrase variable stores the index of the token within
|
||||
** it's phrase, indexed starting at 1, or 1 if the token is not part
|
||||
** its phrase, indexed starting at 1, or 1 if the token is not part
|
||||
** of any phrase.
|
||||
**
|
||||
** For example, the data structure used to represent the following query:
|
||||
@ -5748,7 +5748,7 @@ static int loadSegmentLeaves(fulltext_vtab *v,
|
||||
/* TODO(shess) The calling code may already know that the end child is
|
||||
** not worth calculating, because the end may be in a later sibling
|
||||
** node. Consider whether breaking symmetry is worthwhile. I suspect
|
||||
** it's not worthwhile.
|
||||
** it is not worthwhile.
|
||||
*/
|
||||
static void getChildrenContaining(const char *pData, int nData,
|
||||
const char *pTerm, int nTerm, int isPrefix,
|
||||
@ -6091,7 +6091,7 @@ static int initPendingTerms(fulltext_vtab *v, sqlite_int64 iDocid){
|
||||
return SQLITE_OK;
|
||||
}
|
||||
|
||||
/* This function implements the xUpdate callback; it's the top-level entry
|
||||
/* This function implements the xUpdate callback; it is the top-level entry
|
||||
* point for inserting, deleting or updating a row in a full-text table. */
|
||||
static int fulltextUpdate(sqlite3_vtab *pVtab, int nArg, sqlite3_value **ppArg,
|
||||
sqlite_int64 *pRowid){
|
||||
|
@ -9,7 +9,7 @@
|
||||
** May you share freely, never taking more than you give.
|
||||
**
|
||||
*************************************************************************
|
||||
** $Id: icu.c,v 1.6 2007/06/22 15:21:16 danielk1977 Exp $
|
||||
** $Id: icu.c,v 1.7 2007/12/13 21:54:11 drh Exp $
|
||||
**
|
||||
** This file implements an integration between the ICU library
|
||||
** ("International Components for Unicode", an open-source library
|
||||
@ -298,7 +298,7 @@ static void icuRegexpFunc(sqlite3_context *p, int nArg, sqlite3_value **apArg){
|
||||
|
||||
/*
|
||||
** Implementations of scalar functions for case mapping - upper() and
|
||||
** lower(). Function upper() converts it's input to upper-case (ABC).
|
||||
** lower(). Function upper() converts its input to upper-case (ABC).
|
||||
** Function lower() converts to lower-case (abc).
|
||||
**
|
||||
** ICU provides two types of case mapping, "general" case mapping and
|
||||
|
90
manifest
90
manifest
@ -1,5 +1,5 @@
|
||||
C Fix\sa\smemory\sleak\sthat\scan\soccur\sfollowing\sa\smalloc()\sfailure.\s(CVS\s4628)
|
||||
D 2007-12-13T19:15:03
|
||||
C Change\sall\sinstances\sof\s"it's"\sin\scomments\sto\seither\s"its"\sor\s"it\sis",\nas\sappropriate,\sin\scase\sthe\scomments\sare\sever\sagain\sread\sby\sa\spedantic\ngrammarian.\s\sTicket\s#2840.\s(CVS\s4629)
|
||||
D 2007-12-13T21:54:10
|
||||
F Makefile.arm-wince-mingw32ce-gcc ac5f7b2cef0cd850d6f755ba6ee4ab961b1fadf7
|
||||
F Makefile.in e66cf1239b8009b073156b36f92e68657d4755da
|
||||
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
|
||||
@ -25,7 +25,7 @@ F ext/README.txt 913a7bd3f4837ab14d7e063304181787658b14e1
|
||||
F ext/fts1/README.txt 20ac73b006a70bcfd80069bdaf59214b6cf1db5e
|
||||
F ext/fts1/ft_hash.c 3927bd880e65329bdc6f506555b228b28924921b
|
||||
F ext/fts1/ft_hash.h 1a35e654a235c2c662d3ca0dfc3138ad60b8b7d5
|
||||
F ext/fts1/fts1.c 878951b8e9ee3af6afe918acd047727a9eb2ddce
|
||||
F ext/fts1/fts1.c b964a4e7034612e0eb0bb6713e50ab816a7dc90b
|
||||
F ext/fts1/fts1.h 6060b8f62c1d925ea8356cb1a6598073eb9159a6
|
||||
F ext/fts1/fts1_hash.c 3196cee866edbebb1c0521e21672e6d599965114
|
||||
F ext/fts1/fts1_hash.h 957d378355ed29f672cd5add012ce8b088a5e089
|
||||
@ -36,9 +36,9 @@ F ext/fts1/fulltext.c d935e600d87bc86b7d64f55c7520ea41d6034c5c
|
||||
F ext/fts1/fulltext.h 08525a47852d1d62a0be81d3fc3fe2d23b094efd
|
||||
F ext/fts1/simple_tokenizer.c 1844d72f7194c3fd3d7e4173053911bf0661b70d
|
||||
F ext/fts1/tokenizer.h 0c53421b832366d20d720d21ea3e1f6e66a36ef9
|
||||
F ext/fts2/README.tokenizers 2ff290e0a130f6e7611f2e608cb3b5aaea721abc
|
||||
F ext/fts2/README.tokenizers 21e3684ea5a095b55d70f6878b4ce6af5932dfb7
|
||||
F ext/fts2/README.txt 8c18f41574404623b76917b9da66fcb0ab38328d
|
||||
F ext/fts2/fts2.c 0f978f0c3bd1b993abe902c0a84f303785dbd9fc
|
||||
F ext/fts2/fts2.c cdbace1cafb4486764ddce3f12463e067b7900c9
|
||||
F ext/fts2/fts2.h da5f76c65163301d1068a971fd32f4119e3c95fa
|
||||
F ext/fts2/fts2_hash.c cafebb4620d19684c4c9872530012441df60f503
|
||||
F ext/fts2/fts2_hash.h e283308156018329f042816eb09334df714e105e
|
||||
@ -48,9 +48,9 @@ F ext/fts2/fts2_tokenizer.c 5cec41326fabe65323945a46fa9495ee85c3d5fd
|
||||
F ext/fts2/fts2_tokenizer.h a7e46462d935a314b2682287f12f27530a3ee08e
|
||||
F ext/fts2/fts2_tokenizer1.c 8a545c232bdffafd117c4eeaf59789691909f26a
|
||||
F ext/fts2/mkfts2amal.tcl 974d5d438cb3f7c4a652639262f82418c1e4cff0
|
||||
F ext/fts3/README.tokenizers a97c9a55b3422f6cb04af9de9296fe2447ea4a78
|
||||
F ext/fts3/README.tokenizers 226644a0eab97724e8de83061912e8bb248461b6
|
||||
F ext/fts3/README.txt 8c18f41574404623b76917b9da66fcb0ab38328d
|
||||
F ext/fts3/fts3.c 0992fca534de44c1f72efb080c6cd48726906eab
|
||||
F ext/fts3/fts3.c 7d0bdfa46f1a85759cd4f8480a616963dd825f7a
|
||||
F ext/fts3/fts3.h 3a10a0af180d502cecc50df77b1b22df142817fe
|
||||
F ext/fts3/fts3_hash.c 83e7bb4042106b32811681dd2859b4577a7a6b35
|
||||
F ext/fts3/fts3_hash.h 004b759e1602ff16dfa02fea3ca1c77336ad6798
|
||||
@ -61,7 +61,7 @@ F ext/fts3/fts3_tokenizer.h 7eb79de4f991a77f43c517e209e5fae95dfa7369
|
||||
F ext/fts3/fts3_tokenizer1.c 0a5bcc579f35de5d24a9345d7908dc25ae403ee7
|
||||
F ext/fts3/mkfts3amal.tcl 8282b56f11d008b9fa1f09ad3f7eca513949575e
|
||||
F ext/icu/README.txt 3b130aa66e7a681136f6add198b076a2f90d1e33
|
||||
F ext/icu/icu.c 61a345d8126686aa3487aa8d2d0f68abd655f7a4
|
||||
F ext/icu/icu.c 12e763d288d23b5a49de37caa30737b971a2f1e2
|
||||
F install-sh 9d4de14ab9fb0facae2f48780b874848cbf2f895
|
||||
F ltmain.sh 56abb507100ed2d4261f6dd1653dec3cf4066387
|
||||
F main.mk c7c4fa7703f650f5191dd8d8817c2c6c08144257
|
||||
@ -78,12 +78,12 @@ F sqlite.pc.in 30552343140c53304c2a658c080fbe810cd09ca2
|
||||
F sqlite3.1 6be1ad09113570e1fc8dcaff84c9b0b337db5ffc
|
||||
F sqlite3.def a96c1d0d39362b763d2ddba220a32da41a15c4b4
|
||||
F sqlite3.pc.in abed4664817e1cd500f2276142c71958087c16bc
|
||||
F src/alter.c 451da14ff9ffaceaac2d2a7d866cd67a5903478a
|
||||
F src/alter.c 23d18ec53ef27fcb5e5ae9ca050217231ae15a0d
|
||||
F src/analyze.c fd1a3d756c1a20fca3c505bed0398f4cdca83cb8
|
||||
F src/attach.c a01d55157d46a1234909f3a7f21fb09549c947bd
|
||||
F src/auth.c c8b2ab5c8bad4bd90ed7c294694f48269162c627
|
||||
F src/btmutex.c 5d39da37c9d1282f3c6f9967afae6a34ee36b7ff
|
||||
F src/btree.c 45c65b60efb1eb20edcda08cecbd15279c9e220c
|
||||
F src/btree.c 10cc24011d5602ad332fa8c579a036e678274ee8
|
||||
F src/btree.h 19dcf5ad23c17b98855da548e9a8e3eb4429d5eb
|
||||
F src/btreeInt.h 68ec997e34e426093f706da965c147ece75185b9
|
||||
F src/build.c 580561a0d9e070ff2741f3b115cae51c1ef08260
|
||||
@ -92,8 +92,8 @@ F src/complete.c 4cf68fd75d60257524cbe74f87351b9848399131
|
||||
F src/date.c 49c5a6d2de6c12000905b4d36868b07d3011bbf6
|
||||
F src/delete.c 1f957c4acb2270772c6fab8411459e7dd43d585f
|
||||
F src/experimental.c 1b2d1a6cd62ecc39610e97670332ca073c50792b
|
||||
F src/expr.c 7c8e3295ddeb835ed081b8573caaf8c3fd7c9f9c
|
||||
F src/func.c 9c87ddf907e72ac1990146ff2d68dce21d68b419
|
||||
F src/expr.c 045ba74471616f5d619ae95194cb4b9cbbe36cee
|
||||
F src/func.c 996071cf0af9d967e58b69fce1909555059ebc7d
|
||||
F src/hash.c 45a7005aac044b6c86bd7e49c44bc15d30006d6c
|
||||
F src/hash.h 031cd9f915aff27e12262cb9eb570ac1b8326b53
|
||||
F src/insert.c c7e1867a6a162c074d47786f1f0152b9583e8c01
|
||||
@ -116,38 +116,38 @@ F src/mutex_w32.c 6e197765f283815496193e78e9548b5d0e53b68e
|
||||
F src/os.c 8360932f1450b2b45edb608a3b184b031f7d00cc
|
||||
F src/os.h d04706d54a072c7a30ab9e346ad916ef28c842d5
|
||||
F src/os_common.h 98862f120ca6bf7a48ce8b16f158b77d00bc9d2f
|
||||
F src/os_os2.c 98f5486f033a98406ac10619b2dde21aac9ff75e
|
||||
F src/os_os2.c b88b833ff1a79f269c02a27f0ff1334e169d7cb9
|
||||
F src/os_os2.h c3f7d0af7e3453d1d7aa81b06c0a56f5a226530b
|
||||
F src/os_test.c 49833426101f99aee4bb5f6a44b7c4b2029fda1c
|
||||
F src/os_test.h 903c93554c23d88f34f667f1979e4a1cee792af3
|
||||
F src/os_unix.c 10641ed959b960915deaf2d053105e1ee9849d88
|
||||
F src/os_unix.c 4e67737fec1d1c950e9c3723b424829f7bc22fc9
|
||||
F src/os_unix.h 5768d56d28240d3fe4537fac08cc85e4fb52279e
|
||||
F src/os_win.c 737fe6858340982054c22bde0c3cff7622c9dc44
|
||||
F src/os_win.c c832d528ea774c7094d887749d71884984c9034c
|
||||
F src/os_win.h 41a946bea10f61c158ce8645e7646b29d44f122b
|
||||
F src/pager.c 50d373df61a42d9cebbad37dc56dedf03aa0d6b0
|
||||
F src/pager.c 0cb6ccea4b9615627d61d7c4417cedc45776d429
|
||||
F src/pager.h f504f7ae84060fee0416a853e368d3d113c3d6fa
|
||||
F src/parse.y a780b33ef45dd7b3272319cf91e609d6f109a31c
|
||||
F src/pragma.c 0246032dbe681dded8710ac43eaf654eead1434e
|
||||
F src/prepare.c f811fdb6fd4a82cca673a6e1d5b041d6caf567f1
|
||||
F src/pragma.c 2a5f6439994ec1f7ff7f235d4ac9d37c6cc381ed
|
||||
F src/prepare.c 75418527ca84305284ec98974ee9e285088aa7bf
|
||||
F src/printf.c eb27822ba2eec669161409ca31279a24c26ac910
|
||||
F src/random.c 4a22746501bf36b0a088c66e38dde5daba6a35da
|
||||
F src/select.c 7eedf1fc810aa634aa625d07b172f6f1d63126b4
|
||||
F src/select.c e8cfdc85ef317881343292e08dce6aa15708fe13
|
||||
F src/server.c 087b92a39d883e3fa113cae259d64e4c7438bc96
|
||||
F src/shell.c c97be281cfc3dcb14902f45e4b16f20038eb83ff
|
||||
F src/sqlite.h.in b16a7127dad4a3e5b1b26b3d64241f3373aa12ea
|
||||
F src/sqlite.h.in 2a7e3776534bbe6ff2cdc058f3abebe91e7e429f
|
||||
F src/sqlite3ext.h a93f59cdee3638dc0c9c086f80df743a4e68c3cb
|
||||
F src/sqliteInt.h 445530263725d19d6315f137f234aea08ad59303
|
||||
F src/sqliteLimit.h 3657c8eb75addce54a46354a29050a9673845a85
|
||||
F src/sqliteLimit.h e9831389adb60e1d6091d75a4c37322c1efa1684
|
||||
F src/table.c 1aeb9eab57b4235db86fe15a35dec76fb445a9c4
|
||||
F src/tclsqlite.c 9923abeffc9b3d7dad58e92b319661521f60debf
|
||||
F src/test1.c ba01f4b8bb742ec5869167bbc87491eaafb7da3f
|
||||
F src/test1.c 537fea45996bd33d4885c3c1f53761da14011e9b
|
||||
F src/test2.c 77b34303883b9d722c65a6879bb0163a400e3789
|
||||
F src/test3.c df62cd5c971dc1ae0be0a1842f9df3390934e7a6
|
||||
F src/test4.c c2c0f5dc907f1346f5d4b65eb5799f11eb9e4071
|
||||
F src/test5.c 3a6a5717a149d7ca2e6d14f5be72cf7555d54dc4
|
||||
F src/test6.c a9fc983d32d6f262eab300d742e49ff239b0bdbd
|
||||
F src/test7.c acec2256c7c2d279db5a8b5fa1a2a68fcc942c67
|
||||
F src/test8.c f113aa3723a52113d0fa7c28155ecd37e7e04077
|
||||
F src/test8.c 6399d2f0561f1f65785c63e94f2cdd36fb248872
|
||||
F src/test9.c b46c8fe02ac7cca1a7316436d8d38d50c66f4b2f
|
||||
F src/test_async.c 5f21392d66869a4c87dc9153e40d0dc0e085261f
|
||||
F src/test_autoext.c 855157d97aa28cf84233847548bfacda21807436
|
||||
@ -156,19 +156,19 @@ F src/test_config.c fd6ba4c62dd943e794f00f6ea1e9e32d97bf27f1
|
||||
F src/test_hexio.c 1a1cd8324d57585ea86b922f609fa1fbaaf9662d
|
||||
F src/test_loadext.c 22065d601a18878e5542191001f0eaa5d77c0ed8
|
||||
F src/test_malloc.c 72ceed192f7b229db34a2869ff9285b41a5cb796
|
||||
F src/test_md5.c 34599caee5b1c73dcf86ca31f55846fab8c19ef7
|
||||
F src/test_md5.c c107c96637123239c3518b5fbe97a79130f4d32e
|
||||
F src/test_onefile.c d877baba46837587345933376c00c656f58d6fb6
|
||||
F src/test_schema.c 12c9de7661d6294eec2d57afbb52e2af1128084f
|
||||
F src/test_server.c a6ece6c835e7eae835054124e09e947e422b1ac5
|
||||
F src/test_tclvar.c b2d1115e4d489179d3f029e765211b2ad527ba59
|
||||
F src/test_thread.c 84830462132938c6b069a3054d322112d41dffaa
|
||||
F src/test_thread.c e297dd41db0b249646e69f97d36ec13e56e8b730
|
||||
F src/tokenize.c 67e42600ab34f976f2b1288c499ad6c98d652f0e
|
||||
F src/trigger.c 66695e1375b969ea41a38dec9f40ea28bb0ac767
|
||||
F src/update.c 57c07b63410cdd3d14888e33439aa1955a3514c1
|
||||
F src/utf.c ef4b7d83bae533b76c3e1bf635b113fdad86a736
|
||||
F src/util.c 05f31144bbd3f1a24f4139ae029c42545cb72624
|
||||
F src/vacuum.c 25ffbd766f25bca099ead1c1e11f5528c86102b8
|
||||
F src/vdbe.c a6f9fa3b97ffc2afc8625a4540784be0e59981ae
|
||||
F src/vdbe.c cd669cd873e12ec248469b834d183a17bc84491d
|
||||
F src/vdbe.h 79e09ff13b85457abe437d9814454534ebbc1fe3
|
||||
F src/vdbeInt.h 630145b9bfaa19190ab491f52658a7db550f2247
|
||||
F src/vdbeapi.c dd2c43317294e0a013e9f634ee4209a3ea459b43
|
||||
@ -190,7 +190,7 @@ F test/async.test aecaa46ed0618a3c338f3651ca4f10fbb4021044
|
||||
F test/async2.test 8998e089b0fbb3d84cdd51c25a78833486d721af
|
||||
F test/async3.test 9ffa0977a78cc6351862a1583be2b1eecd41736d
|
||||
F test/attach.test 72529edb04115675894a7399609983ea46b73ba6
|
||||
F test/attach2.test 099e46a9a753035ff1b8ec0954e18ea50a934df3
|
||||
F test/attach2.test a295d2d7061adcee5884ef4a93c7c96a82765437
|
||||
F test/attach3.test 7b92dc8e40c1ebca9732ca6f2d3fefbd46f196df
|
||||
F test/attachmalloc.test 56c5e55563dba6d64641ef2f70ce06900df16912
|
||||
F test/auth.test 74b49b669cb6ca022124838ff957e1e11b1a8002
|
||||
@ -219,9 +219,9 @@ F test/btree9.test 5d8711b241145b90f65dd1795d5dd8290846fa5e
|
||||
F test/busy.test 0271c854738e23ad76e10d4096a698e5af29d211
|
||||
F test/cache.test 3ff445c445742a7b6b9ba6e1d62a25263f9424b9
|
||||
F test/capi2.test 3c5066836cbaa9923bcc8282c010aa227bb5efd4
|
||||
F test/capi3.test 1eddefd4db279b7a2a64838cb60322a12a1e89a0
|
||||
F test/capi3.test 432fabf9c6402ed8ff1ae291e01f0e04b64df3ea
|
||||
F test/capi3b.test 664eb55318132f292f2c436f90906f578cad6b97
|
||||
F test/capi3c.test 40dfef274e7b9363cbd15ccfce9ce364b7b097a4
|
||||
F test/capi3c.test 0b089837ee65a17dd73ea171c4dee5d7ea79dabb
|
||||
F test/cast.test c4780b58b569bab4947458195410ae8791ac216b
|
||||
F test/check.test 024ed399600b799160378cf9d9f436bdf5dfd184
|
||||
F test/collate1.test e3eaa48c21e150814be1a7b852d2a8af24458d04
|
||||
@ -272,7 +272,7 @@ F test/fts1e.test 77244843e925560b5a0b70069c3e7ab62f181ed2
|
||||
F test/fts1f.test 2d6cb10d8b7a4e6edc321bbdb3982f1f48774714
|
||||
F test/fts1i.test 6bfe08cdfdced063a39a50c8601da65e6274d879
|
||||
F test/fts1j.test e4c0ffcd0ba2adce09c6b7b43ffd0749b5fda5c7
|
||||
F test/fts1k.test fdf295cb797ba6a2ef81ec41cb98df0ceb2e572c
|
||||
F test/fts1k.test 65d3b41487b9f738d11b0f00eca375c0ca6bd970
|
||||
F test/fts1l.test 15c119ed2362b2b28d5300c0540a6a43eab66c36
|
||||
F test/fts1m.test 2d9ca67b095d49f037a914087cc0a61e89da4f0c
|
||||
F test/fts1n.test a2317dcd27b1d087ee3878b30e0a59c593c98b7a
|
||||
@ -289,9 +289,9 @@ F test/fts2h.test 223af921323b409d4b5b18ff4e51619541b174bb
|
||||
F test/fts2i.test 1b22451d1f13f7c509baec620dc3a4a754885dd6
|
||||
F test/fts2j.test f68d7611f76309bc8b94170f3740d9fbbc061d9b
|
||||
F test/fts2k.test c7ebf4a4937594aa07459e3e1bca1251c1be8659
|
||||
F test/fts2l.test 4c53c89ce3919003765ff4fd8d98ecf724d97dd3
|
||||
F test/fts2l.test 3333336621524cf7d60bb62d6ef6ab69647866ed
|
||||
F test/fts2m.test 4b30142ead6f3ed076e880a2a464064c5ad58c51
|
||||
F test/fts2n.test a70357e72742681eaebfdbe9007b87ff3b771638
|
||||
F test/fts2n.test 12b9c5352128cebd1c6b8395e43788d4b09087c2
|
||||
F test/fts2o.test c6a79567d85403dc4d15b89f3f9799a0a0aef065
|
||||
F test/fts2token.test d8070b241a15ff13592a9ae4a8b7c171af6f445a
|
||||
F test/fts3.test 6ee4c38b0864583c80e82a2d4372f63aae8b10c7
|
||||
@ -306,9 +306,9 @@ F test/fts3ah.test ba181d6a3dee0c929f0d69df67cac9c47cda6bff
|
||||
F test/fts3ai.test d29cee6ed653e30de478066881cec8aa766531b2
|
||||
F test/fts3aj.test 584facbc9ac4381a7ec624bfde677340ffc2a5a4
|
||||
F test/fts3ak.test bd14deafe9d1586e8e9bf032411026ac4f8c925d
|
||||
F test/fts3al.test 00b5cfe4d463e98e15ea1e8123bec2a8574586f4
|
||||
F test/fts3al.test 6d19619402d2133773262652fc3f185cdf6be667
|
||||
F test/fts3am.test 218aa6ba0dfc50c7c16b2022aac5c6be593d08d8
|
||||
F test/fts3an.test 2da4df52fe8ea8389f6fa7a01e4c1a0f091118d6
|
||||
F test/fts3an.test 4b4fdab5abe2f308bdc47f6e822df2bcae30361c
|
||||
F test/fts3ao.test 0aa29dd4fc1c8d46b1f7cfe5926f7ac97551bea9
|
||||
F test/fts3atoken.test 25c2070e1e8755d414bf9c8200427b277a9f99fa
|
||||
F test/fts3b.test b3a25180a633873d37d86e1ccd00ed690d37237a
|
||||
@ -325,7 +325,7 @@ F test/in2.test b1f447f4f0f67e9f83ff931e7e2e30873f9ea055
|
||||
F test/in3.test e335959db24d71d6cfdff9553c90ce2b56fb978c
|
||||
F test/incrblob.test 602dbfa956904d6e58c45635b58850ad0f02d927
|
||||
F test/incrblob_err.test 5273097dc7c97f9b7008423a6ffd5c80d21923cb
|
||||
F test/incrvacuum.test 45ac35d947031526d35fbe70a44f131dedc730b1
|
||||
F test/incrvacuum.test 1ed44535e89a0fa10c48c1aa0a3d48ee72bcc733
|
||||
F test/incrvacuum2.test a958e378c193c4012cb3787804d863487f1dfad1
|
||||
F test/incrvacuum_ioerr.test cb331403b8dea3c5bae6163861ff25037b0df56a
|
||||
F test/index.test e65df12bed94b2903ee89987115e1578687e9266
|
||||
@ -354,13 +354,13 @@ F test/limit.test 2a87b9cb2165abb49ca0ddcf5cb43cf24074581f
|
||||
F test/loadext.test 1911e7365a6d31d77ba00dd3a8a31b7f2111a670
|
||||
F test/loadext2.test 95ca7e2cb03fd3e068de97c3a2fe58dbdfd769e1
|
||||
F test/lock.test 6825aea0b5885578b1b63a3b178803842c4ee9f1
|
||||
F test/lock2.test 5f9557b775662c2a5ee435378f39e10d64f65cb3
|
||||
F test/lock2.test 018b846f6f3b3b695fad07e317b7988442b556f4
|
||||
F test/lock3.test 615111293cf32aa2ed16d01c6611737651c96fb9
|
||||
F test/lock4.test f358fa835dff485d462072eee991111f09e87441
|
||||
F test/main.test 05f585bb70c05caac3e047903b517cbb319ed204
|
||||
F test/malloc.test debc0cb41b7031b316353b949960a70e444fd301
|
||||
F test/malloc2.test 850471731efad72af5a7748e366a371933ff0b64
|
||||
F test/malloc3.test 3d690cbd66c93a3d41606ed8cfcbe1c9853e9d83
|
||||
F test/malloc3.test e484ae14cac9f25e50eb7a6ef59b0d9ef1faecab
|
||||
F test/malloc4.test f0e5e0f639f61e2776a6c3f5308f836b3ad8b3c7
|
||||
F test/malloc5.test 18f3f71756e775a17ce4d0c49d76fb0027dda066
|
||||
F test/malloc6.test d05fd71ef3c5983d10e0a6d728ea4a502a45a9e4
|
||||
@ -386,7 +386,7 @@ F test/misc3.test 7bd937e2c62bcc6be71939faf068d506467b1e03
|
||||
F test/misc4.test 91e8ed25c092c2bb4e0bb01864631e2930f8d7de
|
||||
F test/misc5.test b0b4b7e0dd5d40335c8e849e5738d11a40bddc7c
|
||||
F test/misc6.test 953cc693924d88e6117aeba16f46f0bf5abede91
|
||||
F test/misc7.test 3fbd0a9e3dd03331d9d76acd47bc179e1a97e15e
|
||||
F test/misc7.test b7f829bc371981503de5229683c078e793c39c96
|
||||
F test/misuse.test 30b3a458e5a70c31e74c291937b6c82204c59f33
|
||||
F test/notnull.test 44d600f916b770def8b095a9962dbe3be5a70d82
|
||||
F test/null.test a8b09b8ed87852742343b33441a9240022108993
|
||||
@ -419,7 +419,7 @@ F test/select5.test 0b47058d3e916c1fc9fe81f44b438e02bade21ce
|
||||
F test/select6.test 399f14b9ba37b768afe5d2cd8c12e4f340a69db8
|
||||
F test/select7.test 7906735805cfbee4dddc0bed4c14e68d7f5f9c5f
|
||||
F test/server1.test f5b790d4c0498179151ca8a7715a65a7802c859c
|
||||
F test/shared.test 56d006ab6a9f1ed9a0dcc642e34ed6d366c3c90f
|
||||
F test/shared.test 9a1e81629efaebaad2247e9e81aa33570fba8f13
|
||||
F test/shared2.test 0ee9de8964d70e451936a48c41cb161d9134ccf4
|
||||
F test/shared3.test 01e3e124dbb3859788aabc7cfb82f7ea04421749
|
||||
F test/shared_err.test bfe49fbbf26746a3c05255b1dc7230744182b744
|
||||
@ -502,7 +502,7 @@ F test/vacuum.test cf839fc3ff24d601057319bbb5c700ce9c8e0fb0
|
||||
F test/vacuum2.test bbd8412d74e8da5657ac4b43d05097bd6d9d749e
|
||||
F test/varint.test ab7b110089a08b9926ed7390e7e97bdefeb74102
|
||||
F test/view.test 7e15fa1ba3267ddaa9ae96b6daf519f23f95b43e
|
||||
F test/vtab1.test 9e0d27cf0a9ed38a268334a18c5098047c3b2200
|
||||
F test/vtab1.test bd905d1d43637a700308da6ffcc4e014c27e2f0a
|
||||
F test/vtab2.test 94bb3bf691ac10e34cf7dad46b1cf94b861d513c
|
||||
F test/vtab3.test f38d6d7d19f08bffdadce4d5b8cba078f8118587
|
||||
F test/vtab4.test a9d7104d41a787754a734740d7aa61c807a69f87
|
||||
@ -512,7 +512,7 @@ F test/vtab7.test a8c3c3cb3eb60be364991bd714e4927e26c4cd85
|
||||
F test/vtab8.test e19fa4a538fcd1bb66c22825fa8f71618fb13583
|
||||
F test/vtab9.test ea58d2b95d61955f87226381716b2d0b1d4e4f9b
|
||||
F test/vtabA.test 9cb6b1afead6fdd91bbdf1ca65c44ccfd9b10936
|
||||
F test/vtab_alter.test b0c0f61a9588b509c2ba20dedc2db04999da6656
|
||||
F test/vtab_alter.test 3a299749fee97ca3d53bd55717f536e4a2284856
|
||||
F test/vtab_err.test 0d4d8eb4def1d053ac7c5050df3024fd47a3fbd8
|
||||
F test/vtab_shared.test d631d1f820c38c18939d53aab1fc35db5f0a8094
|
||||
F test/where.test 5ff4a1bda6352b73354faf1a97706bbfa0d47dfe
|
||||
@ -600,7 +600,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
|
||||
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
|
||||
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
|
||||
F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
|
||||
P 6129fce873da5adb05473129e610198a30e43ac8
|
||||
R c94e2287b85c030d5ecb43fa975ab920
|
||||
U danielk1977
|
||||
Z 18c07b61bb74a95bf1b1340e5ca961dc
|
||||
P 993a213024964f4411a9c25c10810543c8089d07
|
||||
R 22708bddd0f834ba6f15107d672277c5
|
||||
U drh
|
||||
Z 2dc3963a41d285ba0556b60d69ae1106
|
||||
|
@ -1 +1 @@
|
||||
993a213024964f4411a9c25c10810543c8089d07
|
||||
4e91a267febda572e7239f0f1cc66b3102558c36
|
@ -12,7 +12,7 @@
|
||||
** This file contains C code routines that used to generate VDBE code
|
||||
** that implements the ALTER TABLE command.
|
||||
**
|
||||
** $Id: alter.c,v 1.34 2007/12/13 08:15:31 danielk1977 Exp $
|
||||
** $Id: alter.c,v 1.35 2007/12/13 21:54:11 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include <ctype.h>
|
||||
@ -69,7 +69,7 @@ static void renameTableFunc(
|
||||
tname.n = len;
|
||||
|
||||
/* Advance zCsr to the next token. Store that token type in 'token',
|
||||
** and it's length in 'len' (to be used next iteration of this loop).
|
||||
** and its length in 'len' (to be used next iteration of this loop).
|
||||
*/
|
||||
do {
|
||||
zCsr += len;
|
||||
@ -127,7 +127,7 @@ static void renameTriggerFunc(
|
||||
tname.n = len;
|
||||
|
||||
/* Advance zCsr to the next token. Store that token type in 'token',
|
||||
** and it's length in 'len' (to be used next iteration of this loop).
|
||||
** and its length in 'len' (to be used next iteration of this loop).
|
||||
*/
|
||||
do {
|
||||
zCsr += len;
|
||||
|
16
src/btree.c
16
src/btree.c
@ -9,7 +9,7 @@
|
||||
** May you share freely, never taking more than you give.
|
||||
**
|
||||
*************************************************************************
|
||||
** $Id: btree.c,v 1.432 2007/12/07 18:55:28 drh Exp $
|
||||
** $Id: btree.c,v 1.433 2007/12/13 21:54:11 drh Exp $
|
||||
**
|
||||
** This file implements a external (disk-based) database using BTrees.
|
||||
** See the header comment on "btreeInt.h" for additional information.
|
||||
@ -350,7 +350,7 @@ static void clearCursorPosition(BtCursor *pCur){
|
||||
** saveCursorPosition().
|
||||
**
|
||||
** If the second argument argument - doSeek - is false, then instead of
|
||||
** returning the cursor to it's saved position, any saved position is deleted
|
||||
** returning the cursor to its saved position, any saved position is deleted
|
||||
** and the cursor state set to CURSOR_INVALID.
|
||||
*/
|
||||
int sqlite3BtreeRestoreOrClearCursorPosition(BtCursor *pCur){
|
||||
@ -2023,7 +2023,7 @@ static int relocatePage(
|
||||
assert( sqlite3_mutex_held(pBt->mutex) );
|
||||
assert( pDbPage->pBt==pBt );
|
||||
|
||||
/* Move page iDbPage from it's current location to page number iFreePage */
|
||||
/* Move page iDbPage from its current location to page number iFreePage */
|
||||
TRACE(("AUTOVACUUM: Moving %d to free page %d (ptr page %d type %d)\n",
|
||||
iDbPage, iFreePage, iPtrPage, eType));
|
||||
rc = sqlite3PagerMovepage(pPager, pDbPage->pDbPage, iFreePage);
|
||||
@ -2897,7 +2897,7 @@ int sqlite3BtreeDataSize(BtCursor *pCur, u32 *pSize){
|
||||
**
|
||||
** Unless pPgnoNext is NULL, the page number of the next overflow
|
||||
** page in the linked list is written to *pPgnoNext. If page ovfl
|
||||
** is the last page in it's linked list, *pPgnoNext is set to zero.
|
||||
** is the last page in its linked list, *pPgnoNext is set to zero.
|
||||
**
|
||||
** If ppPage is not NULL, *ppPage is set to the MemPage* handle
|
||||
** for page ovfl. The underlying pager page may have been requested
|
||||
@ -5220,10 +5220,10 @@ static int balance_nonroot(MemPage *pPage){
|
||||
iSpace += sz;
|
||||
assert( iSpace<=pBt->pageSize*5 );
|
||||
/* Obscure case for non-leaf-data trees: If the cell at pCell was
|
||||
** previously stored on a leaf node, and it's reported size was 4
|
||||
** previously stored on a leaf node, and its reported size was 4
|
||||
** bytes, then it may actually be smaller than this
|
||||
** (see sqlite3BtreeParseCellPtr(), 4 bytes is the minimum size of
|
||||
** any cell). But it's important to pass the correct size to
|
||||
** any cell). But it is important to pass the correct size to
|
||||
** insertCell(), so reparse the cell now.
|
||||
**
|
||||
** Note that this can never happen in an SQLite data file, as all
|
||||
@ -5675,7 +5675,7 @@ int sqlite3BtreeDelete(BtCursor *pCur){
|
||||
return rc;
|
||||
}
|
||||
|
||||
/* Locate the cell within it's page and leave pCell pointing to the
|
||||
/* Locate the cell within its page and leave pCell pointing to the
|
||||
** data. The clearCell() call frees any overflow pages associated with the
|
||||
** cell. The cell itself is still intact.
|
||||
*/
|
||||
@ -6790,7 +6790,7 @@ int sqlite3BtreeIsInReadTrans(Btree *p){
|
||||
|
||||
/*
|
||||
** This function returns a pointer to a blob of memory associated with
|
||||
** a single shared-btree. The memory is used by client code for it's own
|
||||
** a single shared-btree. The memory is used by client code for its own
|
||||
** purposes (for example, to store a high-level schema associated with
|
||||
** the shared-btree). The btree layer manages reference counting issues.
|
||||
**
|
||||
|
@ -12,7 +12,7 @@
|
||||
** This file contains routines used for analyzing expressions and
|
||||
** for generating VDBE code that evaluates expressions in SQLite.
|
||||
**
|
||||
** $Id: expr.c,v 1.318 2007/12/10 05:03:47 danielk1977 Exp $
|
||||
** $Id: expr.c,v 1.319 2007/12/13 21:54:11 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include <ctype.h>
|
||||
@ -1532,7 +1532,7 @@ struct QueryCoder {
|
||||
** This function is used by the implementation of the IN (...) operator.
|
||||
** It's job is to find or create a b-tree structure that may be used
|
||||
** either to test for membership of the (...) set or to iterate through
|
||||
** it's members, skipping duplicates.
|
||||
** its members, skipping duplicates.
|
||||
**
|
||||
** The cursor opened on the structure (database table, database index
|
||||
** or ephermal table) is stored in pX->iTable before this function returns.
|
||||
@ -1551,7 +1551,7 @@ struct QueryCoder {
|
||||
** If the mustBeUnique parameter is false, the structure will be used
|
||||
** for fast set membership tests. In this case an epheremal table must
|
||||
** be used unless <column> is an INTEGER PRIMARY KEY or an index can
|
||||
** be found with <column> as it's left-most column.
|
||||
** be found with <column> as its left-most column.
|
||||
**
|
||||
** If mustBeUnique is true, then the structure will be used to iterate
|
||||
** through the set members, skipping any duplicates. In this case an
|
||||
|
@ -16,7 +16,7 @@
|
||||
** sqliteRegisterBuildinFunctions() found at the bottom of the file.
|
||||
** All other code has file scope.
|
||||
**
|
||||
** $Id: func.c,v 1.180 2007/12/11 04:23:20 danielk1977 Exp $
|
||||
** $Id: func.c,v 1.181 2007/12/13 21:54:11 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include <ctype.h>
|
||||
@ -1172,7 +1172,7 @@ static void test_auxdata(
|
||||
#ifdef SQLITE_TEST
|
||||
/*
|
||||
** A function to test error reporting from user functions. This function
|
||||
** returns a copy of it's first argument as an error.
|
||||
** returns a copy of its first argument as an error.
|
||||
*/
|
||||
static void test_error(
|
||||
sqlite3_context *pCtx,
|
||||
|
@ -542,7 +542,7 @@ static int os2FileControl(sqlite3_file *id, int op, void *pArg){
|
||||
**
|
||||
** SQLite code assumes this function cannot fail. It also assumes that
|
||||
** if two files are created in the same file-system directory (i.e.
|
||||
** a database and it's journal file) that the sector size will be the
|
||||
** a database and its journal file) that the sector size will be the
|
||||
** same for both.
|
||||
*/
|
||||
static int os2SectorSize(sqlite3_file *id){
|
||||
|
@ -128,7 +128,7 @@ struct unixFile {
|
||||
** The DJGPP compiler environment looks mostly like Unix, but it
|
||||
** lacks the fcntl() system call. So redefine fcntl() to be something
|
||||
** that always succeeds. This means that locking does not occur under
|
||||
** DJGPP. But it's DOS - what did you expect?
|
||||
** DJGPP. But it is DOS - what did you expect?
|
||||
*/
|
||||
#ifdef __DJGPP__
|
||||
# define fcntl(A,B,C) 0
|
||||
@ -567,7 +567,7 @@ static sqlite3LockingStyle sqlite3TestLockingStyle(
|
||||
/*
|
||||
** Examines the f_fstypename entry in the statfs structure as returned by
|
||||
** stat() for the file system hosting the database file, assigns the
|
||||
** appropriate locking style based on it's value. These values and
|
||||
** appropriate locking style based on its value. These values and
|
||||
** assignments are based on Darwin/OSX behavior and have not been tested on
|
||||
** other systems.
|
||||
*/
|
||||
@ -2035,7 +2035,7 @@ static int unixFileControl(sqlite3_file *id, int op, void *pArg){
|
||||
**
|
||||
** SQLite code assumes this function cannot fail. It also assumes that
|
||||
** if two files are created in the same file-system directory (i.e.
|
||||
** a database and it's journal file) that the sector size will be the
|
||||
** a database and its journal file) that the sector size will be the
|
||||
** same for both.
|
||||
*/
|
||||
static int unixSectorSize(sqlite3_file *id){
|
||||
|
@ -1009,7 +1009,7 @@ static int winFileControl(sqlite3_file *id, int op, void *pArg){
|
||||
**
|
||||
** SQLite code assumes this function cannot fail. It also assumes that
|
||||
** if two files are created in the same file-system directory (i.e.
|
||||
** a database and it's journal file) that the sector size will be the
|
||||
** a database and its journal file) that the sector size will be the
|
||||
** same for both.
|
||||
*/
|
||||
static int winSectorSize(sqlite3_file *id){
|
||||
|
20
src/pager.c
20
src/pager.c
@ -18,7 +18,7 @@
|
||||
** file simultaneously, or one process from reading the database while
|
||||
** another is writing.
|
||||
**
|
||||
** @(#) $Id: pager.c,v 1.399 2007/12/11 19:34:45 drh Exp $
|
||||
** @(#) $Id: pager.c,v 1.400 2007/12/13 21:54:11 drh Exp $
|
||||
*/
|
||||
#ifndef SQLITE_OMIT_DISKIO
|
||||
#include "sqliteInt.h"
|
||||
@ -47,9 +47,9 @@
|
||||
** The following two macros are used within the PAGERTRACEX() macros above
|
||||
** to print out file-descriptors.
|
||||
**
|
||||
** PAGERID() takes a pointer to a Pager struct as it's argument. The
|
||||
** PAGERID() takes a pointer to a Pager struct as its argument. The
|
||||
** associated file-descriptor is returned. FILEHANDLEID() takes an sqlite3_file
|
||||
** struct as it's argument.
|
||||
** struct as its argument.
|
||||
*/
|
||||
#define PAGERID(p) ((int)(p->fd))
|
||||
#define FILEHANDLEID(fd) ((int)fd)
|
||||
@ -145,7 +145,7 @@ typedef struct PgHdr PgHdr;
|
||||
**
|
||||
** In both cases, the PagerLruList.pFirstSynced variable points to
|
||||
** the first page in the corresponding list that does not require an
|
||||
** fsync() operation before it's memory can be reclaimed. If no such
|
||||
** fsync() operation before its memory can be reclaimed. If no such
|
||||
** page exists, PagerLruList.pFirstSynced is set to NULL.
|
||||
*/
|
||||
typedef struct PagerLruList PagerLruList;
|
||||
@ -1822,7 +1822,7 @@ static int pager_playback(Pager *pPager, int isHot){
|
||||
}
|
||||
|
||||
/* If this is the first header read from the journal, truncate the
|
||||
** database file back to it's original size.
|
||||
** database file back to its original size.
|
||||
*/
|
||||
if( pPager->journalOff==JOURNAL_HDR_SZ(pPager) ){
|
||||
rc = pager_truncate(pPager, mxPg);
|
||||
@ -2486,7 +2486,7 @@ static void clearHistory(PgHistory *pHist){
|
||||
static int syncJournal(Pager*);
|
||||
|
||||
/*
|
||||
** Unlink pPg from it's hash chain. Also set the page number to 0 to indicate
|
||||
** Unlink pPg from its hash chain. Also set the page number to 0 to indicate
|
||||
** that the page is not part of any hash chain. This is required because the
|
||||
** sqlite3PagerMovepage() routine can leave a page in the
|
||||
** pNextFree/pPrevFree list that is not a part of any hash-chain.
|
||||
@ -3343,7 +3343,7 @@ static int pagerSharedLock(Pager *pPager){
|
||||
**
|
||||
** Because the intermediate RESERVED lock is not requested, the
|
||||
** second process will get to this point in the code and fail to
|
||||
** obtain it's own EXCLUSIVE lock on the database file.
|
||||
** obtain its own EXCLUSIVE lock on the database file.
|
||||
*/
|
||||
if( pPager->state<EXCLUSIVE_LOCK ){
|
||||
rc = sqlite3OsLock(pPager->fd, EXCLUSIVE_LOCK);
|
||||
@ -4586,7 +4586,7 @@ sync_exit:
|
||||
if( rc==SQLITE_IOERR_BLOCKED ){
|
||||
/* pager_incr_changecounter() may attempt to obtain an exclusive
|
||||
* lock to spill the cache and return IOERR_BLOCKED. But since
|
||||
* there is no chance the cache is inconsistent, it's
|
||||
* there is no chance the cache is inconsistent, it is
|
||||
* better to return SQLITE_BUSY.
|
||||
*/
|
||||
rc = SQLITE_BUSY;
|
||||
@ -5001,11 +5001,11 @@ int sqlite3PagerMovepage(Pager *pPager, DbPage *pPg, Pgno pgno){
|
||||
assert( pPager->needSync );
|
||||
}
|
||||
|
||||
/* Unlink pPg from it's hash-chain */
|
||||
/* Unlink pPg from its hash-chain */
|
||||
unlinkHashChain(pPager, pPg);
|
||||
|
||||
/* If the cache contains a page with page-number pgno, remove it
|
||||
** from it's hash chain. Also, if the PgHdr.needSync was set for
|
||||
** from its hash chain. Also, if the PgHdr.needSync was set for
|
||||
** page pgno before the 'move' operation, it needs to be retained
|
||||
** for the page moved there.
|
||||
*/
|
||||
|
@ -11,7 +11,7 @@
|
||||
*************************************************************************
|
||||
** This file contains code used to implement the PRAGMA command.
|
||||
**
|
||||
** $Id: pragma.c,v 1.151 2007/12/05 01:38:24 drh Exp $
|
||||
** $Id: pragma.c,v 1.152 2007/12/13 21:54:11 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include <ctype.h>
|
||||
@ -956,7 +956,7 @@ void sqlite3Pragma(
|
||||
** PRAGMA encoding
|
||||
** PRAGMA encoding = "utf-8"|"utf-16"|"utf-16le"|"utf-16be"
|
||||
**
|
||||
** In it's first form, this pragma returns the encoding of the main
|
||||
** In its first form, this pragma returns the encoding of the main
|
||||
** database. If the database is not initialized, it is initialized now.
|
||||
**
|
||||
** The second form of this pragma is a no-op if the main database file
|
||||
|
@ -13,7 +13,7 @@
|
||||
** interface, and routines that contribute to loading the database schema
|
||||
** from disk.
|
||||
**
|
||||
** $Id: prepare.c,v 1.65 2007/11/28 13:43:17 drh Exp $
|
||||
** $Id: prepare.c,v 1.66 2007/12/13 21:54:11 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include <ctype.h>
|
||||
@ -342,7 +342,7 @@ static int sqlite3InitOne(sqlite3 *db, int iDb, char **pzErrMsg){
|
||||
** will attempt to compile the supplied statement against whatever subset
|
||||
** of the schema was loaded before the error occured. The primary
|
||||
** purpose of this is to allow access to the sqlite_master table
|
||||
** even when it's contents have been corrupted.
|
||||
** even when its contents have been corrupted.
|
||||
*/
|
||||
DbSetProperty(db, iDb, DB_SchemaLoaded);
|
||||
rc = SQLITE_OK;
|
||||
|
@ -12,7 +12,7 @@
|
||||
** This file contains C code routines that are called by the parser
|
||||
** to handle SELECT statements in SQLite.
|
||||
**
|
||||
** $Id: select.c,v 1.369 2007/12/13 19:15:03 danielk1977 Exp $
|
||||
** $Id: select.c,v 1.370 2007/12/13 21:54:11 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
|
||||
@ -960,7 +960,7 @@ static void generateColumnTypes(
|
||||
const char *zOrigCol = 0;
|
||||
const char *zType = columnType(&sNC, p, &zOrigDb, &zOrigTab, &zOrigCol);
|
||||
|
||||
/* The vdbe must make it's own copy of the column-type and other
|
||||
/* The vdbe must make its own copy of the column-type and other
|
||||
** column specific strings, in case the schema is reset before this
|
||||
** virtual machine is deleted.
|
||||
*/
|
||||
|
@ -30,7 +30,7 @@
|
||||
** the version number) and changes its name to "sqlite3.h" as
|
||||
** part of the build process.
|
||||
**
|
||||
** @(#) $Id: sqlite.h.in,v 1.277 2007/12/12 12:25:22 drh Exp $
|
||||
** @(#) $Id: sqlite.h.in,v 1.278 2007/12/13 21:54:11 drh Exp $
|
||||
*/
|
||||
#ifndef _SQLITE3_H_
|
||||
#define _SQLITE3_H_
|
||||
@ -2333,7 +2333,7 @@ int sqlite3_finalize(sqlite3_stmt *pStmt);
|
||||
**
|
||||
** The sqlite3_reset() function is called to reset a
|
||||
** [sqlite3_stmt | compiled SQL statement] object.
|
||||
** back to it's initial state, ready to be re-executed.
|
||||
** back to its initial state, ready to be re-executed.
|
||||
** Any SQL statement variables that had values bound to them using
|
||||
** the [sqlite3_bind_blob | sqlite3_bind_*() API] retain their values.
|
||||
** Use [sqlite3_clear_bindings()] to reset the bindings.
|
||||
|
@ -12,7 +12,7 @@
|
||||
**
|
||||
** This file defines various limits of what SQLite can process.
|
||||
**
|
||||
** @(#) $Id: sqliteLimit.h,v 1.4 2007/12/11 20:04:15 drh Exp $
|
||||
** @(#) $Id: sqliteLimit.h,v 1.5 2007/12/13 21:54:11 drh Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -148,7 +148,7 @@
|
||||
** with page size SQLITE_DEFAULT_PAGE_SIZE. However, based on certain
|
||||
** device characteristics (sector-size and atomic write() support),
|
||||
** SQLite may choose a larger value. This constant is the maximum value
|
||||
** SQLite will choose on it's own.
|
||||
** SQLite will choose on its own.
|
||||
*/
|
||||
#ifndef SQLITE_MAX_DEFAULT_PAGE_SIZE
|
||||
# define SQLITE_MAX_DEFAULT_PAGE_SIZE 8192
|
||||
|
@ -13,7 +13,7 @@
|
||||
** is not included in the SQLite library. It is used for automated
|
||||
** testing of the SQLite library.
|
||||
**
|
||||
** $Id: test1.c,v 1.280 2007/11/29 17:05:18 danielk1977 Exp $
|
||||
** $Id: test1.c,v 1.281 2007/12/13 21:54:11 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include "tcl.h"
|
||||
@ -779,7 +779,7 @@ static void sqlite3ExecFunc(
|
||||
** * It calls sqlite3_value_text() 3 times on the argument sqlite3_value*.
|
||||
** If the three pointers returned are not the same an SQL error is raised.
|
||||
**
|
||||
** * Otherwise it returns a copy of the text representation of it's
|
||||
** * Otherwise it returns a copy of the text representation of its
|
||||
** argument in such a way as the VDBE representation is a Mem* cell
|
||||
** with the MEM_Term flag clear.
|
||||
**
|
||||
|
@ -13,7 +13,7 @@
|
||||
** is not included in the SQLite library. It is used for automated
|
||||
** testing of the SQLite library.
|
||||
**
|
||||
** $Id: test8.c,v 1.57 2007/09/03 15:03:21 danielk1977 Exp $
|
||||
** $Id: test8.c,v 1.58 2007/12/13 21:54:11 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include "tcl.h"
|
||||
@ -697,7 +697,7 @@ static void string_concat(char **pzStr, char *zAppend, int doFree, int *pRc){
|
||||
**
|
||||
** then the echo module handles WHERE or ORDER BY clauses that refer
|
||||
** to the column "b", but not "a" or "c". If a multi-column index is
|
||||
** present, only it's left most column is considered.
|
||||
** present, only its left most column is considered.
|
||||
**
|
||||
** This xBestIndex method encodes the proposed search strategy as
|
||||
** an SQL query on the real table underlying the virtual echo module
|
||||
|
@ -269,7 +269,7 @@ static void MD5Final(unsigned char digest[16], MD5Context *pCtx){
|
||||
MD5Transform(ctx->buf, (uint32 *)ctx->in);
|
||||
byteReverse((unsigned char *)ctx->buf, 4);
|
||||
memcpy(digest, ctx->buf, 16);
|
||||
memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
|
||||
memset(ctx, 0, sizeof(ctx)); /* In case it is sensitive */
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -14,7 +14,7 @@
|
||||
** test that sqlite3 database handles may be concurrently accessed by
|
||||
** multiple threads. Right now this only works on unix.
|
||||
**
|
||||
** $Id: test_thread.c,v 1.5 2007/12/13 18:29:36 drh Exp $
|
||||
** $Id: test_thread.c,v 1.6 2007/12/13 21:54:11 drh Exp $
|
||||
*/
|
||||
|
||||
#include "sqliteInt.h"
|
||||
@ -131,7 +131,7 @@ static Tcl_ThreadCreateType tclScriptThread(ClientData pSqlThread){
|
||||
/*
|
||||
** sqlthread spawn VARNAME SCRIPT
|
||||
**
|
||||
** Spawn a new thread with it's own Tcl interpreter and run the
|
||||
** Spawn a new thread with its own Tcl interpreter and run the
|
||||
** specified SCRIPT(s) in it. The thread terminates after running
|
||||
** the script. The result of the script is stored in the variable
|
||||
** VARNAME.
|
||||
|
@ -43,7 +43,7 @@
|
||||
** in this file for details. If in doubt, do not deviate from existing
|
||||
** commenting and indentation practices when changing or adding code.
|
||||
**
|
||||
** $Id: vdbe.c,v 1.659 2007/12/12 22:24:13 drh Exp $
|
||||
** $Id: vdbe.c,v 1.660 2007/12/13 21:54:11 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include <ctype.h>
|
||||
@ -3477,7 +3477,7 @@ case OP_NewRowid: {
|
||||
** If the OPFLAG_NCHANGE flag of P2 is set, then the row change count is
|
||||
** incremented (otherwise not). If the OPFLAG_LASTROWID flag of P2 is set,
|
||||
** then rowid is stored for subsequent return by the
|
||||
** sqlite3_last_insert_rowid() function (otherwise it's unmodified).
|
||||
** sqlite3_last_insert_rowid() function (otherwise it is unmodified).
|
||||
**
|
||||
** Parameter P3 may point to a string containing the table-name, or
|
||||
** may be NULL. If it is not NULL, then the update-hook
|
||||
|
@ -12,7 +12,7 @@
|
||||
# focus of this script is testing the ATTACH and DETACH commands
|
||||
# and related functionality.
|
||||
#
|
||||
# $Id: attach2.test,v 1.37 2007/10/09 08:29:32 danielk1977 Exp $
|
||||
# $Id: attach2.test,v 1.38 2007/12/13 21:54:11 drh Exp $
|
||||
#
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
@ -159,7 +159,7 @@ for {set i 2} {$i<=15} {incr i} {
|
||||
proc lock_status {testnum db expected_result} {
|
||||
# If the database was compiled with OMIT_TEMPDB set, then
|
||||
# the lock_status list will not contain an entry for the temp
|
||||
# db. But the test code doesn't know this, so it's easiest
|
||||
# db. But the test code doesn't know this, so its easiest
|
||||
# to filter it out of the $expected_result list here.
|
||||
ifcapable !tempdb {
|
||||
set expected_result [concat \
|
||||
|
@ -11,7 +11,7 @@
|
||||
# This file implements regression tests for SQLite library. The
|
||||
# focus of this script testing the callback-free C/C++ API.
|
||||
#
|
||||
# $Id: capi3.test,v 1.56 2007/10/23 18:55:50 drh Exp $
|
||||
# $Id: capi3.test,v 1.57 2007/12/13 21:54:11 drh Exp $
|
||||
#
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
@ -917,8 +917,8 @@ do_test capi3-11.21 {
|
||||
sqlite3_finalize $STMT
|
||||
} {SQLITE_OK}
|
||||
|
||||
# The following tests - capi3-12.* - check that it's Ok to start a
|
||||
# transaction while other VMs are active, and that it's Ok to execute
|
||||
# The following tests - capi3-12.* - check that its Ok to start a
|
||||
# transaction while other VMs are active, and that its Ok to execute
|
||||
# atomic updates in the same situation
|
||||
#
|
||||
do_test capi3-12.1 {
|
||||
|
@ -13,7 +13,7 @@
|
||||
# This is a copy of the capi3.test file that has been adapted to
|
||||
# test the new sqlite3_prepare_v2 interface.
|
||||
#
|
||||
# $Id: capi3c.test,v 1.12 2007/09/03 07:31:10 danielk1977 Exp $
|
||||
# $Id: capi3c.test,v 1.13 2007/12/13 21:54:11 drh Exp $
|
||||
#
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
@ -912,8 +912,8 @@ do_test capi3c-11.21 {
|
||||
sqlite3_finalize $STMT
|
||||
} {SQLITE_OK}
|
||||
|
||||
# The following tests - capi3c-12.* - check that it's Ok to start a
|
||||
# transaction while other VMs are active, and that it's Ok to execute
|
||||
# The following tests - capi3c-12.* - check that its Ok to start a
|
||||
# transaction while other VMs are active, and that its Ok to execute
|
||||
# atomic updates in the same situation
|
||||
#
|
||||
do_test capi3c-12.1 {
|
||||
|
@ -6,10 +6,10 @@
|
||||
# This file implements regression tests for SQLite library. The focus
|
||||
# of this script is testing isspace/isalnum/tolower problems with the
|
||||
# FTS1 module. Unfortunately, this code isn't a really principled set
|
||||
# of tests, because it's impossible to know where new uses of these
|
||||
# of tests, because it is impossible to know where new uses of these
|
||||
# functions might appear.
|
||||
#
|
||||
# $Id: fts1k.test,v 1.1 2007/03/29 16:30:41 shess Exp $
|
||||
# $Id: fts1k.test,v 1.2 2007/12/13 21:54:11 drh Exp $
|
||||
#
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
|
@ -6,10 +6,10 @@
|
||||
# This file implements regression tests for SQLite library. The focus
|
||||
# of this script is testing isspace/isalnum/tolower problems with the
|
||||
# FTS2 module. Unfortunately, this code isn't a really principled set
|
||||
# of tests, because it's impossible to know where new uses of these
|
||||
# of tests, because it is impossible to know where new uses of these
|
||||
# functions might appear.
|
||||
#
|
||||
# $Id: fts2l.test,v 1.1 2007/03/29 16:30:41 shess Exp $
|
||||
# $Id: fts2l.test,v 1.2 2007/12/13 21:54:11 drh Exp $
|
||||
#
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
|
@ -6,7 +6,7 @@
|
||||
# This file implements tests for prefix-searching in the fts2
|
||||
# component of the SQLite library.
|
||||
#
|
||||
# $Id: fts2n.test,v 1.1 2007/05/01 18:25:53 shess Exp $
|
||||
# $Id: fts2n.test,v 1.2 2007/12/13 21:54:11 drh Exp $
|
||||
#
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
@ -190,7 +190,7 @@ do_test fts2n-3.1 {
|
||||
# time. Prefix hits can cross leaves, which the code above _should_
|
||||
# hit by virtue of size. There are two variations on this. If the
|
||||
# tree is 2 levels high, the code will find the leaf-node extent
|
||||
# directly, but if it's higher, the code will have to follow two
|
||||
# directly, but if its higher, the code will have to follow two
|
||||
# separate interior branches down the tree. Both should be tested.
|
||||
|
||||
finish_test
|
||||
|
@ -6,10 +6,10 @@
|
||||
# This file implements regression tests for SQLite library. The focus
|
||||
# of this script is testing isspace/isalnum/tolower problems with the
|
||||
# FTS3 module. Unfortunately, this code isn't a really principled set
|
||||
# of tests, because it's impossible to know where new uses of these
|
||||
# of tests, because it is impossible to know where new uses of these
|
||||
# functions might appear.
|
||||
#
|
||||
# $Id: fts3al.test,v 1.1 2007/08/20 17:38:42 shess Exp $
|
||||
# $Id: fts3al.test,v 1.2 2007/12/13 21:54:11 drh Exp $
|
||||
#
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
|
@ -6,7 +6,7 @@
|
||||
# This file implements tests for prefix-searching in the fts3
|
||||
# component of the SQLite library.
|
||||
#
|
||||
# $Id: fts3an.test,v 1.1 2007/08/20 17:38:42 shess Exp $
|
||||
# $Id: fts3an.test,v 1.2 2007/12/13 21:54:11 drh Exp $
|
||||
#
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
@ -190,7 +190,7 @@ do_test fts3an-3.1 {
|
||||
# time. Prefix hits can cross leaves, which the code above _should_
|
||||
# hit by virtue of size. There are two variations on this. If the
|
||||
# tree is 2 levels high, the code will find the leaf-node extent
|
||||
# directly, but if it's higher, the code will have to follow two
|
||||
# directly, but if it is higher, the code will have to follow two
|
||||
# separate interior branches down the tree. Both should be tested.
|
||||
|
||||
finish_test
|
||||
|
@ -14,7 +14,7 @@
|
||||
# Note: There are also some tests for incremental vacuum and IO
|
||||
# errors in incrvacuum_ioerr.test.
|
||||
#
|
||||
# $Id: incrvacuum.test,v 1.15 2007/12/10 05:03:48 danielk1977 Exp $
|
||||
# $Id: incrvacuum.test,v 1.16 2007/12/13 21:54:11 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -298,7 +298,7 @@ set TestScriptList [list {
|
||||
}
|
||||
]
|
||||
|
||||
# If this build omit's subqueries, step 2 in the above list will not
|
||||
# If this build omits subqueries, step 2 in the above list will not
|
||||
# work. Replace it with "" in this case.
|
||||
#
|
||||
ifcapable !subquery { lset TestScriptList 2 "" }
|
||||
|
@ -11,7 +11,7 @@
|
||||
# This file implements regression tests for SQLite library. The
|
||||
# focus of this script is database locks between competing processes.
|
||||
#
|
||||
# $Id: lock2.test,v 1.8 2007/08/12 20:07:59 drh Exp $
|
||||
# $Id: lock2.test,v 1.9 2007/12/13 21:54:11 drh Exp $
|
||||
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
@ -49,7 +49,7 @@ proc testfixture {chan cmd} {
|
||||
# Write the main loop for the child testfixture processes into file
|
||||
# tf_main.tcl. The parent (this script) interacts with the child processes
|
||||
# via a two way pipe. The parent writes a script to the stdin of the child
|
||||
# process, followed by the word "OVER" on a line of it's own. The child
|
||||
# process, followed by the word "OVER" on a line of its own. The child
|
||||
# process evaluates the script and writes the results to stdout, followed
|
||||
# by an "OVER" of its own.
|
||||
set f [open tf_main.tcl w]
|
||||
|
@ -13,7 +13,7 @@
|
||||
# correctly. The emphasis of these tests are the _prepare(), _step() and
|
||||
# _finalize() calls.
|
||||
#
|
||||
# $Id: malloc3.test,v 1.17 2007/10/09 08:29:33 danielk1977 Exp $
|
||||
# $Id: malloc3.test,v 1.18 2007/12/13 21:54:11 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -104,16 +104,16 @@ ifcapable !memdebug {
|
||||
# TEST. Each primitive has a single argument. Primitives are processed in
|
||||
# the order they are specified in the file.
|
||||
#
|
||||
# A TEST primitive specifies a TCL script as it's argument. When a TEST
|
||||
# A TEST primitive specifies a TCL script as its argument. When a TEST
|
||||
# directive is encountered the Tcl script is evaluated. Usually, this Tcl
|
||||
# script contains one or more calls to [do_test].
|
||||
#
|
||||
# A PREP primitive specifies an SQL script as it's argument. When a PREP
|
||||
# A PREP primitive specifies an SQL script as its argument. When a PREP
|
||||
# directive is encountered the SQL is evaluated using database connection
|
||||
# [db].
|
||||
#
|
||||
# The SQL primitives are where the action happens. An SQL primitive must
|
||||
# contain a single, valid SQL statement as it's argument. When an SQL
|
||||
# contain a single, valid SQL statement as its argument. When an SQL
|
||||
# primitive is encountered, it is evaluated one or more times to test the
|
||||
# behaviour of the system when malloc() fails during preparation or
|
||||
# execution of said statement. The Nth time the statement is executed,
|
||||
@ -203,7 +203,7 @@ TEST 2 {
|
||||
} {abc}
|
||||
}
|
||||
|
||||
# Insert a couple of rows into the table. each insert is in it's own
|
||||
# Insert a couple of rows into the table. each insert is in its own
|
||||
# transaction. test that the table is unpopulated before running the inserts
|
||||
# (and hence after each failure of the first insert), and that it has been
|
||||
# populated correctly after the final insert succeeds.
|
||||
|
@ -10,7 +10,7 @@
|
||||
#***********************************************************************
|
||||
# This file implements regression tests for SQLite library.
|
||||
#
|
||||
# $Id: misc7.test,v 1.16 2007/10/05 15:53:29 danielk1977 Exp $
|
||||
# $Id: misc7.test,v 1.17 2007/12/13 21:54:11 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -38,7 +38,7 @@ do_test misc7-4 {
|
||||
list $rc $msg
|
||||
} {1 {unable to open database file}}
|
||||
|
||||
# Try to open a file with a directory where it's journal file should be.
|
||||
# Try to open a file with a directory where its journal file should be.
|
||||
#
|
||||
do_test misc7-5 {
|
||||
file delete mydir
|
||||
|
@ -9,7 +9,7 @@
|
||||
#
|
||||
#***********************************************************************
|
||||
#
|
||||
# $Id: shared.test,v 1.28 2007/10/09 08:29:33 danielk1977 Exp $
|
||||
# $Id: shared.test,v 1.29 2007/12/13 21:54:11 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -574,7 +574,7 @@ do_test shared-$av.7.1 {
|
||||
} {}
|
||||
do_test shared-$av.7.2 {
|
||||
# This test case deletes the contents of table t1 (the one at the start of
|
||||
# the file) while many cursors are open on table t2 and it's index. All of
|
||||
# the file) while many cursors are open on table t2 and its index. All of
|
||||
# the non-root pages will be moved from the end to the start of the file
|
||||
# when the DELETE is committed - this test verifies that moving the pages
|
||||
# does not disturb the open cursors.
|
||||
|
@ -11,7 +11,7 @@
|
||||
# This file implements regression tests for SQLite library. The
|
||||
# focus of this file is creating and dropping virtual tables.
|
||||
#
|
||||
# $Id: vtab1.test,v 1.49 2007/12/10 05:03:48 danielk1977 Exp $
|
||||
# $Id: vtab1.test,v 1.50 2007/12/13 21:54:11 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -953,7 +953,7 @@ do_test vtab1.12-6 {
|
||||
# on a virtual table was causing an assert() to fail in the compiler.
|
||||
#
|
||||
# "IS NULL" clauses should not be passed through to the virtual table
|
||||
# implementation. They are handled by SQLite after the vtab returns it's
|
||||
# implementation. They are handled by SQLite after the vtab returns its
|
||||
# data.
|
||||
#
|
||||
do_test vtab1.13-1 {
|
||||
|
@ -12,7 +12,7 @@
|
||||
# focus of this file is testing the ALTER TABLE ... RENAME TO
|
||||
# command on virtual tables.
|
||||
#
|
||||
# $Id: vtab_alter.test,v 1.2 2007/09/01 18:24:55 danielk1977 Exp $
|
||||
# $Id: vtab_alter.test,v 1.3 2007/12/13 21:54:11 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -62,7 +62,7 @@ do_test vtab_alter-1.6 {
|
||||
catchsql { SELECT * FROM new }
|
||||
} {0 {}}
|
||||
|
||||
# Try to rename an echo table that renames it's base table. Make
|
||||
# Try to rename an echo table that renames its base table. Make
|
||||
# sure nothing terrible happens.
|
||||
#
|
||||
do_test vtab_alter-2.1 {
|
||||
@ -89,7 +89,7 @@ do_test vtab_alter-2.5 {
|
||||
execsql { SELECT * FROM x_base; }
|
||||
} {1 2 3}
|
||||
|
||||
# Cause an error to occur when the echo module renames it's
|
||||
# Cause an error to occur when the echo module renames its
|
||||
# backing store table.
|
||||
#
|
||||
do_test vtab_alter-3.1 {
|
||||
|
Loading…
Reference in New Issue
Block a user