]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
17 years agoFix some VdbeMemCopy() related problems. (CVS 4787)
danielk1977 [Thu, 14 Feb 2008 15:31:52 +0000 (15:31 +0000)] 
Fix some VdbeMemCopy() related problems. (CVS 4787)

FossilOrigin-Name: aca2bee8662c3adaa47b3e70b1ef35347111f9eb

17 years agoFix a problem in the ptrchng.test script. (CVS 4786)
danielk1977 [Thu, 14 Feb 2008 05:44:45 +0000 (05:44 +0000)] 
Fix a problem in the ptrchng.test script. (CVS 4786)

FossilOrigin-Name: 30a45f078421bc89da9218528110e3bd90054bbf

17 years agosmall correctness fix for os2CheckReservedLock() (CVS 4785)
pweilbacher [Thu, 14 Feb 2008 00:00:50 +0000 (00:00 +0000)] 
small correctness fix for os2CheckReservedLock() (CVS 4785)

FossilOrigin-Name: f364d9342345cb11a4fd1961ab4f6387fb6abacc

17 years agoalways use random access mode when opening files (like on Windows) (CVS 4784)
pweilbacher [Wed, 13 Feb 2008 23:48:02 +0000 (23:48 +0000)] 
always use random access mode when opening files (like on Windows) (CVS 4784)

FossilOrigin-Name: 9f4da1013b558fcabadc3a3bec6bcdae9b06399e

17 years agoWhere possible, avoid freeing buffers allocated for vdbe memory cells in case they...
danielk1977 [Wed, 13 Feb 2008 18:25:27 +0000 (18:25 +0000)] 
Where possible, avoid freeing buffers allocated for vdbe memory cells in case they can be reused. (CVS 4783)

FossilOrigin-Name: 990237e27e417aff3dbf05784b716c21f3761a3a

17 years agoWhen materializing a view for an UPDATE or DELETE make use of the WHERE
drh [Tue, 12 Feb 2008 16:52:14 +0000 (16:52 +0000)] 
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

17 years agoALTER TABLE uses double-quotes for quoting table names. (CVS 4781)
drh [Sat, 9 Feb 2008 14:30:29 +0000 (14:30 +0000)] 
ALTER TABLE uses double-quotes for quoting table names. (CVS 4781)

FossilOrigin-Name: 607247c27b80520b8c25c489757288b8ea186f9e

17 years agoModify shared.test to do case independent comparison of filenames. To account for...
danielk1977 [Fri, 8 Feb 2008 18:25:48 +0000 (18:25 +0000)] 
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

17 years agoChange the test code used for speed tests so that it does not throw an exception...
danielk1977 [Fri, 8 Feb 2008 18:25:29 +0000 (18:25 +0000)] 
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

17 years agoDo not release registers used to hold the results of a compound select
drh [Wed, 6 Feb 2008 23:52:36 +0000 (23:52 +0000)] 
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

17 years agoVersion 3.5.6 (CVS 4777)
drh [Wed, 6 Feb 2008 16:58:27 +0000 (16:58 +0000)] 
Version 3.5.6 (CVS 4777)

FossilOrigin-Name: 1d82ab6987e567fff051cf4dd7b1a0bf6d174145

17 years agoBump the version number to 3.5.6. (CVS 4776)
drh [Wed, 6 Feb 2008 14:14:45 +0000 (14:14 +0000)] 
Bump the version number to 3.5.6. (CVS 4776)

FossilOrigin-Name: 3444efabfc3d9a30b7ef22f40ecfa401d033d43f

17 years agoAdd the sqlite3_result_error_code() application interface. Use it in the
drh [Wed, 6 Feb 2008 14:11:34 +0000 (14:11 +0000)] 
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

17 years agoDelete unused "pager3_refinfo_enable" flag and its associated debugging
drh [Sat, 2 Feb 2008 20:47:38 +0000 (20:47 +0000)] 
Delete unused "pager3_refinfo_enable" flag and its associated debugging
macros.  Ticket #2923. (CVS 4774)

FossilOrigin-Name: fccb217d91d08c5a2f5d51b21c6035474931957b

17 years agoWhen OMIT_TRIGGER is defined, provide a no-op macro for sqlite3SelectMask(). Fix...
danielk1977 [Sat, 2 Feb 2008 04:47:09 +0000 (04:47 +0000)] 
When OMIT_TRIGGER is defined, provide a no-op macro for sqlite3SelectMask(). Fix for #2918. (CVS 4773)

FossilOrigin-Name: 1d478e9091ef5775297ca4d50c85e39ccdf9e245

17 years agoAdd more test cases to prove that ticket #2920 does not exist in
drh [Sat, 2 Feb 2008 02:48:52 +0000 (02:48 +0000)] 
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

17 years agoUse the buffer size as limit for temp file names. This is done for windows too, see...
pweilbacher [Fri, 1 Feb 2008 19:44:28 +0000 (19:44 +0000)] 
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

17 years agofix broken OS/2 mutex implementation (Ticket #2905) (CVS 4770)
pweilbacher [Fri, 1 Feb 2008 19:42:37 +0000 (19:42 +0000)] 
fix broken OS/2 mutex implementation (Ticket #2905) (CVS 4770)

FossilOrigin-Name: 05afd86e2d25a219843be48c21c212e84f94e7ef

17 years agoMinor fixes to FTS3 so that it works better when appended to the end
drh [Fri, 1 Feb 2008 15:34:09 +0000 (15:34 +0000)] 
Minor fixes to FTS3 so that it works better when appended to the end
of the amalgamation. (CVS 4769)

FossilOrigin-Name: 62ede6699d8f116921a5a0baddca5e7e63740cd3

17 years agoFix the build scripts for windows binaries. ticket #2916. (CVS 4768)
drh [Fri, 1 Feb 2008 13:44:33 +0000 (13:44 +0000)] 
Fix the build scripts for windows binaries.  ticket #2916. (CVS 4768)

FossilOrigin-Name: c336b2318a56c1deb94c41107754f5f622a9b1ee

17 years agoModify the printf test script so that it does not depend on the platform
drh [Fri, 1 Feb 2008 01:19:53 +0000 (01:19 +0000)] 
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

17 years agomake os2Truncate() actually do something and fix os2FullPathname() to be more elegant...
pweilbacher [Fri, 1 Feb 2008 00:31:59 +0000 (00:31 +0000)] 
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

17 years agoFix a problem with virtual tables and left joins introduced by
drh [Thu, 31 Jan 2008 19:34:51 +0000 (19:34 +0000)] 
Fix a problem with virtual tables and left joins introduced by
check-in (4761).  Ticket #2894 and #2913. (CVS 4765)

FossilOrigin-Name: ebeac2a499ce16ac7e6d12daa5ce9d41e9067d28

17 years agoVersion 3.5.5 (CVS 4764)
drh [Thu, 31 Jan 2008 17:25:14 +0000 (17:25 +0000)] 
Version 3.5.5 (CVS 4764)

FossilOrigin-Name: cb5bf4642f30ccd9052d76c3a47e7c5afc32afe6

17 years agoRemove a broken hyperlink from the API documentation. (CVS 4763)
drh [Thu, 31 Jan 2008 17:21:21 +0000 (17:21 +0000)] 
Remove a broken hyperlink from the API documentation. (CVS 4763)

FossilOrigin-Name: 5fbda121743261f965d18342356a7c270daba416

17 years agoFixes to API definition comments in sqlite.h.in. Updates to the
drh [Thu, 31 Jan 2008 16:36:40 +0000 (16:36 +0000)] 
Fixes to API definition comments in sqlite.h.in.  Updates to the
build script - ticket #2874. (CVS 4762)

FossilOrigin-Name: c23f51de61398b08a9f02cc65befcbfe506137c0

17 years agoMake sure virtual table interfaces are not invoked after EOF when
drh [Thu, 31 Jan 2008 15:53:45 +0000 (15:53 +0000)] 
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

17 years agoAdd "return rc;" to the end of sqlite3_test_control(). (CVS 4760)
danielk1977 [Thu, 31 Jan 2008 15:31:01 +0000 (15:31 +0000)] 
Add "return rc;" to the end of sqlite3_test_control(). (CVS 4760)

FossilOrigin-Name: b547e7ea75294997de4298e30af813f36dfa3b05

17 years agoFix assertion fault in sqllimits1.test encountered when auto_vacuum is
drh [Thu, 31 Jan 2008 14:54:43 +0000 (14:54 +0000)] 
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

17 years agoAdd the sqlite3_test_control() API. Use it to control the fault injector. (CVS 4758)
drh [Thu, 31 Jan 2008 14:43:24 +0000 (14:43 +0000)] 
Add the sqlite3_test_control() API.  Use it to control the fault injector. (CVS 4758)

FossilOrigin-Name: 413ddade6a13f993cddc57389d1107d82fa19972

17 years agoVersion number to 3.5.5. Include FTS3 in the amalgamation by default
drh [Thu, 31 Jan 2008 13:35:48 +0000 (13:35 +0000)] 
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

17 years agoAdditional API documentation updates in sqlite.h.in. (CVS 4756)
drh [Thu, 31 Jan 2008 12:26:49 +0000 (12:26 +0000)] 
Additional API documentation updates in sqlite.h.in. (CVS 4756)

FossilOrigin-Name: 9b6ab9faad39dd20d761efa68f137c596fbcd7a5

17 years agoImprovements to the API documentation found in comments in the sqlite.h.in
drh [Wed, 30 Jan 2008 16:16:14 +0000 (16:16 +0000)] 
Improvements to the API documentation found in comments in the sqlite.h.in
source file. (CVS 4755)

FossilOrigin-Name: 0b8b5c2e833c90aec1c14d16c12334e01b50f35f

17 years agoDisable the likely() and unlikely() macros as they do not work some
drh [Wed, 30 Jan 2008 16:14:23 +0000 (16:14 +0000)] 
Disable the likely() and unlikely() macros as they do not work some
older versions of GCC. (CVS 4754)

FossilOrigin-Name: e01f9ed9450d3e23fc052e1b779c7a1965e76f7e

17 years agoCommitted changes for ticket #2909 (CVS 4753)
aswift [Mon, 28 Jan 2008 22:09:23 +0000 (22:09 +0000)] 
Committed changes for ticket #2909 (CVS 4753)

FossilOrigin-Name: 29ce204dbf2ccd051032f23f175b5c225f209fda

17 years agoFix an incorrect comment on the Mem object in vdbeInt.h. (CVS 4752)
drh [Mon, 28 Jan 2008 15:19:26 +0000 (15:19 +0000)] 
Fix an incorrect comment on the Mem object in vdbeInt.h. (CVS 4752)

FossilOrigin-Name: 50c9cf9bbbe858d53697b4d3a0c1ec2d63ff5b18

17 years agoremove an unused variable (CVS 4751)
rse [Sun, 27 Jan 2008 10:35:56 +0000 (10:35 +0000)] 
remove an unused variable (CVS 4751)

FossilOrigin-Name: 88846195474e620d0c3029d464d074aea6e82a22

17 years agoError messages says "no such view" instead of "no such table" when
drh [Fri, 25 Jan 2008 15:04:48 +0000 (15:04 +0000)] 
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

17 years agoFix a segfault that may follow a malloc failure during compilation of an INSTEAD...
danielk1977 [Thu, 24 Jan 2008 14:27:44 +0000 (14:27 +0000)] 
Fix a segfault that may follow a malloc failure during compilation of an INSTEAD OF trigger. (CVS 4749)

FossilOrigin-Name: c6635a71dbb2a06d56a0cfce7f0383325e12dc01

17 years agoFix another segfault that can occur following a malloc failure in the SQL compiler...
danielk1977 [Wed, 23 Jan 2008 17:13:40 +0000 (17:13 +0000)] 
Fix another segfault that can occur following a malloc failure in the SQL compiler. (CVS 4748)

FossilOrigin-Name: 9d98a3f0dded4ee7ed53872f48ee8592ff077f92

17 years agoFix a couple of segfaults that could occur after a malloc() failure in the SQL compil...
danielk1977 [Wed, 23 Jan 2008 15:44:51 +0000 (15:44 +0000)] 
Fix a couple of segfaults that could occur after a malloc() failure in the SQL compiler. (CVS 4747)

FossilOrigin-Name: 6bd8db3839d57a738cae2196679819186968b40e

17 years agoTesting coverage enhancements to sqlite3_get_table() and to the SELECT
drh [Wed, 23 Jan 2008 14:51:49 +0000 (14:51 +0000)] 
Testing coverage enhancements to sqlite3_get_table() and to the SELECT
code generator. (CVS 4746)

FossilOrigin-Name: 45c59802f6d35c7745b96c578ab43d5a336fe822

17 years agoImprovements to test coverage in the lemon-generated parser and in the
drh [Wed, 23 Jan 2008 12:52:40 +0000 (12:52 +0000)] 
Improvements to test coverage in the lemon-generated parser and in the
sqlite3_get_table() interface. (CVS 4745)

FossilOrigin-Name: 9f95d79daeb5e7f6fd62f3c896dae4d332121d1c

17 years agoMake sqlite3SafetyOn() and sqlite3SafetyOff() macros which disappear when
drh [Wed, 23 Jan 2008 03:03:05 +0000 (03:03 +0000)] 
Make sqlite3SafetyOn() and sqlite3SafetyOff() macros which disappear when
compiling without -DSQLITE_DEBUG=1. (CVS 4744)

FossilOrigin-Name: 5375ad6b4b652f388469b0ce4e8e78b3f49169bd

17 years agoImproved test coverage for the tokenizer and sqlite3_complete() interface.
drh [Tue, 22 Jan 2008 23:37:09 +0000 (23:37 +0000)] 
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

17 years agoAdd the fault injector module in fault.c. Use it as a basis for memory
drh [Tue, 22 Jan 2008 21:30:53 +0000 (21:30 +0000)] 
Add the fault injector module in fault.c.  Use it as a basis for memory
allocation failure testing. (CVS 4742)

FossilOrigin-Name: 1a335e180183b414fcc3510ce28b98b21cd134a6

17 years agoFix a bug introduced by checkin (4739). (CVS 4741)
drh [Tue, 22 Jan 2008 19:34:27 +0000 (19:34 +0000)] 
Fix a bug introduced by checkin (4739). (CVS 4741)

FossilOrigin-Name: c8394ac24b87707fa7f2e3cb43ad8efb65d2595e

17 years agoDetect and report a particular type of database corruption that would
drh [Tue, 22 Jan 2008 16:35:36 +0000 (16:35 +0000)] 
Detect and report a particular type of database corruption that would
formerly cause a segfault. (CVS 4740)

FossilOrigin-Name: f47cf3cc5c70ffb70795e9412e6eaeaf044c3559

17 years agoDetect and report a particular type of database corruption that would
drh [Tue, 22 Jan 2008 16:35:36 +0000 (16:35 +0000)] 
Detect and report a particular type of database corruption that would
formerly cause a segfault. (CVS 4739)

FossilOrigin-Name: 6ed2d9f82e2c81d5f6c22a4e05c1a2cb5eedd10c

17 years agoRemove dead code from the lemon-generated parser. Better testing
drh [Tue, 22 Jan 2008 14:50:16 +0000 (14:50 +0000)] 
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

17 years agoMove the test (sqlite3_simulate_device) functionality out of the main code and into...
danielk1977 [Tue, 22 Jan 2008 11:50:13 +0000 (11:50 +0000)] 
Move the test (sqlite3_simulate_device) functionality out of the main code and into a test vfs. (CVS 4737)

FossilOrigin-Name: 17e7bd6c3f507ffc6b56f54ae8c70730e8246f39

17 years agoChanges to lemon to generate additional comments in the output file and
drh [Tue, 22 Jan 2008 01:48:05 +0000 (01:48 +0000)] 
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

17 years agoAdditional test cases for the RTRIM collation. (CVS 4735)
drh [Mon, 21 Jan 2008 16:47:16 +0000 (16:47 +0000)] 
Additional test cases for the RTRIM collation. (CVS 4735)

FossilOrigin-Name: 51452d20f99ecbe0fdb73cfafde5270711aeacad

17 years agoMiscellaneous test coverage improvements. (CVS 4734)
drh [Mon, 21 Jan 2008 16:22:45 +0000 (16:22 +0000)] 
Miscellaneous test coverage improvements. (CVS 4734)

FossilOrigin-Name: 720bc20a11275ffe139df9203f23e0683b9b4db1

17 years agoRemove some unused branches from internal function sqlite3PagerDontRollback(). (CVS...
danielk1977 [Mon, 21 Jan 2008 13:04:34 +0000 (13:04 +0000)] 
Remove some unused branches from internal function sqlite3PagerDontRollback(). (CVS 4733)

FossilOrigin-Name: 3d4252b06b42151874ee437c3a484e818232a5c9

17 years agoAdd the RTRIM collating sequence. Only implemented for UTF8. Still
drh [Sun, 20 Jan 2008 23:19:56 +0000 (23:19 +0000)] 
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

17 years agoAdditional test coverage improvements. Test coverage now stands at 98.73%. (CVS...
drh [Sat, 19 Jan 2008 23:50:26 +0000 (23:50 +0000)] 
Additional test coverage improvements.  Test coverage now stands at 98.73%. (CVS 4731)

FossilOrigin-Name: 010f7b780cb9c8f21af9ce810494fbd2be98a13f

17 years agoMiscellaneous code simplifications and cleanup and test coverage
drh [Sat, 19 Jan 2008 20:11:25 +0000 (20:11 +0000)] 
Miscellaneous code simplifications and cleanup and test coverage
enhancements. (CVS 4730)

FossilOrigin-Name: af129b6d158cc90ce9752dd6383c1de47f7b3e43

17 years agoCleanup and simplification of constraint processing. Simplifications
drh [Sat, 19 Jan 2008 03:35:58 +0000 (03:35 +0000)] 
Cleanup and simplification of constraint processing.  Simplifications
to the VM for better test coverage. (CVS 4729)

FossilOrigin-Name: d9ebe9d78c558af050c44ac4437ce0ef8193a4a8

17 years agoFix test instrumentation problems on shared_err.test. (CVS 4728)
drh [Fri, 18 Jan 2008 17:03:32 +0000 (17:03 +0000)] 
Fix test instrumentation problems on shared_err.test. (CVS 4728)

FossilOrigin-Name: 5aef5b0dd8e44a56f84fbc6f843016bca5101987

17 years agoRemove an absolute path from crash5.test. (CVS 4727)
danielk1977 [Fri, 18 Jan 2008 14:17:20 +0000 (14:17 +0000)] 
Remove an absolute path from crash5.test. (CVS 4727)

FossilOrigin-Name: 42d8a377551baef01fb4e80f35fc12f9454a3cd4

17 years agoRemove the OP_HexBlob instruction and code OP_Blob directly. Reduce
drh [Fri, 18 Jan 2008 14:08:24 +0000 (14:08 +0000)] 
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

17 years agoAdd a test (and fix) for possible corruption if malloc() fails during a CREATE INDEX...
danielk1977 [Fri, 18 Jan 2008 13:42:54 +0000 (13:42 +0000)] 
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

17 years agoAdd a couple of missing calls to pagerLeave(). (CVS 4724)
danielk1977 [Fri, 18 Jan 2008 11:33:16 +0000 (11:33 +0000)] 
Add a couple of missing calls to pagerLeave(). (CVS 4724)

FossilOrigin-Name: 87534dfff9e7a37c624a83c79f4074f29ff16c9e

17 years agoFix a bug in the test scripts that was preventing many scripts from
drh [Fri, 18 Jan 2008 02:31:56 +0000 (02:31 +0000)] 
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

17 years agoTest coverage for date.c. (CVS 4722)
drh [Thu, 17 Jan 2008 22:27:53 +0000 (22:27 +0000)] 
Test coverage for date.c. (CVS 4722)

FossilOrigin-Name: a676f949b68c968d7e71aceb060c1639b42ba680

17 years agoImproved test coverage in date.c. Report an error if a malloc
drh [Thu, 17 Jan 2008 20:26:46 +0000 (20:26 +0000)] 
Improved test coverage in date.c.  Report an error if a malloc
fails within strftime(). (CVS 4721)

FossilOrigin-Name: 495fb41626dfbfbeeb748675b9476a4f7cec6c7a

17 years agoRemove unused p4 element from the {quote: VdbeOpList} object. (CVS 4720)
drh [Thu, 17 Jan 2008 17:27:30 +0000 (17:27 +0000)] 
Remove unused p4 element from the {quote: VdbeOpList} object. (CVS 4720)

FossilOrigin-Name: 1c37d7b69b672987a6974f4193f933666f4f0c3a

17 years agoReuse registers better in the inner loop of a SELECT statement. (CVS 4719)
drh [Thu, 17 Jan 2008 17:15:56 +0000 (17:15 +0000)] 
Reuse registers better in the inner loop of a SELECT statement. (CVS 4719)

FossilOrigin-Name: 5ba4e5adf638c6812a2813961ea30a11a670409c

17 years agoRegisterification of the VDBE is complete. The operand stack has been
drh [Thu, 17 Jan 2008 16:22:13 +0000 (16:22 +0000)] 
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

17 years agoRegisterification of the WHERE clause logic. (CVS 4717)
drh [Thu, 17 Jan 2008 02:36:28 +0000 (02:36 +0000)] 
Registerification of the WHERE clause logic. (CVS 4717)

FossilOrigin-Name: 5581160f43c60825d03de58e67aa66904d9d8964

17 years agoRegisterification of the WHERE clause logic. (CVS 4716)
drh [Thu, 17 Jan 2008 02:36:28 +0000 (02:36 +0000)] 
Registerification of the WHERE clause logic. (CVS 4716)

FossilOrigin-Name: b3a141b2b0c09bf3c7704deeade290d71b7c9b77

17 years agoUse 1<<$x instead of pow(2,$x) in the test suite code. (CVS 4715)
danielk1977 [Wed, 16 Jan 2008 18:20:41 +0000 (18:20 +0000)] 
Use 1<<$x instead of pow(2,$x) in the test suite code. (CVS 4715)

FossilOrigin-Name: 3a289b6d28bcf399845586b15f100d7c3a78b550

17 years agoGet all tests running without memory leaks. (CVS 4714)
drh [Wed, 16 Jan 2008 17:46:38 +0000 (17:46 +0000)] 
Get all tests running without memory leaks. (CVS 4714)

FossilOrigin-Name: 5807921f5a6e2e08f2c9e79aa91d8c587d64de74

17 years agoWork around using (regexp) in the (ifcapable) function of the test suite. So that...
danielk1977 [Wed, 16 Jan 2008 08:24:46 +0000 (08:24 +0000)] 
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

17 years agoFix for a couple of minor memory leaks. (CVS 4712)
drh [Tue, 15 Jan 2008 02:22:24 +0000 (02:22 +0000)] 
Fix for a couple of minor memory leaks. (CVS 4712)

FossilOrigin-Name: a13d3e953f1a3e451e8708a8ef064aa1d72cb4e9

17 years agoFix for ticket #2883. (CVS 4711)
drh [Mon, 14 Jan 2008 15:20:08 +0000 (15:20 +0000)] 
Fix for ticket #2883. (CVS 4711)

FossilOrigin-Name: 187f41f54d7cfbaa9f6ce3be4d213a454b600749

17 years agoFix some issues with out-of-memory recovery. (CVS 4710)
drh [Sun, 13 Jan 2008 19:02:11 +0000 (19:02 +0000)] 
Fix some issues with out-of-memory recovery. (CVS 4710)

FossilOrigin-Name: 23181f86896e7c9e993e00032e735e67ee6b2e71

17 years agoThe sqlite3_trace() callback now prints a message as each trigger fires
drh [Sat, 12 Jan 2008 21:35:57 +0000 (21:35 +0000)] 
The sqlite3_trace() callback now prints a message as each trigger fires
within a statement. (CVS 4709)

FossilOrigin-Name: 110c000d86bd4a0b4b946c62d11a435426b02d16

17 years agoContinuing work toward converting the VM to a register machine. (CVS 4708)
drh [Sat, 12 Jan 2008 19:03:48 +0000 (19:03 +0000)] 
Continuing work toward converting the VM to a register machine. (CVS 4708)

FossilOrigin-Name: 426f31ecdd05d1179a2e49c2ca1666011cede9c6

17 years agoContinuing work toward converting the VM into a register machine. (CVS 4707)
drh [Sat, 12 Jan 2008 12:48:07 +0000 (12:48 +0000)] 
Continuing work toward converting the VM into a register machine. (CVS 4707)

FossilOrigin-Name: a6dddebcc5ccbbf3009c9d06163a8b59036331de

17 years agoDo explicit range tests before attempting to convert a 64-bit float
drh [Fri, 11 Jan 2008 15:27:03 +0000 (15:27 +0000)] 
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

17 years agoAttempt to work around a bug in the Borland BCC 5.5.1 compiler. Ticket #2880. (CVS...
drh [Fri, 11 Jan 2008 00:06:10 +0000 (00:06 +0000)] 
Attempt to work around a bug in the Borland BCC 5.5.1 compiler.  Ticket #2880. (CVS 4705)

FossilOrigin-Name: 6de0ee49073c7a47d5e10495b569b33df76d1448

17 years agoMore work toward converting the VM into a register-based machine. (CVS 4704)
drh [Thu, 10 Jan 2008 23:50:11 +0000 (23:50 +0000)] 
More work toward converting the VM into a register-based machine. (CVS 4704)

FossilOrigin-Name: 8cbd46517f407b3b1ce187b623db10f00aa415ea

17 years agoContinuing work toward registerizing the code generator. (CVS 4703)
drh [Thu, 10 Jan 2008 03:46:36 +0000 (03:46 +0000)] 
Continuing work toward registerizing the code generator. (CVS 4703)

FossilOrigin-Name: 173698c963473ab1b9db88b23a2de82e4097b96d

17 years agoFix mixing quote excapes in an awk script. Ticket #2877. (CVS 4702)
drh [Thu, 10 Jan 2008 00:08:43 +0000 (00:08 +0000)] 
Fix mixing quote excapes in an awk script.  Ticket #2877. (CVS 4702)

FossilOrigin-Name: 05fbca91085cb1b271a05e62181596b4f6f1bb9e

17 years agoFix a test script problem associated with the new crash4.test file.
drh [Wed, 9 Jan 2008 23:21:25 +0000 (23:21 +0000)] 
Fix a test script problem associated with the new crash4.test file.
Ticket #2882. (CVS 4701)

FossilOrigin-Name: 1134c5ea7116bb2f342ccf09548d075c308c427b

17 years agoAll essential opcodes can now operate out of registers and completely
drh [Wed, 9 Jan 2008 23:04:12 +0000 (23:04 +0000)] 
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

17 years agoFix the build for AIX and other systems where "char" is unsigned by default. (CVS...
drh [Wed, 9 Jan 2008 18:31:45 +0000 (18:31 +0000)] 
Fix the build for AIX and other systems where "char" is unsigned by default. (CVS 4699)

FossilOrigin-Name: 47672af0c658573c6b305d224c6901058b8c0e00

17 years agoContinued work toward converting to a register-based VM. (CVS 4698)
drh [Wed, 9 Jan 2008 02:15:38 +0000 (02:15 +0000)] 
Continued work toward converting to a register-based VM. (CVS 4698)

FossilOrigin-Name: 92deff07bba2089bbe011f44defb3a0ac1362d56

17 years agoRegisterify the comparison opcodes. (CVS 4697)
drh [Tue, 8 Jan 2008 23:54:25 +0000 (23:54 +0000)] 
Registerify the comparison opcodes. (CVS 4697)

FossilOrigin-Name: 8862ce9ceefba4f5d1ffbd51d824c05f42a58c22

17 years agoFinish registerizing the core logic of INSERT and UPDATE. (CVS 4696)
drh [Tue, 8 Jan 2008 18:57:50 +0000 (18:57 +0000)] 
Finish registerizing the core logic of INSERT and UPDATE. (CVS 4696)

FossilOrigin-Name: 5fd1036788dbbc48ff1c746d2e1ba12b04a7e58c

17 years agoAdd crash4.test with additional crash testing. (CVS 4695)
drh [Tue, 8 Jan 2008 16:03:49 +0000 (16:03 +0000)] 
Add crash4.test with additional crash testing. (CVS 4695)

FossilOrigin-Name: 87b4ac4b73fb84411ced9e9a859dd0e2d211c4b3

17 years agoAdd additional randomness to crash tests. (CVS 4694)
drh [Tue, 8 Jan 2008 15:18:52 +0000 (15:18 +0000)] 
Add additional randomness to crash tests. (CVS 4694)

FossilOrigin-Name: 3ccce1f58be46787f8a35f0fa6d738ed126c0f07

17 years agoProgress toward registerification of the constraint checking logic for
drh [Tue, 8 Jan 2008 02:57:55 +0000 (02:57 +0000)] 
Progress toward registerification of the constraint checking logic for
INSERT and UPDATE. (CVS 4693)

FossilOrigin-Name: b9bf509e39f5ac38c2149d2a648f68e5df5ae9e3

17 years agoRegisterify the AUTOINCREMENT processing and the OP_IsNull and OP_NotNull
drh [Mon, 7 Jan 2008 19:20:24 +0000 (19:20 +0000)] 
Registerify the AUTOINCREMENT processing and the OP_IsNull and OP_NotNull
operators. (CVS 4692)

FossilOrigin-Name: aa48867cfa04da265b906e5b583bc7ac6b6a1157

17 years agoComment changes in select.c. (CVS 4691)
danielk1977 [Mon, 7 Jan 2008 10:16:40 +0000 (10:16 +0000)] 
Comment changes in select.c. (CVS 4691)

FossilOrigin-Name: 38020592f15c072e0d221ae2e0df13508ac4bd49

17 years agoRegisterify the SRT_Subroutine destination for SELECT results. (CVS 4690)
drh [Sun, 6 Jan 2008 00:25:21 +0000 (00:25 +0000)] 
Registerify the SRT_Subroutine destination for SELECT results. (CVS 4690)

FossilOrigin-Name: 8201f71729c3afbb41764cea3cda65b03150cb0c

17 years agoModify OP_RegMakeRec to take a base register and count and optionally
drh [Sat, 5 Jan 2008 18:48:24 +0000 (18:48 +0000)] 
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

17 years agoFix a memory leak introduced with #4687. (CVS 4688)
danielk1977 [Sat, 5 Jan 2008 18:44:29 +0000 (18:44 +0000)] 
Fix a memory leak introduced with #4687. (CVS 4688)

FossilOrigin-Name: 2b98b0fca82e285ae6b38384587aafa27985fa34