]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
17 years agoFix a bug in the R-Tree documentation. (CVS 5186)
drh [Wed, 4 Jun 2008 14:20:09 +0000 (14:20 +0000)] 
Fix a bug in the R-Tree documentation. (CVS 5186)

FossilOrigin-Name: bb445a4b1fe43d7b3e8546a6510f4e3c3ecb500b

17 years agoAdd "pragma journal_size_limit", used to limit the space consumed by persistent journ...
danielk1977 [Wed, 4 Jun 2008 06:45:59 +0000 (06:45 +0000)] 
Add "pragma journal_size_limit", used to limit the space consumed by persistent journal files left in the file-system after a transaction has concluded in exclusive (or journal_mode=persist) mode. (CVS 5185)

FossilOrigin-Name: 5c59f469d0321c6a2e702ca2c61db012f63aeecc

17 years agoEnsure that vacuum3.test closes all opened database connections. Fix for #3157. ...
danielk1977 [Tue, 3 Jun 2008 07:34:09 +0000 (07:34 +0000)] 
Ensure that vacuum3.test closes all opened database connections. Fix for #3157. (CVS 5184)

FossilOrigin-Name: 654e3b3de8ddeba3e31e9677ec4086e9f73c3598

17 years agoAvoid passing a null pointer to sqlite3SetString in sqlite3RunParser. Fix for #3155...
danielk1977 [Mon, 2 Jun 2008 13:00:33 +0000 (13:00 +0000)] 
Avoid passing a null pointer to sqlite3SetString in sqlite3RunParser. Fix for #3155. (CVS 5183)

FossilOrigin-Name: 03b5e4581a075179c85e8c16b16fd24c151294d3

17 years agoFix typos in comments in vdbe.c. (CVS 5182)
shane [Fri, 30 May 2008 15:59:49 +0000 (15:59 +0000)] 
Fix typos in comments in vdbe.c. (CVS 5182)

FossilOrigin-Name: 0613569424995207c600279c0d2337d5d5a3658c

17 years agoFix typos in comments in sqlite.h.in. (CVS 5181)
shane [Fri, 30 May 2008 15:35:30 +0000 (15:35 +0000)] 
Fix typos in comments in sqlite.h.in. (CVS 5181)

FossilOrigin-Name: 47956f8ee997113a1765d27009504143e518cc69

17 years agoFix typos in comments in where.c. (CVS 5180)
drh [Fri, 30 May 2008 14:58:37 +0000 (14:58 +0000)] 
Fix typos in comments in where.c. (CVS 5180)

FossilOrigin-Name: 7cadb223cb79387a7def7762dc9e42028d14baf3

17 years agoConsolidated inline assembly versions of "hwtime()" into hwtime.h. Provided MSVC...
shane [Thu, 29 May 2008 20:22:37 +0000 (20:22 +0000)] 
Consolidated inline assembly versions of "hwtime()" into hwtime.h.  Provided MSVC version.  Modified code for consistent use of hwtime().  Changed implementation to use sqlite_uint64 and sqlite_int64 instead of unsigned long long int and long long int for MSVC compiler support. (CVS 5179)

FossilOrigin-Name: 19f5f571dd09c91b6e6a3f82857f54bd30791c03

17 years agoConsolidated inline assembly versions of "hwtime()" into hwtime.h. Provided MSVC...
shane [Thu, 29 May 2008 20:22:37 +0000 (20:22 +0000)] 
Consolidated inline assembly versions of "hwtime()" into hwtime.h.  Provided MSVC version.  Modified code for consistent use of hwtime().  Changed implementation to use sqlite_uint64 and sqlite_int64 instead of unsigned long long int and long long int for MSVC compiler support. (CVS 5178)

FossilOrigin-Name: 9883b406ce24eae93942ee5e6aab33fb6b05329f

17 years agoFix cosmetic issues spotted while working on ticket #3146 (CVS 5177)
drh [Thu, 29 May 2008 05:23:41 +0000 (05:23 +0000)] 
Fix cosmetic issues spotted while working on ticket #3146 (CVS 5177)

FossilOrigin-Name: 5f6eab65dba421a736659a6673a51a0e487d68ac

17 years agoMoved check and define for OS_WINCE from os_win.c to os.h (with the other OS_* define...
shane [Thu, 29 May 2008 03:54:26 +0000 (03:54 +0000)] 
Moved check and define for OS_WINCE from os_win.c to os.h (with the other OS_* defines).  This allows OS_WINCE to be available for mutex_w32.c which is included earlier than os_win.c in the almagamation. (CVS 5176)

FossilOrigin-Name: ad6a782e7c408f6c3ebff5f2715c629b75c8002d

17 years agoWhen initializing the sqlite_sequence entry for an AUTOINCREMENT table,
drh [Thu, 29 May 2008 03:20:59 +0000 (03:20 +0000)] 
When initializing the sqlite_sequence entry for an AUTOINCREMENT table,
make sure the value is an reasonable integer even if the initial insert
failed.  Ticket #3148. (CVS 5175)

FossilOrigin-Name: 7e6847852d4517b1d14bebb8f0ae4d938b0b6f6d

17 years agoFix an obsolete comment on the OP_Rowid opcode in the VDBE. (CVS 5174)
drh [Thu, 29 May 2008 03:12:54 +0000 (03:12 +0000)] 
Fix an obsolete comment on the OP_Rowid opcode in the VDBE. (CVS 5174)

FossilOrigin-Name: 0d55328e680e23aae36d8f32a05aa3815393ac1d

17 years agoOmit declaration for functions that are only used by asserts if asserts aren't being...
shane [Thu, 29 May 2008 03:01:23 +0000 (03:01 +0000)] 
Omit declaration for functions that are only used by asserts if asserts aren't being used (NDEBUG). (CVS 5173)

FossilOrigin-Name: 5afc445a0e49def38f198455ffce9266fc8724ad

17 years agoUnused functions in testfixture.exe with certain defines. (CVS 5172)
shane [Thu, 29 May 2008 02:57:47 +0000 (02:57 +0000)] 
Unused functions in testfixture.exe with certain defines. (CVS 5172)

FossilOrigin-Name: 5e3ff1bb37f7fbdc9b1414232bd78f096f89eced

17 years agosqlite3OsDl*() APIs can be omitted if SQLITE_OMIT_LOAD_EXTENSION defined. (CVS 5171)
shane [Thu, 29 May 2008 02:52:59 +0000 (02:52 +0000)] 
sqlite3OsDl*() APIs can be omitted if SQLITE_OMIT_LOAD_EXTENSION defined. (CVS 5171)

FossilOrigin-Name: 7c51a97dc11f20f7323a9dc5c04a3b84380cf8fb

17 years agoUse %llx instead of %x for 64 bit values (this only affects a debugging statement...
shane [Wed, 28 May 2008 18:01:44 +0000 (18:01 +0000)] 
Use %llx instead of %x for 64 bit values (this only affects a debugging statement). (CVS 5170)

FossilOrigin-Name: c81efc97bca58ebbd9500f990f7e45d133e1bd0b

17 years agoUpdate makefile.in so that makefiles generated by configure correctly copy in rtree...
shane [Wed, 28 May 2008 17:31:17 +0000 (17:31 +0000)] 
Update makefile.in so that makefiles generated by configure correctly copy in rtree source files to tsrc. (CVS 5169)

FossilOrigin-Name: e015fa44586b2444c78da413af50787e2690046e

17 years agoAdd another test case to vacuum3.test. (CVS 5168)
danielk1977 [Wed, 28 May 2008 16:00:43 +0000 (16:00 +0000)] 
Add another test case to vacuum3.test. (CVS 5168)

FossilOrigin-Name: d895e85e2f9b595e58562d57226404f72db89a60

17 years agoAdd a test to vacuum3.test to try to trick sqlite into using the wrong database page...
danielk1977 [Wed, 28 May 2008 14:08:17 +0000 (14:08 +0000)] 
Add a test to vacuum3.test to try to trick sqlite into using the wrong database page-size. Turns out there was no problem. (CVS 5167)

FossilOrigin-Name: 281589a22fa481b1dfcae69fc124458d240a0ae1

17 years agoAllow the SQLITE_MAX_EXPR_DEPTH compile-time parameter to be set to 0 in
drh [Wed, 28 May 2008 13:49:34 +0000 (13:49 +0000)] 
Allow the SQLITE_MAX_EXPR_DEPTH compile-time parameter to be set to 0 in
order to disable expression depth checking.  Ticket #3143. (CVS 5166)

FossilOrigin-Name: 5ceef40e397fc535173996404345b93f695e8cac

17 years agoIn test3.c, use type 'u32' instead of 'unsigned int' to remove a warning/error from...
shane [Tue, 27 May 2008 20:17:00 +0000 (20:17 +0000)] 
In test3.c, use type 'u32' instead of 'unsigned int' to remove a warning/error from native x86_64 compile. (CVS 5165)

FossilOrigin-Name: 02447e4e47659d70f014529e9baa3bf8ff75844c

17 years agoUpdated to use localtime_s() in Windows build environments that support it. Ticket...
shane [Tue, 27 May 2008 19:49:21 +0000 (19:49 +0000)] 
Updated to use localtime_s() in Windows build environments that support it.  Ticket #3126. (CVS 5164)

FossilOrigin-Name: 1518827e48bc3a259b6079a5a4b8dca47b265172

17 years agoExplicitly typedef Pgno as 'u32' instead of 'unsigned int' to remove a few warnings...
shane [Tue, 27 May 2008 18:11:44 +0000 (18:11 +0000)] 
Explicitly typedef Pgno as 'u32' instead of 'unsigned int' to remove a few warnings/errors from native x86_64 compile. (CVS 5163)

FossilOrigin-Name: b5fd8a239d787a126f775101760737781751f56e

17 years agoFix a bug in rtree that occurs when too many constraints are passed
drh [Tue, 27 May 2008 00:06:02 +0000 (00:06 +0000)] 
Fix a bug in rtree that occurs when too many constraints are passed
in on a query. (CVS 5162)

FossilOrigin-Name: 54b84a3ddba9d27814c2f613dd197f691ac549a4

17 years agoUse %w instead of %q when constructing shadow table names for rtree. (CVS 5161)
drh [Mon, 26 May 2008 20:49:02 +0000 (20:49 +0000)] 
Use %w instead of %q when constructing shadow table names for rtree. (CVS 5161)

FossilOrigin-Name: 78f4ba974d9b768b62391d8cd2ed407d49584cb8

17 years agoUpdate the amalgamation builder to incorporate the RTREE extension. (CVS 5160)
drh [Mon, 26 May 2008 20:19:25 +0000 (20:19 +0000)] 
Update the amalgamation builder to incorporate the RTREE extension. (CVS 5160)

FossilOrigin-Name: aa8eba3360c31182f5238e96b83a382374f40fab

17 years agoImport 'rtree' extension. (CVS 5159)
danielk1977 [Mon, 26 May 2008 18:41:54 +0000 (18:41 +0000)] 
Import 'rtree' extension. (CVS 5159)

FossilOrigin-Name: b104dcd6adadbd3fe15a348fe9d4d290119e139e

17 years agoFix the LIKE query optimizer so that it works with LIKE patterns
drh [Mon, 26 May 2008 18:33:40 +0000 (18:33 +0000)] 
Fix the LIKE query optimizer so that it works with LIKE patterns
ending in '@%' on NOCASE columns.  Ticket #3139. (CVS 5158)

FossilOrigin-Name: 33548744369643cc8843b74ad1fc1b7d5988d7a4

17 years agoFixed various typos, spelling, grammar, and formatting mistakes. Ticket #3124. ...
shane [Fri, 23 May 2008 17:21:09 +0000 (17:21 +0000)] 
Fixed various typos, spelling, grammar, and formatting mistakes.  Ticket #3124. (CVS 5157)

FossilOrigin-Name: 77d5a7aa1c7ea715298228ed2dbd0497cacbd0e4

17 years agoAdd a test case of preparing a statement with an nBytes parameter of 0
drh [Fri, 23 May 2008 14:49:49 +0000 (14:49 +0000)] 
Add a test case of preparing a statement with an nBytes parameter of 0
and where the previous byte of the string is zero.  Ticket #3134. (CVS 5156)

FossilOrigin-Name: 846a69acb59403438696000b4ffd588ab42b2f95

17 years agoDo not references zSql(-1) if nBytes==0 in sqlite3_prepare().
drh [Fri, 23 May 2008 14:32:18 +0000 (14:32 +0000)] 
Do not references zSql(-1) if nBytes==0 in sqlite3_prepare().
Ticket #3134. (CVS 5155)

FossilOrigin-Name: 2d2c53e5058412a5f484ac2ca5bcef596aed2a7b

17 years agoEnsure that the db.mallocFailed flag is cleared before sqlite3_errmsg16() returns...
danielk1977 [Thu, 22 May 2008 13:56:17 +0000 (13:56 +0000)] 
Ensure that the db.mallocFailed flag is cleared before sqlite3_errmsg16() returns. (CVS 5154)

FossilOrigin-Name: 0d47653a3c39b7cd41c7e6edd8c4b4543658412d

17 years agoAdd the "volatile" keyword to variables in the Pager structure used for
drh [Wed, 21 May 2008 15:38:14 +0000 (15:38 +0000)] 
Add the "volatile" keyword to variables in the Pager structure used for
synchronization when memory management is enabled. (CVS 5153)

FossilOrigin-Name: 25b9f3b9b2d996ab4582b22b695c4dbd94d09cc7

17 years agoUpdate sqlite3_open*() documentation on shared cache/filename matching relationship...
shane [Wed, 21 May 2008 15:01:21 +0000 (15:01 +0000)] 
Update sqlite3_open*() documentation on shared cache/filename matching relationship.  Ticket #3132. (CVS 5152)

FossilOrigin-Name: 235e384eca65d5007e8e0c440904eb254f9b976a

17 years agoFix the VACUUM command so that it does not modify the changes counts
drh [Wed, 21 May 2008 13:44:13 +0000 (13:44 +0000)] 
Fix the VACUUM command so that it does not modify the changes counts
reported by sqlite3_changes() or sqlite3_total_changes().  Update documentation
on sqlite3_changes() and sqlite3_total_changes() to state that
"DELETE FROM table" records a change count of zero. (CVS 5151)

FossilOrigin-Name: f5d61d7d982b58accaf33df4362ce4a5eb79307e

17 years agoFix OS/2 compilation for pre-C99 compilers. (CVS 5150)
pweilbacher [Tue, 20 May 2008 19:08:53 +0000 (19:08 +0000)] 
Fix OS/2 compilation for pre-C99 compilers. (CVS 5150)

FossilOrigin-Name: de8e67182d8f9d1f0b215da93a396b9467604a50

17 years agoCorrections to the documented behavior of sqlite3_last_insert_rowid().
drh [Tue, 20 May 2008 18:43:38 +0000 (18:43 +0000)] 
Corrections to the documented behavior of sqlite3_last_insert_rowid().
(This change is unrelated to the problem reported by Bram de Jong.  That
comes next.) (CVS 5149)

FossilOrigin-Name: 894085a59cdc60c34c8a3eb560d98bcb4a087cb1

17 years agoChanges to the error handling policies of sqlite3_exec() to make them
drh [Tue, 20 May 2008 15:44:30 +0000 (15:44 +0000)] 
Changes to the error handling policies of sqlite3_exec() to make them
more consistent.  Changes to the documentation on the error handling
polices of sqlite3_exec() so that the documentation and code agree. (CVS 5148)

FossilOrigin-Name: a0376c7907db8e2993ce48e484001e981fbbb187

17 years agoAdded more DST boundary checks for 2006 and 2007. Added check for suspect Windows...
shane [Tue, 20 May 2008 14:01:59 +0000 (14:01 +0000)] 
Added more DST boundary checks for 2006 and 2007.  Added check for suspect Windows DST implementations and warning about them.  Ticket #2322. (CVS 5147)

FossilOrigin-Name: 14226ff0a7af7b39a1089a17eeb5bbb8d09d778d

17 years agoUpdated test case for Windows to get around problems in ticket #3129. (CVS 5146)
shane [Tue, 20 May 2008 13:17:28 +0000 (13:17 +0000)] 
Updated test case for Windows to get around problems in ticket #3129. (CVS 5146)

FossilOrigin-Name: 2faf69ca1da43f8083b96675a4886648f10177d8

17 years agoDo not attempt to write a master journal name to the (non-existent) journal file...
danielk1977 [Tue, 20 May 2008 07:05:09 +0000 (07:05 +0000)] 
Do not attempt to write a master journal name to the (non-existent) journal file in "no-journal" mode. Fix for #3127. (CVS 5145)

FossilOrigin-Name: ffd4e50ab9b14fb7b686681c5e7a37b8355bbfca

17 years agoImprovements to API documentation. The sqlite3_exec() function now
drh [Mon, 19 May 2008 23:51:55 +0000 (23:51 +0000)] 
Improvements to API documentation.  The sqlite3_exec() function now
sets the result returned by sqlite3_errcode() when it receives an SQLITE_ABORT. (CVS 5144)

FossilOrigin-Name: f1df19ca17a09ab8d85a4a7eb04f3ce95a6722da

17 years agoSQLite stores native file names and paths for the database file. Under Windows,...
shane [Mon, 19 May 2008 20:11:39 +0000 (20:11 +0000)] 
SQLite stores native file names and paths for the database file.  Under Windows, (file normalize test.db) is expanded using UNIX type path separators which TCL recognizes interchangeably.   However, this means that the path reported by sqlite3_shared_cache_report doesn't match which causes the test case to fail.  Made minor change to test case to hopefully correct this on all platforms. (CVS 5143)

FossilOrigin-Name: 5ef61701398ce75e32cfaea2eacf2c3e80832ca0

17 years agoFix sqlite3Atoi64 to return true if handed a number of all zeros. The
drh [Mon, 19 May 2008 15:54:59 +0000 (15:54 +0000)] 
Fix sqlite3Atoi64 to return true if handed a number of all zeros.  The
failure to do this is benign as sqlite3Atoi64() is current used, but that
might change in the future so it is good to go ahead and fix the function
to return the correct result. (CVS 5142)

FossilOrigin-Name: bc90787583dd2dadff72d516de9720d4a36e7fd2

17 years agoIn the CLI, handle the compilation option -DOS_OS2=0 correctly. (CVS 5141)
drh [Mon, 19 May 2008 15:53:34 +0000 (15:53 +0000)] 
In the CLI, handle the compilation option -DOS_OS2=0 correctly. (CVS 5141)

FossilOrigin-Name: 70793be63c0c6dab42d48c096e0e051e37d7e788

17 years agoAdded test cases for corrupt 2-10 byte SerialTypeLen values. (CVS 5140)
shane [Mon, 19 May 2008 15:37:10 +0000 (15:37 +0000)] 
Added test cases for corrupt 2-10 byte SerialTypeLen values. (CVS 5140)

FossilOrigin-Name: 97ed2dd1dc9d8e8f837914277c080160d319591b

17 years agoDisable the column cache when coding values that will be passed to the xFilter()...
danielk1977 [Fri, 16 May 2008 15:40:40 +0000 (15:40 +0000)] 
Disable the column cache when coding values that will be passed to the xFilter() method of a virtual table, in case the xFilter() implementation modifies the type or encoding of the value. Ticket #3121. (CVS 5139)

FossilOrigin-Name: ecbc0d5deddc0ca0d1d2649e0134ee392266027e

17 years agoCheck that the encoding of values passed to sqlite3_bind_value() matches that of...
danielk1977 [Fri, 16 May 2008 15:24:58 +0000 (15:24 +0000)] 
Check that the encoding of values passed to sqlite3_bind_value() matches that of the database. (CVS 5138)

FossilOrigin-Name: e94a2883060b9ef59809ff4de9525d897d95546c

17 years agoAdd more version tags to files that lack them. Ticket #3120. (CVS 5137)
danielk1977 [Fri, 16 May 2008 04:51:54 +0000 (04:51 +0000)] 
Add more version tags to files that lack them. Ticket #3120. (CVS 5137)

FossilOrigin-Name: 81a8c70ed7a86abf286706fdbc251f31c9c53382

17 years agoAdd version tag comments to source files that lack them.
drh [Thu, 15 May 2008 19:43:52 +0000 (19:43 +0000)] 
Add version tag comments to source files that lack them.
Tickets #3118 and #3119. (CVS 5136)

FossilOrigin-Name: cf1fb2d850c3eebc2f92159a156695b61f023202

17 years agoAdd the "page_count" pragma. Returns a single integer - the number of pages in the...
danielk1977 [Thu, 15 May 2008 17:48:20 +0000 (17:48 +0000)] 
Add the "page_count" pragma. Returns a single integer - the number of pages in the specified database file. (CVS 5135)

FossilOrigin-Name: eb6985e69ce2a5e5e7361f6226d1cfc547fd441d

17 years agoIf a pager is already in the error-state when CommitPhaseOne() is called, exit early...
danielk1977 [Thu, 15 May 2008 11:08:07 +0000 (11:08 +0000)] 
If a pager is already in the error-state when CommitPhaseOne() is called, exit early. (CVS 5134)

FossilOrigin-Name: 443cf1056c73ae89d0efcc7a462455c078b3a4a8

17 years agoFix a test script bug - not all database handles were being closed by ioerr5.test...
danielk1977 [Thu, 15 May 2008 09:07:55 +0000 (09:07 +0000)] 
Fix a test script bug - not all database handles were being closed by ioerr5.test. (CVS 5133)

FossilOrigin-Name: 47652e7b169626e5f3d95f29e867a2e8f68c5025

17 years agoDo not write pages to disk to free memory after an IO error occurs. (CVS 5132)
danielk1977 [Thu, 15 May 2008 08:34:54 +0000 (08:34 +0000)] 
Do not write pages to disk to free memory after an IO error occurs. (CVS 5132)

FossilOrigin-Name: 10ea8287d090ae610416b4754c0838f13b51fd78

17 years agoVersion 3.5.9 (CVS 5131)
drh [Wed, 14 May 2008 16:18:10 +0000 (16:18 +0000)] 
Version 3.5.9 (CVS 5131)

FossilOrigin-Name: b6129f4cc28f6ba55d19039545555b33857ffd72

17 years agoOn instruction from DRH, only do malloc failure tests for O/S ops on non-Windows...
shane [Tue, 13 May 2008 19:41:53 +0000 (19:41 +0000)] 
On instruction from DRH, only do malloc failure tests for O/S ops on non-Windows systems.  Better test fixture code will be introduced in 3.6.0 to add this coverage back in for Windows. (CVS 5130)

FossilOrigin-Name: e4aab150042bd22868ab02645151cb69a1c02ba0

17 years agoDo a slow-path in GetVarint32() for varints that do not fit in 32 bits.
drh [Tue, 13 May 2008 16:41:50 +0000 (16:41 +0000)] 
Do a slow-path in GetVarint32() for varints that do not fit in 32 bits.
This will only happen when trying to interpret a corrupt database file
so speed is not critical. (CVS 5129)

FossilOrigin-Name: 6a6b9437367b66c3b6f710cf3abbdb9841765b21

17 years agoMake the benign-fault setting recursive. Make all malloc failures
drh [Tue, 13 May 2008 13:27:33 +0000 (13:27 +0000)] 
Make the benign-fault setting recursive.  Make all malloc failures
during a rollback benign since there is nothing we can do about them. (CVS 5128)

FossilOrigin-Name: a9d1d931358637a6f039723a053098f65530de4b

17 years agoUpdate the pager so that it does not try to commit a transaction if there
drh [Tue, 13 May 2008 00:58:18 +0000 (00:58 +0000)] 
Update the pager so that it does not try to commit a transaction if there
have been no changes to the database. (CVS 5127)

FossilOrigin-Name: f1ed3689239098e0630e8d61f52971bcdf2801b6

17 years agoUpdate the autoconf makefile so that it includes -lpthread. (CVS 5126)
drh [Tue, 13 May 2008 00:57:21 +0000 (00:57 +0000)] 
Update the autoconf makefile so that it includes -lpthread. (CVS 5126)

FossilOrigin-Name: bd654ebdbe752b44f801726eea16f40aa27df920

17 years agocheck that DosWrite() was successful before trying again (CVS 5125)
pweilbacher [Mon, 12 May 2008 16:56:13 +0000 (16:56 +0000)] 
check that DosWrite() was successful before trying again (CVS 5125)

FossilOrigin-Name: 1ef6458bee4f0f77ded7c532f196d4c876ec9649

17 years agoAdd "b" to fopen() in the hexio tests so that extra carriage returns are
drh [Mon, 12 May 2008 16:17:42 +0000 (16:17 +0000)] 
Add "b" to fopen() in the hexio tests so that extra carriage returns are
not inserted on win32 and OS/2.  Test harness change only - no changes
to the core SQLite code. (CVS 5124)

FossilOrigin-Name: 68cbc6b45c98ebaeca74e1ff5acc3ff7e34f45e9

17 years agoTemporarily disable extended IO error code tests. (CVS 5123)
danielk1977 [Mon, 12 May 2008 12:41:15 +0000 (12:41 +0000)] 
Temporarily disable extended IO error code tests. (CVS 5123)

FossilOrigin-Name: f204df3c3161ebe4f2c581715d708d0f35635c08

17 years agoFix typo in documentation of sqlite3_step(). Ticket #3110. (CVS 5122)
drh [Mon, 12 May 2008 12:39:55 +0000 (12:39 +0000)] 
Fix typo in documentation of sqlite3_step().  Ticket #3110. (CVS 5122)

FossilOrigin-Name: 4d397f57c4446b18c5c6faf728d315495e4abf6e

17 years agoMake test function do_ioerr_test more robust. No code changes. (CVS 5121)
danielk1977 [Mon, 12 May 2008 10:57:02 +0000 (10:57 +0000)] 
Make test function do_ioerr_test more robust. No code changes. (CVS 5121)

FossilOrigin-Name: f532692ec91b40fc002af925d2ab8382e3c3b2ca

17 years agoModify logging code in test_osinst.c. No changes to production code. (CVS 5120)
danielk1977 [Mon, 12 May 2008 07:42:20 +0000 (07:42 +0000)] 
Modify logging code in test_osinst.c. No changes to production code. (CVS 5120)

FossilOrigin-Name: 85c54a16c7aecea3e0e5040ee8aca06d8b6a2b2b

17 years agoUse short timeout for locking operations by default to be more in sync with the other...
pweilbacher [Mon, 12 May 2008 00:32:08 +0000 (00:32 +0000)] 
Use short timeout for locking operations by default to be more in sync with the other platforms. (CVS 5119)

FossilOrigin-Name: d00a015dbcc5a7fc4aa7cb41f9740a712af510ae

17 years agoCorrectly test DosWrite() for failure return code (CVS 5118)
pweilbacher [Mon, 12 May 2008 00:29:41 +0000 (00:29 +0000)] 
Correctly test DosWrite() for failure return code (CVS 5118)

FossilOrigin-Name: 3eff0ef2cfe70389bc80a270902702206be178f3

17 years agoUse memcpy() instead of casting to copy the content of a long long int
drh [Sun, 11 May 2008 17:22:01 +0000 (17:22 +0000)] 
Use memcpy() instead of casting to copy the content of a long long int
into a double.  Ticket #3101. (CVS 5117)

FossilOrigin-Name: 88e12caca99d1d54cfe6228cb0de1eccc93fcc74

17 years agoNew test cases to verify that SQLite handles bound NaN, +Inf, and -Inf
drh [Sun, 11 May 2008 11:07:06 +0000 (11:07 +0000)] 
New test cases to verify that SQLite handles bound NaN, +Inf, and -Inf
floating point values correctly.  Improvements to the text->real conversion
routine so that it generates +Inf and -Inf at appropriate times.
Tickets #3101 and #3060. (CVS 5116)

FossilOrigin-Name: 3ff2f1cdc9c57bca56de6cdc0ad5edc95b0606a0

17 years agoFix leaked filename in case DosOpen() fails. (CVS 5115)
pweilbacher [Fri, 9 May 2008 19:38:24 +0000 (19:38 +0000)] 
Fix leaked filename in case DosOpen() fails. (CVS 5115)

FossilOrigin-Name: ecc6c739064922937ce66339f74403a0346aeedd

17 years agoRe-enable tests that were accidentally disabled by (5112). (CVS 5114)
danielk1977 [Fri, 9 May 2008 18:03:27 +0000 (18:03 +0000)] 
Re-enable tests that were accidentally disabled by (5112). (CVS 5114)

FossilOrigin-Name: bf45a3ab7a295dcc399bdcf27965f1684b0a33b8

17 years agoReformulate the constants for the minimum and maximum 64-bit signed
drh [Fri, 9 May 2008 18:03:13 +0000 (18:03 +0000)] 
Reformulate the constants for the minimum and maximum 64-bit signed
integer to work better with some compilers.  Ticket #3105. (CVS 5113)

FossilOrigin-Name: 18b1ee10b89bd0a98d1986dbb04b9d6cfc3dad39

17 years agoFix a problem with recovering from an IO error in exclusive-locking mode. (CVS 5112)
danielk1977 [Fri, 9 May 2008 16:57:50 +0000 (16:57 +0000)] 
Fix a problem with recovering from an IO error in exclusive-locking mode. (CVS 5112)

FossilOrigin-Name: 7a44fb965b3477fb78901939ba35d569e5638c19

17 years agoDo not clear the error code or error message in sqlite3_clear_bindings().
drh [Fri, 9 May 2008 14:39:44 +0000 (14:39 +0000)] 
Do not clear the error code or error message in sqlite3_clear_bindings().
Ticket #3063. (CVS 5111)

FossilOrigin-Name: 069f4560107246fdc31e1f15c3ad7d3dae2b9ad8

17 years agoFix the ALTER TABLE RENAME algorithm so that it is not confused
drh [Fri, 9 May 2008 14:17:51 +0000 (14:17 +0000)] 
Fix the ALTER TABLE RENAME algorithm so that it is not confused
by comments in the CREATE TABLE statement.  Ticket #3102. (CVS 5110)

FossilOrigin-Name: ab18b4e75916b05863b31bc63625aa64a104a42c

17 years agoBack out check-in (5108). The original isnan() implementation is preferred. Ticket...
drh [Fri, 9 May 2008 13:47:58 +0000 (13:47 +0000)] 
Back out check-in (5108).  The original isnan() implementation is preferred.  Ticket #3101 and #3060. (CVS 5109)

FossilOrigin-Name: 2349ae75dfdd626ed97db99ac6de4bdc5a395008

17 years agoChange the implementation of sqlite3IsNaN() so that it works even if
drh [Fri, 9 May 2008 03:07:33 +0000 (03:07 +0000)] 
Change the implementation of sqlite3IsNaN() so that it works even if
compiled using -ffinite-math-only.  Tickets #3101 and #3060. (CVS 5108)

FossilOrigin-Name: 19ee2b3324461150d2c1600c67fe604114a1b69f

17 years agoFix recently introduced bug in tester.tcl. (CVS 5107)
danielk1977 [Thu, 8 May 2008 16:51:11 +0000 (16:51 +0000)] 
Fix recently introduced bug in tester.tcl. (CVS 5107)

FossilOrigin-Name: 4b573d4e7dd8c3417cfdebe7d2885de7bdc522db

17 years agoAdd extra instrumentation to test_osinst.c. Also the --binarylog option to the test...
danielk1977 [Thu, 8 May 2008 15:58:06 +0000 (15:58 +0000)] 
Add extra instrumentation to test_osinst.c. Also the --binarylog option to the test scripts. (CVS 5106)

FossilOrigin-Name: 8a99efc07f93bc11d21aa501349c81f0fd8abf7b

17 years agoUse a 6-byte rather than an 8-byte encoding for integers between
drh [Thu, 8 May 2008 15:18:10 +0000 (15:18 +0000)] 
Use a 6-byte rather than an 8-byte encoding for integers between
17592186044416 and 140737488355327.  Ticket #3100. (CVS 5105)

FossilOrigin-Name: 0a4d26dede320d90a39133dce3d76ca3ee1a4ee6

17 years agoIncrement the version number. (CVS 5104)
drh [Thu, 8 May 2008 13:54:05 +0000 (13:54 +0000)] 
Increment the version number. (CVS 5104)

FossilOrigin-Name: ed06d90d8c4ee70ea6e99359317ac7bc1dcc4828

17 years agoFix the new ioerr4.test so that it plays well with others. (CVS 5103)
drh [Thu, 8 May 2008 01:11:42 +0000 (01:11 +0000)] 
Fix the new ioerr4.test so that it plays well with others. (CVS 5103)

FossilOrigin-Name: 75df2d3d506abfa4aa4875fb533a5cd160b3f521

17 years agoFix some problems with multi-file transactions in persistent journal mode. (CVS 5102)
danielk1977 [Wed, 7 May 2008 19:11:03 +0000 (19:11 +0000)] 
Fix some problems with multi-file transactions in persistent journal mode. (CVS 5102)

FossilOrigin-Name: e98a7f87f91c62676f94ad5a0c4980ab929ca79d

17 years agoAdded test cases for corrupt SerialTypeLen header values, and additional check to...
shane [Wed, 7 May 2008 18:59:28 +0000 (18:59 +0000)] 
Added test cases for corrupt SerialTypeLen header values, and additional check to improve detection of corrupt values. (CVS 5101)

FossilOrigin-Name: 530c6360610f737e85608b23ede2646d69d1bc9a

17 years agoModify the header comment in jrnlmode2.test. No code or test changes. (CVS 5100)
danielk1977 [Wed, 7 May 2008 15:44:25 +0000 (15:44 +0000)] 
Modify the header comment in jrnlmode2.test. No code or test changes. (CVS 5100)

FossilOrigin-Name: ed728104c8e77a5526a2fcb62fea577940731d90

17 years agoChange the header comment in jrnlmode4.test. No changes to any code or tests. (CVS...
danielk1977 [Wed, 7 May 2008 15:42:24 +0000 (15:42 +0000)] 
Change the header comment in jrnlmode4.test. No changes to any code or tests. (CVS 5099)

FossilOrigin-Name: 0bf656a401b9fc16b33ecd49a6db9b769156494d

17 years agoIf an error occurs within xAccess(), it should return -1. Remove an assert()
danielk1977 [Wed, 7 May 2008 14:49:21 +0000 (14:49 +0000)] 
If an error occurs within xAccess(), it should return -1. Remove an assert()
that was preventing it from doing so. (CVS 5098)

FossilOrigin-Name: 3fbcef46f7b6dcd20c1137692aa5bc0f64eaa3dd

17 years agoAdd a new I/O error test: ioerr4. (CVS 5097)
drh [Wed, 7 May 2008 13:28:38 +0000 (13:28 +0000)] 
Add a new I/O error test: ioerr4. (CVS 5097)

FossilOrigin-Name: c3ab1a7e2e40eb8f51f1b11bf0591e251d69882b

17 years agoFix a null-pointer dereference that can occur following a DISKFULL error
drh [Wed, 7 May 2008 12:45:41 +0000 (12:45 +0000)] 
Fix a null-pointer dereference that can occur following a DISKFULL error
while running VACUUM. (CVS 5096)

FossilOrigin-Name: 438d77a762a6f3cc7438e4d688013cc26e3e9486

17 years agoOmit mutex variables in the pager when threadsafe is disabled. (CVS 5095)
drh [Wed, 7 May 2008 12:29:55 +0000 (12:29 +0000)] 
Omit mutex variables in the pager when threadsafe is disabled. (CVS 5095)

FossilOrigin-Name: d15d0bbab043e4366f7988423115babb550198a1

17 years agoFix a problem causing the database to be truncated to the wrong size after an increme...
danielk1977 [Wed, 7 May 2008 07:13:16 +0000 (07:13 +0000)] 
Fix a problem causing the database to be truncated to the wrong size after an incremental-vacuum is performed on a database in full auto-vacuum mode. (CVS 5094)

FossilOrigin-Name: ed98df24a3362c2d20f52bb1ce679787b3ee408b

17 years agoOnly look for config.h if the autoconf-based build is being used, and don't inline...
mlcreech [Wed, 7 May 2008 02:42:01 +0000 (02:42 +0000)] 
Only look for config.h if the autoconf-based build is being used, and don't inline it into the amalgamation. (CVS 5093)

FossilOrigin-Name: 7df9ef2c8216133d50bf4737482f51193e8579b0

17 years agoFix most remaining testsuite failures on OS/2 by switching to exclusive locks that...
pweilbacher [Tue, 6 May 2008 22:22:11 +0000 (22:22 +0000)] 
Fix most remaining testsuite failures on OS/2 by switching to exclusive locks that we meant to use from the start. (CVS 5092)

FossilOrigin-Name: 5f682c9a68853f33aac6a2ad3f91b1cdf17dcd73

17 years agoThe pathToDel element of the os2File structure should be in the local codepage instea...
pweilbacher [Tue, 6 May 2008 22:15:26 +0000 (22:15 +0000)] 
The pathToDel element of the os2File structure should be in the local codepage instead of UTF-8 to make DosForceDelete() work. (CVS 5091)

FossilOrigin-Name: 76028b5e5d220e1d44667b2fef8bdfc580c913b0

17 years agoRemove delOnClose flag from os2File structure, use pathToDel==NULL for the same check...
pweilbacher [Tue, 6 May 2008 21:42:09 +0000 (21:42 +0000)] 
Remove delOnClose flag from os2File structure, use pathToDel==NULL for the same check. (CVS 5090)

FossilOrigin-Name: 02e123bb9b3da81bc8ee8bab7a2c54bbaadc5123

17 years agoFix a bug whereby the database file was not always being extended to its original...
danielk1977 [Tue, 6 May 2008 18:13:26 +0000 (18:13 +0000)] 
Fix a bug whereby the database file was not always being extended to its original size when rolling back an incremental-vacuum operation. (CVS 5089)

FossilOrigin-Name: 4a1ae9d0320de1013a3b5f24ebdd25fe9fdab424

17 years agoAdd defines for _FILE_OFFSET_BITS and _LARGE_FILES if needed for large file support.
mlcreech [Tue, 6 May 2008 02:28:06 +0000 (02:28 +0000)] 
Add defines for _FILE_OFFSET_BITS and _LARGE_FILES if needed for large file support.
Ticket #3094. (CVS 5088)

FossilOrigin-Name: 729e2f06ba4030cc771fc876ddfd41866b8c0d93

17 years agoAdd AC_SYS_LARGEFILE to ensure large file support, update autotools-related files.
mlcreech [Mon, 5 May 2008 22:52:56 +0000 (22:52 +0000)] 
Add AC_SYS_LARGEFILE to ensure large file support, update autotools-related files.
Ticket #3094. (CVS 5087)

FossilOrigin-Name: 2b1e455c46a184311a3a2e83b4f9345d2e34f497