shane
05eaf73c8c
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
2008-05-20 14:01:59 +00:00
shane
facbc288e3
Updated test case for Windows to get around problems in ticket #3129 . (CVS 5146)
...
FossilOrigin-Name: 2faf69ca1da43f8083b96675a4886648f10177d8
2008-05-20 13:17:28 +00:00
danielk1977
71aa7fff2d
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
2008-05-20 07:05:09 +00:00
drh
f50bebf0ec
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
2008-05-19 23:51:55 +00:00
shane
cf77a45a10
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
2008-05-19 20:11:39 +00:00
drh
4b81592a28
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
2008-05-19 15:54:59 +00:00
drh
9a855cf852
In the CLI, handle the compilation option -DOS_OS2=0 correctly. (CVS 5141)
...
FossilOrigin-Name: 70793be63c0c6dab42d48c096e0e051e37d7e788
2008-05-19 15:53:34 +00:00
shane
8ef4263135
Added test cases for corrupt 2-10 byte SerialTypeLen values. (CVS 5140)
...
FossilOrigin-Name: 97ed2dd1dc9d8e8f837914277c080160d319591b
2008-05-19 15:37:10 +00:00
danielk1977
2d1a8d2fe6
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
2008-05-16 15:40:40 +00:00
danielk1977
1e740c6f88
Check that the encoding of values passed to sqlite3_bind_value() matches that of the database. (CVS 5138)
...
FossilOrigin-Name: e94a2883060b9ef59809ff4de9525d897d95546c
2008-05-16 15:24:58 +00:00
danielk1977
822a51628f
Add more version tags to files that lack them. Ticket #3120 . (CVS 5137)
...
FossilOrigin-Name: 81a8c70ed7a86abf286706fdbc251f31c9c53382
2008-05-16 04:51:54 +00:00
drh
6c3af6e383
Add version tag comments to source files that lack them.
...
Tickets #3118 and #3119 . (CVS 5136)
FossilOrigin-Name: cf1fb2d850c3eebc2f92159a156695b61f023202
2008-05-15 19:43:52 +00:00
danielk1977
59a93791ce
Add the "page_count" pragma. Returns a single integer - the number of pages in the specified database file. (CVS 5135)
...
FossilOrigin-Name: eb6985e69ce2a5e5e7361f6226d1cfc547fd441d
2008-05-15 17:48:20 +00:00
danielk1977
dad31b5e11
If a pager is already in the error-state when CommitPhaseOne() is called, exit early. (CVS 5134)
...
FossilOrigin-Name: 443cf1056c73ae89d0efcc7a462455c078b3a4a8
2008-05-15 11:08:07 +00:00
danielk1977
28bbd22307
Fix a test script bug - not all database handles were being closed by ioerr5.test. (CVS 5133)
...
FossilOrigin-Name: 47652e7b169626e5f3d95f29e867a2e8f68c5025
2008-05-15 09:07:55 +00:00
danielk1977
c41cc395c5
Do not write pages to disk to free memory after an IO error occurs. (CVS 5132)
...
FossilOrigin-Name: 10ea8287d090ae610416b4754c0838f13b51fd78
2008-05-15 08:34:54 +00:00
drh
729414c448
Version 3.5.9 (CVS 5131)
...
FossilOrigin-Name: b6129f4cc28f6ba55d19039545555b33857ffd72
2008-05-14 16:18:10 +00:00
shane
d3638aef0b
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
2008-05-13 19:41:53 +00:00
drh
cec3e3eeaa
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
2008-05-13 16:41:50 +00:00
drh
4873d5f614
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
2008-05-13 13:27:33 +00:00
drh
d138c0168f
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
2008-05-13 00:58:18 +00:00
drh
866108f802
Update the autoconf makefile so that it includes -lpthread. (CVS 5126)
...
FossilOrigin-Name: bd654ebdbe752b44f801726eea16f40aa27df920
2008-05-13 00:57:21 +00:00
pweilbacher
8bf23da5a3
check that DosWrite() was successful before trying again (CVS 5125)
...
FossilOrigin-Name: 1ef6458bee4f0f77ded7c532f196d4c876ec9649
2008-05-12 16:56:13 +00:00
drh
498b87676b
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
2008-05-12 16:17:42 +00:00
danielk1977
47cd39c9d2
Temporarily disable extended IO error code tests. (CVS 5123)
...
FossilOrigin-Name: f204df3c3161ebe4f2c581715d708d0f35635c08
2008-05-12 12:41:15 +00:00
drh
c3dbdeddb4
Fix typo in documentation of sqlite3_step(). Ticket #3110 . (CVS 5122)
...
FossilOrigin-Name: 4d397f57c4446b18c5c6faf728d315495e4abf6e
2008-05-12 12:39:55 +00:00
danielk1977
80daec6fcc
Make test function do_ioerr_test more robust. No code changes. (CVS 5121)
...
FossilOrigin-Name: f532692ec91b40fc002af925d2ab8382e3c3b2ca
2008-05-12 10:57:02 +00:00
danielk1977
27467047e9
Modify logging code in test_osinst.c. No changes to production code. (CVS 5120)
...
FossilOrigin-Name: 85c54a16c7aecea3e0e5040ee8aca06d8b6a2b2b
2008-05-12 07:42:20 +00:00
pweilbacher
f19dfc4e0a
Use short timeout for locking operations by default to be more in sync with the other platforms. (CVS 5119)
...
FossilOrigin-Name: d00a015dbcc5a7fc4aa7cb41f9740a712af510ae
2008-05-12 00:32:08 +00:00
pweilbacher
8d4fc83817
Correctly test DosWrite() for failure return code (CVS 5118)
...
FossilOrigin-Name: 3eff0ef2cfe70389bc80a270902702206be178f3
2008-05-12 00:29:41 +00:00
drh
0a66733a29
Use memcpy() instead of casting to copy the content of a long long int
...
into a double. Ticket #3101 . (CVS 5117)
FossilOrigin-Name: 88e12caca99d1d54cfe6228cb0de1eccc93fcc74
2008-05-11 17:22:01 +00:00
drh
a06f17fe2e
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
2008-05-11 11:07:06 +00:00
pweilbacher
d2dadc9647
Fix leaked filename in case DosOpen() fails. (CVS 5115)
...
FossilOrigin-Name: ecc6c739064922937ce66339f74403a0346aeedd
2008-05-09 19:38:24 +00:00
danielk1977
2bb5113ce6
Re-enable tests that were accidentally disabled by (5112). (CVS 5114)
...
FossilOrigin-Name: bf45a3ab7a295dcc399bdcf27965f1684b0a33b8
2008-05-09 18:03:27 +00:00
drh
0f050353e9
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
2008-05-09 18:03:13 +00:00
danielk1977
93f7af97a6
Fix a problem with recovering from an IO error in exclusive-locking mode. (CVS 5112)
...
FossilOrigin-Name: 7a44fb965b3477fb78901939ba35d569e5638c19
2008-05-09 16:57:50 +00:00
drh
7297d1f070
Do not clear the error code or error message in sqlite3_clear_bindings().
...
Ticket #3063 . (CVS 5111)
FossilOrigin-Name: 069f4560107246fdc31e1f15c3ad7d3dae2b9ad8
2008-05-09 14:39:44 +00:00
drh
7382945199
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
2008-05-09 14:17:51 +00:00
drh
8a54f9f05c
Back out check-in (5108). The original isnan() implementation is preferred. Ticket #3101 and #3060 . (CVS 5109)
...
FossilOrigin-Name: 2349ae75dfdd626ed97db99ac6de4bdc5a395008
2008-05-09 13:47:58 +00:00
drh
47d22f6702
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
2008-05-09 03:07:33 +00:00
danielk1977
06fb0400f4
Fix recently introduced bug in tester.tcl. (CVS 5107)
...
FossilOrigin-Name: 4b573d4e7dd8c3417cfdebe7d2885de7bdc522db
2008-05-08 16:51:11 +00:00
danielk1977
374177eb39
Add extra instrumentation to test_osinst.c. Also the --binarylog option to the test scripts. (CVS 5106)
...
FossilOrigin-Name: 8a99efc07f93bc11d21aa501349c81f0fd8abf7b
2008-05-08 15:58:06 +00:00
drh
5284a05316
Use a 6-byte rather than an 8-byte encoding for integers between
...
17592186044416 and 140737488355327. Ticket #3100 . (CVS 5105)
FossilOrigin-Name: 0a4d26dede320d90a39133dce3d76ca3ee1a4ee6
2008-05-08 15:18:10 +00:00
drh
0e666272ff
Increment the version number. (CVS 5104)
...
FossilOrigin-Name: ed06d90d8c4ee70ea6e99359317ac7bc1dcc4828
2008-05-08 13:54:05 +00:00
drh
95ed6bc3e1
Fix the new ioerr4.test so that it plays well with others. (CVS 5103)
...
FossilOrigin-Name: 75df2d3d506abfa4aa4875fb533a5cd160b3f521
2008-05-08 01:11:42 +00:00
danielk1977
df2566a33d
Fix some problems with multi-file transactions in persistent journal mode. (CVS 5102)
...
FossilOrigin-Name: e98a7f87f91c62676f94ad5a0c4980ab929ca79d
2008-05-07 19:11:03 +00:00
shane
2ca8bc08dd
Added test cases for corrupt SerialTypeLen header values, and additional check to improve detection of corrupt values. (CVS 5101)
...
FossilOrigin-Name: 530c6360610f737e85608b23ede2646d69d1bc9a
2008-05-07 18:59:28 +00:00
danielk1977
ea142bb6e6
Modify the header comment in jrnlmode2.test. No code or test changes. (CVS 5100)
...
FossilOrigin-Name: ed728104c8e77a5526a2fcb62fea577940731d90
2008-05-07 15:44:25 +00:00
danielk1977
4acbba5bcc
Change the header comment in jrnlmode4.test. No changes to any code or tests. (CVS 5099)
...
FossilOrigin-Name: 0bf656a401b9fc16b33ecd49a6db9b769156494d
2008-05-07 15:42:24 +00:00
danielk1977
2a8ce735d1
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
2008-05-07 14:49:21 +00:00