danielk1977
131c8bc0c2
Ensure that the db.mallocFailed flag is cleared before sqlite3_errmsg16() returns. (CVS 5154)
...
FossilOrigin-Name: 0d47653a3c39b7cd41c7e6edd8c4b4543658412d
2008-05-22 13:56:17 +00:00
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
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
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
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
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
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
danielk1977
47cd39c9d2
Temporarily disable extended IO error code tests. (CVS 5123)
...
FossilOrigin-Name: f204df3c3161ebe4f2c581715d708d0f35635c08
2008-05-12 12:41:15 +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
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
danielk1977
2bb5113ce6
Re-enable tests that were accidentally disabled by (5112). (CVS 5114)
...
FossilOrigin-Name: bf45a3ab7a295dcc399bdcf27965f1684b0a33b8
2008-05-09 18:03:27 +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
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
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
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
drh
ef5a2e189f
Add a new I/O error test: ioerr4. (CVS 5097)
...
FossilOrigin-Name: c3ab1a7e2e40eb8f51f1b11bf0591e251d69882b
2008-05-07 13:28:38 +00:00
danielk1977
0ba32df4f1
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
2008-05-07 07:13:16 +00:00
danielk1977
06e11af9b7
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
2008-05-06 18:13:26 +00:00
danielk1977
0259fbe881
Fix recently introduced test script error causing a failure in incrblob_err.test. (CVS 5086)
...
FossilOrigin-Name: 5e7c8ebd21915382280c146e7070481fa6a92eec
2008-05-05 17:14:53 +00:00
drh
65594045d0
Better error messages when trying to open a large file using a version
...
of SQLite that omits large file support. Tickets #3096 and #3094 . (CVS 5085)
FossilOrigin-Name: bdd89cd231745e6bd498b2751d7ff2cf6169b3eb
2008-05-05 16:56:34 +00:00
danielk1977
52b472aebf
If an IO error occurs while locking the database and checking the cache validity, unlock the database before returning. Ticket #3030 . (CVS 5083)
...
FossilOrigin-Name: 4ad1809192b616d1c12499825bcd0967dea76864
2008-05-05 16:23:55 +00:00
danielk1977
4abd5449e8
Avoid leaking page references after an IO error is encountered. (CVS 5082)
...
FossilOrigin-Name: 198c395b01140ef48b6913c00188ba7168bfb081
2008-05-05 15:26:50 +00:00
danielk1977
43e377af3f
Avoid leaking page references when database corruption is encountered. (CVS 5080)
...
FossilOrigin-Name: 270d47e8d0a20868879a95b66cb547e1e5b642d9
2008-05-05 12:09:32 +00:00
drh
8a9c17f1d5
Make sure that when a connection is blocking on a RESERVED lock that it
...
continues after the lock is released. Ticket #3093 . (CVS 5078)
FossilOrigin-Name: 3dc334aa4a394e85858d2441225d64d73664b5b5
2008-05-02 14:23:54 +00:00
drh
8c23864c17
Add a test case for ticket #3093 . (CVS 5077)
...
FossilOrigin-Name: 288a7655c9a876abf53d92dc6599a9305399d562
2008-05-02 14:08:56 +00:00
drh
71c9cb74ae
Add another test case to verify that ticket #3092 has been fixed. (CVS 5076)
...
FossilOrigin-Name: 1906d2dadcd70053f55e2133af9f838e2d828fa7
2008-05-02 02:00:54 +00:00
drh
b7d636205b
Fix a problem with journal files being created unnecessarily when doing
...
an atomic write in exclusive access locking mode. Fix a test script problem. (CVS 5075)
FossilOrigin-Name: 70e708660fec0b6f6c41efc2e29f1d7ae6785b7e
2008-05-01 18:01:46 +00:00
drh
2eaf93d34f
Always convert IEEE NaN into NULL. Ticket #3060 . Add test cases to verify
...
that this is happening. (CVS 5066)
FossilOrigin-Name: 9b07e59e510e2de39c2081653662fbc654ca6fbb
2008-04-29 00:15:20 +00:00
drh
cd3dd9d343
Add test cases to verify that multiple virtual tables can be updated
...
within a trigger and that xSync, xCommit, and xRollback are never called
except following xBegin or xCreate. Ticket #3083 . (CVS 5064)
FossilOrigin-Name: 76175199ac2fda57e616eb386ba0bad6aa9f74b4
2008-04-28 20:27:53 +00:00
drh
82286fd237
Add tests to create and drop a virtual table during a recursive call from
...
an application-defined function. Ticket #3080 . (CVS 5061)
FossilOrigin-Name: d4d6eff353edd5680776436ab3406227b8c830b3
2008-04-28 17:12:10 +00:00
danielk1977
f51bf48b32
Fix a shared-cache mode problem triggered when sqlite3_open16() was used to open the second or subsequent connections to a utf-8 database. (CVS 5059)
...
FossilOrigin-Name: 20946bf6dd704416c41edd863103e85fc7ab4ef2
2008-04-28 16:19:35 +00:00
drh
d65e530b7c
Changes to test scripts to accommodate different architectures and different
...
versions of Tcl. (CVS 5057)
FossilOrigin-Name: 8eb2c07c520c12c2cd4610596dbec451c8275e95
2008-04-28 13:02:57 +00:00
drh
05a3e474cb
Add test cases to prove that ticket #3082 has been fixed. (CVS 5048)
...
FossilOrigin-Name: 776e7024101dd2eeb29484a36c7e1ac751444ec8
2008-04-25 12:10:15 +00:00
danielk1977
9c9eb741be
Fix a problem with the test scripts caused by not cleaning up the global tcl namespace. (CVS 5044)
...
FossilOrigin-Name: 440492395854a0886ef954ef2ed638bf587c6f03
2008-04-24 12:38:28 +00:00
danielk1977
36961ed23f
Ensure that it is not possible to open either virtual table or view columns using the blob API. Ticket #3078 . (CVS 5041)
...
FossilOrigin-Name: 6039328fe05aaf9380d545e84dfabccb32a4d8ea
2008-04-24 09:49:55 +00:00
drh
5cd6256950
Add some tests for journal_mode=off. Need to come up with a way of handling
...
rollback attempts when there is no journal. (CVS 5034)
FossilOrigin-Name: e29b870ed0db6360a95fb017f56c0b5388efb437
2008-04-19 20:53:26 +00:00