mlcreech
273588663c
Fix typo for #2968 (CVS 4814)
...
FossilOrigin-Name: d1f6b243822c0dcbc4acf153e682b841cf6c22c2
2008-03-01 23:34:46 +00:00
mlcreech
5b9d867803
Add bitvec.lo to LIBOBJS and corresponding make rule (CVS 4813)
...
FossilOrigin-Name: 1d68f3af362f8bb5cdfbf60c60fb218bc316c5d0
2008-02-27 03:22:49 +00:00
drh
17c0ba276d
Fix a math error when computing how much memory to allocate for
...
a new pager. (CVS 4812)
FossilOrigin-Name: 690d05cedae236251778a71fdd32319846580fdf
2008-02-26 18:40:11 +00:00
drh
04c3a46ed9
Add commentary to clarify what is happening when an I/O error occurs while
...
writing dirty pages to the database file. (CVS 4811)
FossilOrigin-Name: afe49d81f479715e13f18a97170d414a853a6cfe
2008-02-26 16:16:45 +00:00
drh
8f2e9a1a94
Add an assert() to verify that the dirty-page list in the pager is
...
valid before using it. (CVS 4810)
FossilOrigin-Name: 942daf94ef1f8ac678988e175ef968a2d3f801e9
2008-02-26 14:46:04 +00:00
danielk1977
43468d9138
Have sqlite3PagerPagecount() return -1 when the pager is in error state. Fix for #2961 . (CVS 4809)
...
FossilOrigin-Name: 427e7f8b4a54eb6136174af63a467324d6fb051e
2008-02-26 06:05:31 +00:00
mlcreech
e0414bbceb
Add bitvec to build (CVS 4808)
...
FossilOrigin-Name: c690dd68f20aa2137562dff573031ac041a29a4e
2008-02-26 03:45:59 +00:00
drh
9f504eab49
Fix a bug in the LIKE optimizer that occurs when the last character
...
before the wildcard is an upper-case 'Z'. Ticket #2959 . (CVS 4807)
FossilOrigin-Name: 610574b23b5e73b71be71df66e084c5bf37f6ccd
2008-02-23 21:55:39 +00:00
drh
e4d052a314
Additional test cases. (CVS 4806)
...
FossilOrigin-Name: 74126bf4e605dc875adbf5a0ee83bf8112891e35
2008-02-21 21:30:07 +00:00
drh
1cfdc90b43
Accept "Z" as the zulu timezone at the end of date strings. (CVS 4805)
...
FossilOrigin-Name: 4c9a7b42b797f42f2b1e2e8d6a260044bd22ef2d
2008-02-21 20:40:43 +00:00
drh
b4d58ae74d
Updates to API documentation contained in comments of sqlite.h.in. (CVS 4804)
...
FossilOrigin-Name: 08276df3fdd63f210d502c414390f1efd8ebbbb7
2008-02-21 20:17:06 +00:00
drh
afc91047b2
Test coverage and documentation improvements. (CVS 4803)
...
FossilOrigin-Name: e0baceac412b85348e67f2376ea10000e1f76ab8
2008-02-21 02:09:45 +00:00
drh
d641d51171
Make multiple attempts to delete files marked DELETE_ON_CLOSE under
...
WinCE. Ticket #2950 . (CVS 4802)
FossilOrigin-Name: 5bc8e564e3499ada01a6c3d74b1e6d6906d2a118
2008-02-20 00:00:00 +00:00
drh
7694574abd
Remove instances of strcpy() from test code. Use memcpy() or
...
sqlite3_snprintf() instead. (CVS 4801)
FossilOrigin-Name: 7b50140dc0fb41a1b40c8709d96e214d98b06f81
2008-02-19 18:29:07 +00:00
drh
85e5f0d477
Remove an instance of sprintf() from the VM implementation. SQLite should
...
not use sprintf() from the C library - it has its own implementation. (CVS 4800)
FossilOrigin-Name: 68f5ddddf0d1b5c8ed97dda0a32362a55637b5f2
2008-02-19 18:28:13 +00:00
drh
8fd3897cda
Avoid the use of UTF16 functions in code that is part of a build when
...
UTF16 support is omitted. Ticket #2949 . (CVS 4799)
FossilOrigin-Name: 9db346dede59e7185afcd7f21b2f578c9a4f949e
2008-02-19 15:44:09 +00:00
drh
a4267dcc69
Make sure SQLITE_OPEN_DELETEONCLOSE is ignored by sqlite3_open_v2(). (CVS 4798)
...
FossilOrigin-Name: 33e26f6adf2ec2ab2e2711a8f86ce4cb11544e61
2008-02-19 15:20:44 +00:00
drh
49e4fd71a4
Change non-exported memory interfaces to following the naming conventions. (CVS 4797)
...
FossilOrigin-Name: 94774b41429c8bfa3582e30c09f414b9e5669575
2008-02-19 15:15:15 +00:00
drh
a9121e4c8e
Use 16-bit integers for indexing within a page in btree. Tighter
...
bounds on the maximum number of cells within one page. (CVS 4796)
FossilOrigin-Name: 8fdbe4abab4e9c292111579b03471f68c1e855fb
2008-02-19 14:59:35 +00:00
drh
eee4c8ca11
Add the memory fault simulator to mem5.c. Enable soft heap limit on mem5.c.
...
Limit the size of hash tables and the vdbefifo when using mem5.c. (CVS 4795)
FossilOrigin-Name: 63da5d97542e4f54c33329833477c8d96ce05dd0
2008-02-18 22:24:57 +00:00
drh
f5e7bb513c
Add the Bitvec object for tracking which pages have been journalled.
...
This reduces memory consumption and runs faster than the bitmap approach
it replaced. (CVS 4794)
FossilOrigin-Name: 7c57bdbcdb84d95419ec7029d2e13c593854a8d8
2008-02-18 14:47:33 +00:00
drh
2d7636e212
The power-of-two first-fit memory allocator is now working. (CVS 4793)
...
FossilOrigin-Name: d134d29cea971eb01a0e0fd94341ab79e2d5b57a
2008-02-16 16:21:45 +00:00
drh
66ce4d02fe
Fix a bug in the ".show" command of the CLI. Ticket #2942 . (CVS 4792)
...
FossilOrigin-Name: dedf5f230bf34a207f2ee0a8349a2ea602a38aba
2008-02-15 17:38:06 +00:00
drh
c52e355de1
Do not apply the query flattening optimization when the outer query is an
...
aggregate and the inner query contains an ORDER BY clause. Ticket #2943 . (CVS 4791)
FossilOrigin-Name: 6d33cbd99cb0db680767ceb31ec6345e90a805bc
2008-02-15 14:33:03 +00:00
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
drh
101716d398
Detect and report a particular type of database corruption that would
...
formerly cause a segfault. (CVS 4740)
FossilOrigin-Name: f47cf3cc5c70ffb70795e9412e6eaeaf044c3559
2008-01-22 16:35:36 +00:00
drh
c046f4000b
Detect and report a particular type of database corruption that would
...
formerly cause a segfault. (CVS 4739)
FossilOrigin-Name: 6ed2d9f82e2c81d5f6c22a4e05c1a2cb5eedd10c
2008-01-22 16:35:36 +00:00
drh
5517625960
Remove dead code from the lemon-generated parser. Better testing
...
of the sqlite3_file_control() interface, and in particular make sure
the interface works on :memory: databases. (CVS 4738)
FossilOrigin-Name: 83ca4fc7dc18d6deca58fe4181905eb9754e03da
2008-01-22 14:50:16 +00:00
danielk1977
bf2609781b
Move the test (sqlite3_simulate_device) functionality out of the main code and into a test vfs. (CVS 4737)
...
FossilOrigin-Name: 17e7bd6c3f507ffc6b56f54ae8c70730e8246f39
2008-01-22 11:50:13 +00:00
drh
c4dd3fd280
Changes to lemon to generate additional comments in the output file and
...
to remove unreachable code. Additional test cases for improved test
coverage. (CVS 4736)
FossilOrigin-Name: 2a0bc1e186532a0bfe36ca18fda74a5e7a199227
2008-01-22 01:48:05 +00:00
drh
1df81a8b50
Additional test cases for the RTRIM collation. (CVS 4735)
...
FossilOrigin-Name: 51452d20f99ecbe0fdb73cfafde5270711aeacad
2008-01-21 16:47:16 +00:00
drh
60a713c66b
Miscellaneous test coverage improvements. (CVS 4734)
...
FossilOrigin-Name: 720bc20a11275ffe139df9203f23e0683b9b4db1
2008-01-21 16:22:45 +00:00
danielk1977
a55e93555e
Remove some unused branches from internal function sqlite3PagerDontRollback(). (CVS 4733)
...
FossilOrigin-Name: 3d4252b06b42151874ee437c3a484e818232a5c9
2008-01-21 13:04:34 +00:00
drh
9b5adfa220
Add the RTRIM collating sequence. Only implemented for UTF8. Still
...
considered experimental and may be removed if we find adverse impact
elsewhere in the system. (CVS 4732)
FossilOrigin-Name: 0bf4e7fefdbbf7be4e32195473563158f22f1869
2008-01-20 23:19:56 +00:00
drh
de4fcfdd7a
Additional test coverage improvements. Test coverage now stands at 98.73%. (CVS 4731)
...
FossilOrigin-Name: 010f7b780cb9c8f21af9ce810494fbd2be98a13f
2008-01-19 23:50:26 +00:00
drh
91fd4d46ad
Miscellaneous code simplifications and cleanup and test coverage
...
enhancements. (CVS 4730)
FossilOrigin-Name: af129b6d158cc90ce9752dd6383c1de47f7b3e43
2008-01-19 20:11:25 +00:00
drh
a05a722f23
Cleanup and simplification of constraint processing. Simplifications
...
to the VM for better test coverage. (CVS 4729)
FossilOrigin-Name: d9ebe9d78c558af050c44ac4437ce0ef8193a4a8
2008-01-19 03:35:58 +00:00
drh
1527ff4e52
Fix test instrumentation problems on shared_err.test. (CVS 4728)
...
FossilOrigin-Name: 5aef5b0dd8e44a56f84fbc6f843016bca5101987
2008-01-18 17:03:32 +00:00
danielk1977
5ba7cac1d8
Remove an absolute path from crash5.test. (CVS 4727)
...
FossilOrigin-Name: 42d8a377551baef01fb4e80f35fc12f9454a3cd4
2008-01-18 14:17:20 +00:00
drh
ca48c90f60
Remove the OP_HexBlob instruction and code OP_Blob directly. Reduce
...
the amount of memory allocation required to encode blob literals.
Remove the "out2" instruction type. Other minor optimizations. (CVS 4726)
FossilOrigin-Name: 0e50c0200a3c1c04e63cbb55a7255cdbbd225347
2008-01-18 14:08:24 +00:00
danielk1977
a98d7b4797
Add a test (and fix) for possible corruption if malloc() fails during a CREATE INDEX statement, the application continues with the transaction, then crashes. (CVS 4725)
...
FossilOrigin-Name: 65245d9904db19568d5092926b27f0c193c9ef0b
2008-01-18 13:42:54 +00:00
danielk1977
87c29a94fc
Add a couple of missing calls to pagerLeave(). (CVS 4724)
...
FossilOrigin-Name: 87534dfff9e7a37c624a83c79f4074f29ff16c9e
2008-01-18 11:33:16 +00:00
drh
c5531beb56
Fix a bug in the test scripts that was preventing many scripts from
...
running with all.test. Lots of hidden failures now come to light. (CVS 4723)
FossilOrigin-Name: 251c78a982a33194a052897c37a2a79ae9654452
2008-01-18 02:31:56 +00:00
drh
008e476c28
Test coverage for date.c. (CVS 4722)
...
FossilOrigin-Name: a676f949b68c968d7e71aceb060c1639b42ba680
2008-01-17 22:27:53 +00:00
drh
3334e948cf
Improved test coverage in date.c. Report an error if a malloc
...
fails within strftime(). (CVS 4721)
FossilOrigin-Name: 495fb41626dfbfbeeb748675b9476a4f7cec6c7a
2008-01-17 20:26:46 +00:00
drh
127b0a6105
Remove unused p4 element from the {quote: VdbeOpList} object. (CVS 4720)
...
FossilOrigin-Name: 1c37d7b69b672987a6974f4193f933666f4f0c3a
2008-01-17 17:27:30 +00:00
drh
d847eaad91
Reuse registers better in the inner loop of a SELECT statement. (CVS 4719)
...
FossilOrigin-Name: 5ba4e5adf638c6812a2813961ea30a11a670409c
2008-01-17 17:15:56 +00:00
drh
9cbf3425fb
Registerification of the VDBE is complete. The operand stack has been
...
removed from the code. All instructions operate out of registers only. (CVS 4718)
FossilOrigin-Name: 706b41b70bd1e2030e6fa44358c38a26c5cf0985
2008-01-17 16:22:13 +00:00
drh
07a518ebf6
Registerification of the WHERE clause logic. (CVS 4717)
...
FossilOrigin-Name: 5581160f43c60825d03de58e67aa66904d9d8964
2008-01-17 02:36:28 +00:00
drh
1db639cef3
Registerification of the WHERE clause logic. (CVS 4716)
...
FossilOrigin-Name: b3a141b2b0c09bf3c7704deeade290d71b7c9b77
2008-01-17 02:36:28 +00:00
danielk1977
24acd8f939
Use 1<<$x instead of pow(2,$x) in the test suite code. (CVS 4715)
...
FossilOrigin-Name: 3a289b6d28bcf399845586b15f100d7c3a78b550
2008-01-16 18:20:41 +00:00
drh
93aed5a177
Get all tests running without memory leaks. (CVS 4714)
...
FossilOrigin-Name: 5807921f5a6e2e08f2c9e79aa91d8c587d64de74
2008-01-16 17:46:38 +00:00
danielk1977
db4e8867a4
Work around using (regexp) in the (ifcapable) function of the test suite. So that simpler versions of tcl can call it. (CVS 4713)
...
FossilOrigin-Name: 3aa5606bd4bd750a365454f42ab07826320f5b98
2008-01-16 08:24:46 +00:00
drh
8cc7432280
Fix for a couple of minor memory leaks. (CVS 4712)
...
FossilOrigin-Name: a13d3e953f1a3e451e8708a8ef064aa1d72cb4e9
2008-01-15 02:22:24 +00:00
drh
d0e7788706
Fix for ticket #2883 . (CVS 4711)
...
FossilOrigin-Name: 187f41f54d7cfbaa9f6ce3be4d213a454b600749
2008-01-14 15:20:08 +00:00
drh
0e359b30a9
Fix some issues with out-of-memory recovery. (CVS 4710)
...
FossilOrigin-Name: 23181f86896e7c9e993e00032e735e67ee6b2e71
2008-01-13 19:02:11 +00:00
drh
949f9cd565
The sqlite3_trace() callback now prints a message as each trigger fires
...
within a statement. (CVS 4709)
FossilOrigin-Name: 110c000d86bd4a0b4b946c62d11a435426b02d16
2008-01-12 21:35:57 +00:00
drh
2dcef11bb9
Continuing work toward converting the VM to a register machine. (CVS 4708)
...
FossilOrigin-Name: 426f31ecdd05d1179a2e49c2ca1666011cede9c6
2008-01-12 19:03:48 +00:00
drh
b765411161
Continuing work toward converting the VM into a register machine. (CVS 4707)
...
FossilOrigin-Name: a6dddebcc5ccbbf3009c9d06163a8b59036331de
2008-01-12 12:48:07 +00:00
drh
d8c303fe0a
Do explicit range tests before attempting to convert a 64-bit float
...
into a 64-bit integer. Some systems (windows) seem to throw exceptions
if the conversion is out of range. Ticket #2880 . (CVS 4706)
FossilOrigin-Name: 4744257d3cd2dd96485fde6d9f60542714383421
2008-01-11 15:27:03 +00:00
drh
efe3d656b6
Attempt to work around a bug in the Borland BCC 5.5.1 compiler. Ticket #2880 . (CVS 4705)
...
FossilOrigin-Name: 6de0ee49073c7a47d5e10495b569b33df76d1448
2008-01-11 00:06:10 +00:00
drh
2d401ab8f9
More work toward converting the VM into a register-based machine. (CVS 4704)
...
FossilOrigin-Name: 8cbd46517f407b3b1ce187b623db10f00aa415ea
2008-01-10 23:50:11 +00:00
drh
892d317990
Continuing work toward registerizing the code generator. (CVS 4703)
...
FossilOrigin-Name: 173698c963473ab1b9db88b23a2de82e4097b96d
2008-01-10 03:46:36 +00:00
drh
3de120b032
Fix mixing quote excapes in an awk script. Ticket #2877 . (CVS 4702)
...
FossilOrigin-Name: 05fbca91085cb1b271a05e62181596b4f6f1bb9e
2008-01-10 00:08:43 +00:00
drh
7d67f321d4
Fix a test script problem associated with the new crash4.test file.
...
Ticket #2882 . (CVS 4701)
FossilOrigin-Name: 1134c5ea7116bb2f342ccf09548d075c308c427b
2008-01-09 23:21:25 +00:00
drh
98757157ee
All essential opcodes can now operate out of registers and completely
...
avoid the stack. Many still optionally use the stack to support legacy
code generation, but the stack is not required. The next step is to
update all code generation to avoid using the stack. (CVS 4700)
FossilOrigin-Name: e3cf1c1c114bcda8fe577beb5ee55b4a651b96db
2008-01-09 23:04:12 +00:00
drh
c920628f26
Fix the build for AIX and other systems where "char" is unsigned by default. (CVS 4699)
...
FossilOrigin-Name: 47672af0c658573c6b305d224c6901058b8c0e00
2008-01-09 18:31:45 +00:00
drh
3c84ddff3e
Continued work toward converting to a register-based VM. (CVS 4698)
...
FossilOrigin-Name: 92deff07bba2089bbe011f44defb3a0ac1362d56
2008-01-09 02:15:38 +00:00
drh
3557335658
Registerify the comparison opcodes. (CVS 4697)
...
FossilOrigin-Name: 8862ce9ceefba4f5d1ffbd51d824c05f42a58c22
2008-01-08 23:54:25 +00:00
drh
04adf4161d
Finish registerizing the core logic of INSERT and UPDATE. (CVS 4696)
...
FossilOrigin-Name: 5fd1036788dbbc48ff1c746d2e1ba12b04a7e58c
2008-01-08 18:57:50 +00:00
drh
f858740ce9
Add crash4.test with additional crash testing. (CVS 4695)
...
FossilOrigin-Name: 87b4ac4b73fb84411ced9e9a859dd0e2d211c4b3
2008-01-08 16:03:49 +00:00
drh
cb1f0f6c26
Add additional randomness to crash tests. (CVS 4694)
...
FossilOrigin-Name: 3ccce1f58be46787f8a35f0fa6d738ed126c0f07
2008-01-08 15:18:52 +00:00
drh
aa9b8963b5
Progress toward registerification of the constraint checking logic for
...
INSERT and UPDATE. (CVS 4693)
FossilOrigin-Name: b9bf509e39f5ac38c2149d2a648f68e5df5ae9e3
2008-01-08 02:57:55 +00:00
drh
6a288a33f9
Registerify the AUTOINCREMENT processing and the OP_IsNull and OP_NotNull
...
operators. (CVS 4692)
FossilOrigin-Name: aa48867cfa04da265b906e5b583bc7ac6b6a1157
2008-01-07 19:20:24 +00:00
danielk1977
738bdcfbf8
Comment changes in select.c. (CVS 4691)
...
FossilOrigin-Name: 38020592f15c072e0d221ae2e0df13508ac4bd49
2008-01-07 10:16:40 +00:00
drh
1013c9320d
Registerify the SRT_Subroutine destination for SELECT results. (CVS 4690)
...
FossilOrigin-Name: 8201f71729c3afbb41764cea3cda65b03150cb0c
2008-01-06 00:25:21 +00:00
drh
477df4b3ac
Modify OP_RegMakeRec to take a base register and count and optionally
...
store results in the register specified by P3. (CVS 4689)
FossilOrigin-Name: 6bb1b1bc1858028b743a4f660d42d5e9595dc022
2008-01-05 18:48:24 +00:00
danielk1977
dba0137e1e
Fix a memory leak introduced with #4687 . (CVS 4688)
...
FossilOrigin-Name: 2b98b0fca82e285ae6b38384587aafa27985fa34
2008-01-05 18:44:29 +00:00
danielk1977
a9d1ccb9b0
First pass at optimizing max()/min() as described in #2853 . Some refinements to come. (CVS 4687)
...
FossilOrigin-Name: c449e04f1870b1ff726c95c0bf1c6c6a22ca588a
2008-01-05 17:39:29 +00:00
drh
5b6afba924
Registerify binary operators. Add register tracing to debugging output. (CVS 4686)
...
FossilOrigin-Name: 66396d2f0289e36b5fc0af5078c08d1b17f342ae
2008-01-05 16:29:28 +00:00
drh
9de221dff5
Expression code generator takes advantage of recent opcode changes. (CVS 4685)
...
FossilOrigin-Name: 6c78d2a49a3e6ee8bc31f16488a430cba9eda59d
2008-01-05 06:51:30 +00:00
drh
41c2bf0388
Register-ify the OP_ForceInt opcode. (CVS 4684)
...
FossilOrigin-Name: 32380dcabcd3839e79f91430b0c250d6e02d9243
2008-01-05 05:38:21 +00:00
drh
8558cde1ab
Register-ify the OP_AddImm and all casting opcodes. Omit the
...
OP_MemIncr opcode. (CVS 4683)
FossilOrigin-Name: 3e8a07dd3cc9921ad39e379576abb0b485a42202
2008-01-05 05:20:10 +00:00
drh
b1fdb2adea
Get rid of OP_Dup, OP_MemStore, OP_MemLoad, and OP_MemMove. Replace
...
with OP_Copy, OP_SCopy, and OP_Move. Add the infrastructure for
operation properties in1, in2, in3, out2, and out3 but do not yet
use any of these. (CVS 4682)
FossilOrigin-Name: cc149eb9ca3c672cc6fea3528353234ac2ed5745
2008-01-05 04:06:03 +00:00
drh
4c583128bd
Implement the out2-prerelease opcode design pattern. (CVS 4681)
...
FossilOrigin-Name: fe057a88d0038ac349ea41883b979ceba6ae410a
2008-01-04 22:01:03 +00:00
drh
d298151587
Allow the P2 operand to be negative on opcodes that are not jumps. (CVS 4680)
...
FossilOrigin-Name: 717bcd11a222fe100e25c5b2eb6de8b6b9930de1
2008-01-04 19:33:49 +00:00
drh
4aeb7bf778
Fix mkopcodeh.awk so that it works on a mac. (CVS 4679)
...
FossilOrigin-Name: 59d3dfa41f99e99b836649a0870cbfc1c275a654
2008-01-04 19:12:35 +00:00
danielk1977
287fb61c6b
Some modifications to insert.c to work without using the stack. (CVS 4678)
...
FossilOrigin-Name: d9ac6beef538376d0ea0a1daa95cf1dfe36143cf
2008-01-04 19:10:28 +00:00
drh
3a40f696d4
Replace the NOPUSH_MASKs with a bit-vector mechanism that can contain
...
several different properties about each opcode. (CVS 4677)
FossilOrigin-Name: 042dcb9621934d0318a7c6e9cd08b20a569db367
2008-01-04 16:50:09 +00:00
danielk1977
dd2fb29be8
Modify FifoRead and FifoWrite to work exclusively with memory cells. (CVS 4676)
...
FossilOrigin-Name: 2c913908a47e7ace7d964067e3566d232ee2d494
2008-01-04 13:57:26 +00:00
danielk1977
96cb76fc7a
Modify the code generated for a DELETE to use registers instead of the vdbe stack. (CVS 4675)
...
FossilOrigin-Name: 173f281334d340290e1978abea5d1ea804141910
2008-01-04 13:24:28 +00:00
danielk1977
a29f18cdfc
Add OP_MemSet, for setting a memory cell to a string value. (CVS 4674)
...
FossilOrigin-Name: 8bb9f970dd71cbf19e45774fc822aa1efebc1724
2008-01-04 11:01:03 +00:00
drh
389a1adbd7
Change the sqlite3ExprCode() function so that callers can request that
...
the result of the expression be left on the stack or in a register. (CVS 4673)
FossilOrigin-Name: 61bfb77c4267b99ac8a8ef49355bcbc395a1a37b
2008-01-03 23:44:53 +00:00
danielk1977
890947e253
Fix typo in comment. Ticket #2870 . (CVS 4672)
...
FossilOrigin-Name: e97e4578671d85b634072b8931cf55516bbd4ca8
2008-01-03 18:56:25 +00:00
drh
2133d82287
Update OP_Rowid, OP_Column and related opcodes to use registers. (CVS 4671)
...
FossilOrigin-Name: 4f3967073d2df9eae5a61b9770d5de2e1af47b4c
2008-01-03 18:44:59 +00:00
danielk1977
6dbee8185c
Modify VFilter and VRename to use registers instead of the vdbe stack for inputs. (CVS 4670)
...
FossilOrigin-Name: 253ed40aa36247fc846cc41c8612cd29899d9f8f
2008-01-03 18:39:41 +00:00
drh
0a07c107a6
Registers (aka memory cells) in the VM are now numbered starting with 1
...
instead of 0. A register number of 0 means "no such register". (CVS 4669)
FossilOrigin-Name: 0b849805c3a0f562d50623f406279b400d335639
2008-01-03 18:03:08 +00:00
danielk1977
2a339ff677
Modify OP_VUpdate to read arguments from a range of memory cells instead of from the stack. (CVS 4668)
...
FossilOrigin-Name: 955b15a020e9ea6401fe03a36f5139a03ea80b8a
2008-01-03 17:31:44 +00:00
danielk1977
2dca4ac1d3
Change the VdbeOp.p4 union to include specific pointer types for the various values of VdbeOp.p4type. (CVS 4667)
...
FossilOrigin-Name: 7e8330c8044dc7718e720dbd33f6e2fe970ead77
2008-01-03 11:50:29 +00:00
danielk1977
1f4aa337cd
Change the OP_Insert opcode to read the key and data to insert from memory cells, not the stack. (CVS 4666)
...
FossilOrigin-Name: 46501f490a5f5577ea31c758df749e02c7c65f39
2008-01-03 09:51:55 +00:00
danielk1977
11641c1136
Change the output of vdbe_trace etc. to include operands p3 and p5. (CVS 4665)
...
FossilOrigin-Name: 76f2040b051e1d4d8033e354dffe277b549f7962
2008-01-03 08:18:30 +00:00