Commit Graph

4984 Commits

Author SHA1 Message Date
drh 394f07ef8c Work around a NaN bug in some versions of Tcl. (CVS 5058)
FossilOrigin-Name: 7bf8213ce9f591f4c2ef6c1e19a17712e3bae9e3
2008-04-28 15:23:02 +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 06af763e30 Restore the #include of stdint.h removed in (5051). (CVS 5056)
FossilOrigin-Name: e96e8b9b4137c3ea239674683cf9fd8682851908
2008-04-28 12:54:15 +00:00
drh 460e290006 Delete requirement F12764 as it has never been implemented and the
same effect can be easily achieved by other means.  Ticket #3085. (CVS 5055)

FossilOrigin-Name: fadeed998e63c2fd94811b911cf263713c5fcdca
2008-04-27 22:48:04 +00:00
drh e1b3e8064e Fix the documentation to agree with long-standing behavior for the
sqlite3_bind_parameter_name() interface on an ?NNN parameter.
Ticket #2975. (CVS 5054)

FossilOrigin-Name: df9991d5bbc6d90087f022c55b070c11dc510077
2008-04-27 22:29:01 +00:00
drh a5808f31f0 Allow multiple occurrances of %include in lemon input files.
Ticket #3001. (CVS 5053)

FossilOrigin-Name: f22fa11bde0b77cfc5ff438f2ec6ab95dc87c291
2008-04-27 22:19:44 +00:00
drh 7f7c257b6b Fix the lemon parser generator so that it works again with the "error"
symbol.  Ticket #3079 (CVS 5052)

FossilOrigin-Name: 20ed749266d099eb35f40ca479db8baa75186b60
2008-04-27 18:45:10 +00:00
drh 7209c697a1 Remove all references to sqlite3_intptr_t. (CVS 5051)
FossilOrigin-Name: 6a94d19747a05df2694d3720f76de3dab3836578
2008-04-27 18:40:11 +00:00
drh 59020f32cd Use "(void)" function arguments in declarations instead of "()". Both are
legal but some pedantic compilers complain about the latter.  Ticket #3086. (CVS 5050)

FossilOrigin-Name: a4149ca317c2fd7ce87b8f23029c3f87a7f4c2e8
2008-04-26 13:39:46 +00:00
drh 82ed1e5b37 Clarify some comments. No changes to code. (CVS 5049)
FossilOrigin-Name: 7f80539225b17a62e4aa09e6d514e3e9e1b22c36
2008-04-25 12:25:42 +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
drh b287f4b646 Candidate fix for ticket #3082. Test cases needed. (CVS 5047)
FossilOrigin-Name: f6313311ddfb1ee2d6660b9be99afe721a8a9aff
2008-04-25 00:08:38 +00:00
drh ce3d5cf0c7 Remove two more unused files. (CVS 5046)
FossilOrigin-Name: a400faf51970b312e9d8c8b4fa099558cc620b69
2008-04-24 22:57:28 +00:00
shane 3f8d5cfcad Consolidated varint macro usage from btreeInt.h, vdbe.c, and vdbeaux.c into sqliteInt.h and made their use consistent. Slight improvements to varint32 macros. (CVS 5045)
FossilOrigin-Name: 0d04ccd97841bbbda564cc6ae5da057ee3888fa3
2008-04-24 19:15:09 +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 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