Commit Graph

4969 Commits

Author SHA1 Message Date
danielk1977
700b9c5a58 Fix an assert() failure that can occur if "journal_mode=off" is used in a build with the atomic-write optimization enabled. (CVS 5043)
FossilOrigin-Name: 709d17b19d343f45aa6c7684685ab58c67d83da0
2008-04-24 12:37:40 +00:00
danielk1977
d7eb2ed5cd Fix a crash that can follow a malloc() failure in malloc7.test. (CVS 5042)
FossilOrigin-Name: 85eedad186327a1f0b0983413b833efd41640d0e
2008-04-24 12:36:35 +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
danielk1977
9eca081c13 Minor change to comment on sqlite3_blob_read(). No code changes. Ticket #3072. (CVS 5040)
FossilOrigin-Name: adb4bc5a7dd56e625b20c48a7416f2b3480f4de1
2008-04-24 08:56:54 +00:00
danielk1977
ecc91f6868 Remove redundant assert() statement from vdbeaux.c. Ticket #3065. (CVS 5039)
FossilOrigin-Name: 3cba1166076bf0506597e2d7686a271922817668
2008-04-24 08:36:51 +00:00
danielk1977
9a9b1564cf Add version comment to vdbeaux.c. No code changes. Ticket #3066. (CVS 5038)
FossilOrigin-Name: d667add44b87f9011b0ef10d45101dfc1e38feaa
2008-04-24 08:31:51 +00:00
pweilbacher
5ff1020dd8 We should better not pass open file handles to child processes, so add respective flag for DosOpen(). (CVS 5037)
FossilOrigin-Name: 1518e8542cebd977d46e720544bfad16d3f8895e
2008-04-23 23:03:10 +00:00
drh
a06ecba2f6 Always sync the journal file after zeroing out the header. (CVS 5036)
FossilOrigin-Name: 5896ae3d68d29dc172c027c72aa2a98ced2b7eb8
2008-04-22 17:15:17 +00:00
danielk1977
a664f8ebd0 Avoid non-contiguous writes when creating a journal header. (CVS 5035)
FossilOrigin-Name: dfacddbb5055b4e104bf536d5f5b35287fbbb904
2008-04-22 14:31:48 +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
981642f389 Comment and variable-name cleanup in where.c. Add testcase() macros to
insure adequate test coverage of table-driven logic. (CVS 5032)

FossilOrigin-Name: adcef73b3925266a14a552cd9b06c14f22aaefc8
2008-04-19 14:40:43 +00:00
drh
1cceeb93ea Fix a typo in the documentation on sqlite3_open_v2(). (CVS 5031)
FossilOrigin-Name: f7b62daa9fe71dc713bde107507fc7bcb812d62b
2008-04-19 14:06:28 +00:00
danielk1977
61dd58391f Remove unused code from OP_IdxLt and OP_IdxGE. (CVS 5030)
FossilOrigin-Name: df02175ec0f28d57942b8275b540ff855dfbeb09
2008-04-18 11:31:12 +00:00
danielk1977
b790c6c596 Combine cases 3 and 4 in where.c, since case 4 is now a special case of case 3. (CVS 5029)
FossilOrigin-Name: 9a976819246eb558ba43429f8889972c4a4bce9d
2008-04-18 10:25:24 +00:00
danielk1977
751de567c1 Allow OP_MoveGt and similar to use an array of registers instead of a serialized record. Modify one type of index range scan to use this. (CVS 5028)
FossilOrigin-Name: c448f15aa5ed3dec511426775e893efea324faa1
2008-04-18 09:01:15 +00:00
drh
fdc40e9156 Continuing progress on the journal_mode pragma. It still does not work. (CVS 5027)
FossilOrigin-Name: 4a72a7bb9c5793cdaf4ee038482053e042d8db54
2008-04-17 20:59:37 +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
a95174bd2f Fix a typo in the documentation for sqlite3_bind_text. Ticket #3056. (CVS 5025)
FossilOrigin-Name: 79571e2c74fa365b7f471428c48e1678375b8c9d
2008-04-17 17:03:25 +00:00
drh
3b02013e73 Add the journal_mode pragma. This is currently just syntax - it is not
operational. (CVS 5024)

FossilOrigin-Name: 8eaa0c71023ac428f6f9f8091341584caa773ab9
2008-04-17 17:02:01 +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
f708cff4c1 Add the -overwrite option to speedtest8.c. (CVS 5022)
FossilOrigin-Name: 6765ea52b33270a323c620b060cffd4f59004db1
2008-04-16 23:50:23 +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
f1c97f4637 Version 3.5.8 (CVS 5019)
FossilOrigin-Name: 6a2e3eb26af63386ce32594e24f1ce5605cd1068
2008-04-16 15:39:31 +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
a0af99f91c Make sure the database connection mutex is held before calling
sqlite3SafetyOn() or sqlite3SafetyOff().  Ticket #3059. (CVS 5016)

FossilOrigin-Name: d35dea059e2cb936e4277f513f036b9b0bdfc4a5
2008-04-16 00:49:12 +00:00
drh
b08c2a72ea Back out the zero-terminator optimization introduced in check-in (4915).
Ticket #3056. (CVS 5015)

FossilOrigin-Name: cce8deae2d556916e2817e0cb9748dceb162085d
2008-04-16 00:28:13 +00:00
pweilbacher
d190be8539 Support UTF-8 filenames on OS/2 by converting them to and from the local codepage. Ticket 3052. (CVS 5014)
FossilOrigin-Name: cafa8ac2687890355a7faa751d71859eb0fadd01
2008-04-15 18:50:02 +00:00
drh
1d3a5ac998 Increment the version number. (CVS 5013)
FossilOrigin-Name: a12fa0252c1bc45a116d0123758ef639cc8e451b
2008-04-15 14:37:51 +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
drh
191b54cb5d Fix a code generator bug caused by the new CSE optimization. Add test cases
to prevent a recurrence. (CVS 5011)

FossilOrigin-Name: d04246a46399e839e70b1bd57e209f80143f0d5b
2008-04-15 12:14:21 +00:00
drh
5f3a367bf3 Fix a bug in the RTRIM collating sequence discovered while working
on condition/decision branch coverage.  Increase test coverage of
the date/time functions. (CVS 5010)

FossilOrigin-Name: c5435f71efa0b34c759bac4a15fdf43abf39ddfc
2008-04-15 04:02:40 +00:00
drh
521cc8494e Add out-of-range tests on the first parameter to sqlite3_limit().
Add the ability to record tests that have been skipped due to
configuration limitations. (CVS 5009)

FossilOrigin-Name: b7ffc6f0f33b14430ab84a6c60110bc07514f056
2008-04-15 02:36:33 +00:00
drh
110af53360 Add a test case to cover the bug fixed in check-in (5007). (CVS 5008)
FossilOrigin-Name: 1863e87c40499ee3d9fd9cba6670e9a0e946d390
2008-04-15 00:01:59 +00:00
drh
4c02a23557 Do not attempt to write to temporary database files that have never
been opened. (CVS 5007)

FossilOrigin-Name: 7bb9a4165afb96043dfeffad21eb51591a1fd2dd
2008-04-14 23:13:45 +00:00
mlcreech
57ee05248d Fix #3053: bashism (CVS 5006)
FossilOrigin-Name: 7217cecee71fbc992acd07b4ac90c1929e2207ae
2008-04-14 22:57:55 +00:00
danielk1977
30f72bf2c5 Fix alignment issue in instrumentation code. (CVS 5005)
FossilOrigin-Name: c9e0d625bcf3ff24229d7f011b4cfbd8d8140d16
2008-04-14 17:42:41 +00:00
danielk1977
a3e5218c6e Do not set the pager to persistent error state if a call to OsAccess() fails. (CVS 5004)
FossilOrigin-Name: aa16eb572915632bfff88d544f9c428ca723346e
2008-04-14 16:37:10 +00:00
drh
1c9f50a277 Make sure the page size in crash6.test does not exceed the maximum
configured page size. (CVS 5003)

FossilOrigin-Name: 36b6610b25997074f398a2f2ddcdd6ace8c83fba
2008-04-14 15:27:19 +00:00
danielk1977
65710b151f Free Mem.z buffers when a vdbe statement is reset. (CVS 5002)
FossilOrigin-Name: 0bedbe092aa3079dc49157a9bcaa7716b00e0bdb
2008-04-14 15:15:22 +00:00
drh
04924d89c7 Cleanup some #ifdefs to make their meaning clearly. No logical changes. (CVS 5001)
FossilOrigin-Name: b8bc5f3a83408375cfbff90e2c574fb8996dfbd9
2008-04-14 14:34:44 +00:00
drh
10b20ef148 Disable auto_vacuum during the vacuum3 test. (CVS 5000)
FossilOrigin-Name: e2e1ca818c5f77abdb423aebe34eea80b2fb84b2
2008-04-14 13:42:39 +00:00
drh
c5d0bd907b Get the SQLITE_SECURE_DELETE compile-time option working again.
Ticket #3050. (CVS 4999)

FossilOrigin-Name: 40ba51fd4c621e29e7ff85495b1212c92f06ab31
2008-04-14 01:00:57 +00:00
mlcreech
ede2627695 Fix build errors in test_osinst (CVS 4998)
FossilOrigin-Name: f047399799798e693ef75c472144f30a0175b662
2008-04-13 23:13:39 +00:00
danielk1977
2551caf381 Modify speedtest8.c so that it can use the logging from test_osinst.c when HAVE_OSINST is defined. (CVS 4997)
FossilOrigin-Name: 7622d74ad6088de4d94cb727b60ac4a042c52016
2008-04-12 16:03:37 +00:00
drh
8a29dfdea0 Remove all instances of sprintf() from the FTS modules. Ticket #3049. (CVS 4996)
FossilOrigin-Name: 062bf5d44d53ae0ee2bf96eddcc8de09157aa789
2008-04-12 13:06:09 +00:00
danielk1977
0520dbbae3 Modify test_osinst.c so that it only uses public interfaces. (CVS 4995)
FossilOrigin-Name: 3866a5da2bdcfafe956e1a9bf117f3277207de05
2008-04-12 11:30:12 +00:00
danielk1977
70b9b04c7c Add a logfile option to test_osinst.c. (CVS 4994)
FossilOrigin-Name: f97d89458259978b7b1b5c5e5a0d19cabcb9e536
2008-04-12 10:53:11 +00:00