Commit Graph

4716 Commits

Author SHA1 Message Date
drh
52391cb406 Fix a bug in EXPLAIN growing out of the new Mem implementation. (CVS 4790)
FossilOrigin-Name: 4df62a55d6fc92c3d0a416c9c03d86d76478feb6
2008-02-14 23:44:13 +00:00
drh
0d18020b80 Add the experimental mem5.c memory allocator. Allocate the content part
of cache pages separately from the header.  (See check-ins (4495) and (4409)). (CVS 4789)

FossilOrigin-Name: 669ece8c82bfa69add852589dd1211751cb26fb2
2008-02-14 23:26:56 +00:00
drh
7663e36c40 Fix a typo in a comment used to generate documentation. (CVS 4788)
FossilOrigin-Name: 65e66dd81cd821364a2d95a9078d174fd9486288
2008-02-14 23:24:16 +00:00
danielk1977
9172fd8cd0 Fix some VdbeMemCopy() related problems. (CVS 4787)
FossilOrigin-Name: aca2bee8662c3adaa47b3e70b1ef35347111f9eb
2008-02-14 15:31:52 +00:00
danielk1977
131b0ef7fd Fix a problem in the ptrchng.test script. (CVS 4786)
FossilOrigin-Name: 30a45f078421bc89da9218528110e3bd90054bbf
2008-02-14 05:44:45 +00:00
pweilbacher
d4c8a60358 small correctness fix for os2CheckReservedLock() (CVS 4785)
FossilOrigin-Name: f364d9342345cb11a4fd1961ab4f6387fb6abacc
2008-02-14 00:00:50 +00:00
pweilbacher
6034b1e07e always use random access mode when opening files (like on Windows) (CVS 4784)
FossilOrigin-Name: 9f4da1013b558fcabadc3a3bec6bcdae9b06399e
2008-02-13 23:48:02 +00:00
danielk1977
a7a8e14bf2 Where possible, avoid freeing buffers allocated for vdbe memory cells in case they can be reused. (CVS 4783)
FossilOrigin-Name: 990237e27e417aff3dbf05784b716c21f3761a3a
2008-02-13 18:25:27 +00:00
drh
0f35a6b529 When materializing a view for an UPDATE or DELETE make use of the WHERE
clause to limit the number of rows materialized.  Ticket #2938. (CVS 4782)

FossilOrigin-Name: 5ab71c3a79cac04cb2c576f83a62218d05571006
2008-02-12 16:52:14 +00:00
drh
8e5b5f8e54 ALTER TABLE uses double-quotes for quoting table names. (CVS 4781)
FossilOrigin-Name: 607247c27b80520b8c25c489757288b8ea186f9e
2008-02-09 14:30:29 +00:00
danielk1977
044d305c53 Modify shared.test to do case independent comparison of filenames. To account for the fact that "c:/test.db" and "C:/test.db" are the same file. (CVS 4780)
FossilOrigin-Name: 63915b54cfb41c2361c387636aa904145b166411
2008-02-08 18:25:48 +00:00
danielk1977
0ee26d943f Change the test code used for speed tests so that it does not throw an exception if the time command returns "0 microseconds per iteration". (CVS 4779)
FossilOrigin-Name: f37e8637d234e50436760497f8001c33975510ce
2008-02-08 18:25:29 +00:00
drh
1ece7325bb Do not release registers used to hold the results of a compound select
after just the first select has run.  Ticket #2927.  For now, we will
never release the registers used to hold the result set, since the same
register set will be used for each select.  This is not an unacceptable
register leak and it is the safest approach. (CVS 4778)

FossilOrigin-Name: e9fcb793998be07eaea01404407087b71c29853d
2008-02-06 23:52:36 +00:00
drh
ef10389ec4 Version 3.5.6 (CVS 4777)
FossilOrigin-Name: 1d82ab6987e567fff051cf4dd7b1a0bf6d174145
2008-02-06 16:58:27 +00:00
drh
a756546e4d Bump the version number to 3.5.6. (CVS 4776)
FossilOrigin-Name: 3444efabfc3d9a30b7ef22f40ecfa401d033d43f
2008-02-06 14:14:45 +00:00
drh
69544ec9cb Add the sqlite3_result_error_code() application interface. Use it in the
ATTACH function so that a failed attach returns a proper error code.
Ticket #2914. (CVS 4775)

FossilOrigin-Name: c24616204307936d03d39d2ef0fe6856113f6977
2008-02-06 14:11:34 +00:00
drh
45b5ba88dc Delete unused "pager3_refinfo_enable" flag and its associated debugging
macros.  Ticket #2923. (CVS 4774)

FossilOrigin-Name: fccb217d91d08c5a2f5d51b21c6035474931957b
2008-02-02 20:47:38 +00:00
danielk1977
1f12107a1c When OMIT_TRIGGER is defined, provide a no-op macro for sqlite3SelectMask(). Fix for #2918. (CVS 4773)
FossilOrigin-Name: 1d478e9091ef5775297ca4d50c85e39ccdf9e245
2008-02-02 04:47:09 +00:00
drh
755beb4564 Add more test cases to prove that ticket #2920 does not exist in
CVS HEAD.  The problem was previously fixed by the changes to
ticket #2686.  Ticket #2920 is a duplicate of #2686. (CVS 4772)

FossilOrigin-Name: b3259e872124fd7e17bbc23e582aa4d802044837
2008-02-02 02:48:52 +00:00
pweilbacher
6ee442bcc9 Use the buffer size as limit for temp file names. This is done for windows too, see check-in (4595). (CVS 4771)
FossilOrigin-Name: 99275bcd624c57585fc962235082fb0ca213d9c0
2008-02-01 19:44:28 +00:00
pweilbacher
dc965c3c81 fix broken OS/2 mutex implementation (Ticket #2905) (CVS 4770)
FossilOrigin-Name: 05afd86e2d25a219843be48c21c212e84f94e7ef
2008-02-01 19:42:37 +00:00
drh
dd95535f20 Minor fixes to FTS3 so that it works better when appended to the end
of the amalgamation. (CVS 4769)

FossilOrigin-Name: 62ede6699d8f116921a5a0baddca5e7e63740cd3
2008-02-01 15:34:09 +00:00
drh
05dbd1fd16 Fix the build scripts for windows binaries. ticket #2916. (CVS 4768)
FossilOrigin-Name: c336b2318a56c1deb94c41107754f5f622a9b1ee
2008-02-01 13:44:33 +00:00
drh
a2647cae50 Modify the printf test script so that it does not depend on the platform
printf, so that we do not spurious test failures when moving from one
platform to another. (CVS 4767)

FossilOrigin-Name: 514d7e474391278a121af285dc4aca6216358ad7
2008-02-01 01:19:53 +00:00
pweilbacher
0fd508e3f6 make os2Truncate() actually do something and fix os2FullPathname() to be more elegant and work more correctly in all cases (Ticket #2904) (CVS 4766)
FossilOrigin-Name: 921c7a0ac4581255ea5061980ff7991088b9b78a
2008-02-01 00:31:59 +00:00
drh
1d454a31b5 Fix a problem with virtual tables and left joins introduced by
check-in (4761).  Ticket #2894 and #2913. (CVS 4765)

FossilOrigin-Name: ebeac2a499ce16ac7e6d12daa5ce9d41e9067d28
2008-01-31 19:34:51 +00:00
drh
78398d269f Version 3.5.5 (CVS 4764)
FossilOrigin-Name: cb5bf4642f30ccd9052d76c3a47e7c5afc32afe6
2008-01-31 17:25:14 +00:00
drh
03c5a38124 Remove a broken hyperlink from the API documentation. (CVS 4763)
FossilOrigin-Name: 5fbda121743261f965d18342356a7c270daba416
2008-01-31 17:21:21 +00:00
drh
414025db57 Fixes to API definition comments in sqlite.h.in. Updates to the
build script - ticket #2874. (CVS 4762)

FossilOrigin-Name: c23f51de61398b08a9f02cc65befcbfe506137c0
2008-01-31 16:36:40 +00:00
drh
2945b4a1ac Make sure virtual table interfaces are not invoked after EOF when
the virtual table appears in an outer join.  Ticket #2894. (CVS 4761)

FossilOrigin-Name: face510bc14f440fc08dd5a354882ae05499bfa7
2008-01-31 15:53:45 +00:00
danielk1977
7c36d07715 Add "return rc;" to the end of sqlite3_test_control(). (CVS 4760)
FossilOrigin-Name: b547e7ea75294997de4298e30af813f36dfa3b05
2008-01-31 15:31:01 +00:00
drh
72190430c5 Fix assertion fault in sqllimits1.test encountered when auto_vacuum is
enabled.  Correct the sqllimit1 tests to account for extra pages inserted
by auto_vacuum. (CVS 4759)

FossilOrigin-Name: 9b207d1a6690206a6d7a10fcb517579b8bdadca2
2008-01-31 14:54:43 +00:00
drh
ed13d98c8c Add the sqlite3_test_control() API. Use it to control the fault injector. (CVS 4758)
FossilOrigin-Name: 413ddade6a13f993cddc57389d1107d82fa19972
2008-01-31 14:43:24 +00:00
drh
820a90694e Version number to 3.5.5. Include FTS3 in the amalgamation by default
(but disabled unless compiled with -DSQLITE_ENABLE_FTS3).  Fix a memory
allocation problem. (CVS 4757)

FossilOrigin-Name: 72411043e60d5358d5a7adf566d662d65d3b3336
2008-01-31 13:35:48 +00:00
drh
21ac7f9dcd Additional API documentation updates in sqlite.h.in. (CVS 4756)
FossilOrigin-Name: 9b6ab9faad39dd20d761efa68f137c596fbcd7a5
2008-01-31 12:26:49 +00:00
drh
33c1be3962 Improvements to the API documentation found in comments in the sqlite.h.in
source file. (CVS 4755)

FossilOrigin-Name: 0b8b5c2e833c90aec1c14d16c12334e01b50f35f
2008-01-30 16:16:14 +00:00
drh
4bbf464fe0 Disable the likely() and unlikely() macros as they do not work some
older versions of GCC. (CVS 4754)

FossilOrigin-Name: e01f9ed9450d3e23fc052e1b779c7a1965e76f7e
2008-01-30 16:14:23 +00:00
aswift
ee99b90def Committed changes for ticket #2909 (CVS 4753)
FossilOrigin-Name: 29ce204dbf2ccd051032f23f175b5c225f209fda
2008-01-28 22:09:23 +00:00
drh
9d36b4da99 Fix an incorrect comment on the Mem object in vdbeInt.h. (CVS 4752)
FossilOrigin-Name: 50c9cf9bbbe858d53697b4d3a0c1ec2d63ff5b18
2008-01-28 15:19:26 +00:00
rse
d18eef5c57 remove an unused variable (CVS 4751)
FossilOrigin-Name: 88846195474e620d0c3029d464d074aea6e82a22
2008-01-27 10:35:56 +00:00
drh
ca4241140c Error messages says "no such view" instead of "no such table" when
trying to DROP a VIEW that does not exist. (CVS 4750)

FossilOrigin-Name: 50815a82e0ec9a5c1399f5fe6ef416434b55a821
2008-01-25 15:04:48 +00:00
danielk1977
cdf3020ca3 Fix a segfault that may follow a malloc failure during compilation of an INSTEAD OF trigger. (CVS 4749)
FossilOrigin-Name: c6635a71dbb2a06d56a0cfce7f0383325e12dc01
2008-01-24 14:27:44 +00:00
danielk1977
ac559264e3 Fix another segfault that can occur following a malloc failure in the SQL compiler. (CVS 4748)
FossilOrigin-Name: 9d98a3f0dded4ee7ed53872f48ee8592ff077f92
2008-01-23 17:13:40 +00:00
danielk1977
15cdbebe08 Fix a couple of segfaults that could occur after a malloc() failure in the SQL compiler. (CVS 4747)
FossilOrigin-Name: 6bd8db3839d57a738cae2196679819186968b40e
2008-01-23 15:44:51 +00:00
drh
d2b3e23bc3 Testing coverage enhancements to sqlite3_get_table() and to the SELECT
code generator. (CVS 4746)

FossilOrigin-Name: 45c59802f6d35c7745b96c578ab43d5a336fe822
2008-01-23 14:51:49 +00:00
drh
01495b9921 Improvements to test coverage in the lemon-generated parser and in the
sqlite3_get_table() interface. (CVS 4745)

FossilOrigin-Name: 9f95d79daeb5e7f6fd62f3c896dae4d332121d1c
2008-01-23 12:52:40 +00:00
drh
7e8b848a60 Make sqlite3SafetyOn() and sqlite3SafetyOff() macros which disappear when
compiling without -DSQLITE_DEBUG=1. (CVS 4744)

FossilOrigin-Name: 5375ad6b4b652f388469b0ce4e8e78b3f49169bd
2008-01-23 03:03:05 +00:00
drh
4b2f9368cb Improved test coverage for the tokenizer and sqlite3_complete() interface.
Fix bugs in parsing blob literals and SQL variables beginning with $. (CVS 4743)

FossilOrigin-Name: c82033faf8bdb83ce43f0dd1611408e7796d53de
2008-01-22 23:37:09 +00:00
drh
643167ff21 Add the fault injector module in fault.c. Use it as a basis for memory
allocation failure testing. (CVS 4742)

FossilOrigin-Name: 1a335e180183b414fcc3510ce28b98b21cd134a6
2008-01-22 21:30:53 +00:00
drh
02cd2b80c1 Fix a bug introduced by checkin (4739). (CVS 4741)
FossilOrigin-Name: c8394ac24b87707fa7f2e3cb43ad8efb65d2595e
2008-01-22 19:34:27 +00:00