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
drh
16e45a4306
Continuing work on journal_mode. Journal_mode=persist now appears to be
...
working, though additional testing would be welcomed. (CVS 5033)
FossilOrigin-Name: 277e4099cee9105e1801a6d7f5d477f0d2efa858
2008-04-19 20:34:18 +00:00
drh
dafc0ce818
Additional work on ticket #3015 . The previous fix (check-in (4919)) did
...
not appear to work in all cases and it disabled indexing in some places
where it should not have. New test cases added to help insure that the
current fix is better. (CVS 5026)
FossilOrigin-Name: 0d2e258e1a3276e55903ba2ded987f8d8a18cacd
2008-04-17 19:14:02 +00:00
drh
f3a87624a2
In exclusive locking mode, commit by zeroing the first 28 bytes of the
...
journal file, not by truncating the journal. Overwriting is much faster
than truncating. (CVS 5023)
FossilOrigin-Name: 8efb7f4ffbfc3ad901a3bb1b4ff9390b8c13760b
2008-04-17 14:16:42 +00:00
drh
0e0d73c120
Clear a global variable in the incrblob.test script. Ticket #3062 . (CVS 5021)
...
FossilOrigin-Name: 1c19854ae7790a8a1d5c9cfe8b2cb71e2c19ce50
2008-04-16 23:39:26 +00:00
drh
78ddb7ceed
Fix the bind.test test script so that the tests for zeros embedded in
...
strings work correctly for UTF-16 encoded databases. (CVS 5020)
FossilOrigin-Name: 7c094c80b2439480ffc680b2d63031d1033b266a
2008-04-16 16:11:49 +00:00
drh
10dfbbb580
Add tests to verify that strings may use embedded zero characters.
...
Ticket #3056 . (CVS 5018)
FossilOrigin-Name: bb0f9e92e427d4ae8ea143d3d3773c9552e63565
2008-04-16 12:58:53 +00:00
drh
4c68e6d28a
Add speed-test scripts that also show EXPLAIN output. (CVS 5017)
...
FossilOrigin-Name: d11f5dafdaf7c18c43615d0ac018c7d221460244
2008-04-16 12:57:48 +00:00
drh
f93d99990c
Do not attempt to omit unused columns of a view in an instead-of trigger
...
since sometimes those columns can be used in ways that we do not expect.
Ticket #3055 . (CVS 5012)
FossilOrigin-Name: f5fc42e96d36b78797d7fa10b01d22b8501112b1
2008-04-15 14:36:42 +00:00