]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
17 years agoAllow SQLITE_MAX_COLUMN to be set to zero at compile-time in order to
drh [Mon, 28 Apr 2008 20:35:48 +0000 (20:35 +0000)] 
Allow SQLITE_MAX_COLUMN to be set to zero at compile-time in order to
disable the checks.  Also SQLITE_MAX_EXPR_DEPTH.  Ticket #3069. (CVS 5065)

FossilOrigin-Name: e6f71abb22fb74e5910d817caec98fa44070fc5f

17 years agoAdd test cases to verify that multiple virtual tables can be updated
drh [Mon, 28 Apr 2008 20:27:53 +0000 (20:27 +0000)] 
Add test cases to verify that multiple virtual tables can be updated
within a trigger and that xSync, xCommit, and xRollback are never called
except following xBegin or xCreate.  Ticket #3083. (CVS 5064)

FossilOrigin-Name: 76175199ac2fda57e616eb386ba0bad6aa9f74b4

17 years agoMake sure that transactions are started on all virtual tables that
drh [Mon, 28 Apr 2008 18:46:43 +0000 (18:46 +0000)] 
Make sure that transactions are started on all virtual tables that
changes in a single statement, not just the first.  Ticket #3083.
Need to add test cases. (CVS 5063)

FossilOrigin-Name: 133b7ee50ea6012739ebe0e334374c5d9b1fcc7f

17 years agoModified Varint32 functions to disable code for single-byte handling as it is already...
shane [Mon, 28 Apr 2008 17:41:30 +0000 (17:41 +0000)] 
Modified Varint32 functions to disable code for single-byte handling as it is already handled by their respective macro forms. (CVS 5062)

FossilOrigin-Name: be10f5dda6e9c245c05b51840c173e83ece6b245

17 years agoAdd tests to create and drop a virtual table during a recursive call from
drh [Mon, 28 Apr 2008 17:12:10 +0000 (17:12 +0000)] 
Add tests to create and drop a virtual table during a recursive call from
an application-defined function.  Ticket #3080. (CVS 5061)

FossilOrigin-Name: d4d6eff353edd5680776436ab3406227b8c830b3

17 years agoChange the implementation of the NaN recognition to be more cross-platform.
drh [Mon, 28 Apr 2008 16:55:26 +0000 (16:55 +0000)] 
Change the implementation of the NaN recognition to be more cross-platform.
Ticket #3089. (CVS 5060)

FossilOrigin-Name: 07fd9a8c6ca0876f7ec447ce65173957005dc75c

17 years agoFix a shared-cache mode problem triggered when sqlite3_open16() was used to open...
danielk1977 [Mon, 28 Apr 2008 16:19:35 +0000 (16:19 +0000)] 
Fix a shared-cache mode problem triggered when sqlite3_open16() was used to open the second or subsequent connections to a utf-8 database. (CVS 5059)

FossilOrigin-Name: 20946bf6dd704416c41edd863103e85fc7ab4ef2

17 years agoWork around a NaN bug in some versions of Tcl. (CVS 5058)
drh [Mon, 28 Apr 2008 15:23:02 +0000 (15:23 +0000)] 
Work around a NaN bug in some versions of Tcl. (CVS 5058)

FossilOrigin-Name: 7bf8213ce9f591f4c2ef6c1e19a17712e3bae9e3

17 years agoChanges to test scripts to accommodate different architectures and different
drh [Mon, 28 Apr 2008 13:02:57 +0000 (13:02 +0000)] 
Changes to test scripts to accommodate different architectures and different
versions of Tcl. (CVS 5057)

FossilOrigin-Name: 8eb2c07c520c12c2cd4610596dbec451c8275e95

17 years agoRestore the #include of stdint.h removed in (5051). (CVS 5056)
drh [Mon, 28 Apr 2008 12:54:15 +0000 (12:54 +0000)] 
Restore the #include of stdint.h removed in (5051). (CVS 5056)

FossilOrigin-Name: e96e8b9b4137c3ea239674683cf9fd8682851908

17 years agoDelete requirement F12764 as it has never been implemented and the
drh [Sun, 27 Apr 2008 22:48:04 +0000 (22:48 +0000)] 
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

17 years agoFix the documentation to agree with long-standing behavior for the
drh [Sun, 27 Apr 2008 22:29:01 +0000 (22:29 +0000)] 
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

17 years agoAllow multiple occurrances of %include in lemon input files.
drh [Sun, 27 Apr 2008 22:19:44 +0000 (22:19 +0000)] 
Allow multiple occurrances of %include in lemon input files.
Ticket #3001. (CVS 5053)

FossilOrigin-Name: f22fa11bde0b77cfc5ff438f2ec6ab95dc87c291

17 years agoFix the lemon parser generator so that it works again with the "error"
drh [Sun, 27 Apr 2008 18:45:10 +0000 (18:45 +0000)] 
Fix the lemon parser generator so that it works again with the "error"
symbol.  Ticket #3079 (CVS 5052)

FossilOrigin-Name: 20ed749266d099eb35f40ca479db8baa75186b60

17 years agoRemove all references to sqlite3_intptr_t. (CVS 5051)
drh [Sun, 27 Apr 2008 18:40:11 +0000 (18:40 +0000)] 
Remove all references to sqlite3_intptr_t. (CVS 5051)

FossilOrigin-Name: 6a94d19747a05df2694d3720f76de3dab3836578

17 years agoUse "(void)" function arguments in declarations instead of "()". Both are
drh [Sat, 26 Apr 2008 13:39:46 +0000 (13:39 +0000)] 
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

17 years agoClarify some comments. No changes to code. (CVS 5049)
drh [Fri, 25 Apr 2008 12:25:42 +0000 (12:25 +0000)] 
Clarify some comments.  No changes to code. (CVS 5049)

FossilOrigin-Name: 7f80539225b17a62e4aa09e6d514e3e9e1b22c36

17 years agoAdd test cases to prove that ticket #3082 has been fixed. (CVS 5048)
drh [Fri, 25 Apr 2008 12:10:15 +0000 (12:10 +0000)] 
Add test cases to prove that ticket #3082 has been fixed. (CVS 5048)

FossilOrigin-Name: 776e7024101dd2eeb29484a36c7e1ac751444ec8

17 years agoCandidate fix for ticket #3082. Test cases needed. (CVS 5047)
drh [Fri, 25 Apr 2008 00:08:38 +0000 (00:08 +0000)] 
Candidate fix for ticket #3082. Test cases needed. (CVS 5047)

FossilOrigin-Name: f6313311ddfb1ee2d6660b9be99afe721a8a9aff

17 years agoRemove two more unused files. (CVS 5046)
drh [Thu, 24 Apr 2008 22:57:28 +0000 (22:57 +0000)] 
Remove two more unused files. (CVS 5046)

FossilOrigin-Name: a400faf51970b312e9d8c8b4fa099558cc620b69

17 years agoConsolidated varint macro usage from btreeInt.h, vdbe.c, and vdbeaux.c into sqliteInt...
shane [Thu, 24 Apr 2008 19:15:09 +0000 (19:15 +0000)] 
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

17 years agoFix a problem with the test scripts caused by not cleaning up the global tcl namespac...
danielk1977 [Thu, 24 Apr 2008 12:38:28 +0000 (12:38 +0000)] 
Fix a problem with the test scripts caused by not cleaning up the global tcl namespace. (CVS 5044)

FossilOrigin-Name: 440492395854a0886ef954ef2ed638bf587c6f03

17 years agoFix an assert() failure that can occur if "journal_mode=off" is used in a build with...
danielk1977 [Thu, 24 Apr 2008 12:37:40 +0000 (12:37 +0000)] 
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

17 years agoFix a crash that can follow a malloc() failure in malloc7.test. (CVS 5042)
danielk1977 [Thu, 24 Apr 2008 12:36:35 +0000 (12:36 +0000)] 
Fix a crash that can follow a malloc() failure in malloc7.test. (CVS 5042)

FossilOrigin-Name: 85eedad186327a1f0b0983413b833efd41640d0e

17 years agoEnsure that it is not possible to open either virtual table or view columns using...
danielk1977 [Thu, 24 Apr 2008 09:49:55 +0000 (09:49 +0000)] 
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

17 years agoMinor change to comment on sqlite3_blob_read(). No code changes. Ticket #3072. (CVS...
danielk1977 [Thu, 24 Apr 2008 08:56:54 +0000 (08:56 +0000)] 
Minor change to comment on sqlite3_blob_read(). No code changes. Ticket #3072. (CVS 5040)

FossilOrigin-Name: adb4bc5a7dd56e625b20c48a7416f2b3480f4de1

17 years agoRemove redundant assert() statement from vdbeaux.c. Ticket #3065. (CVS 5039)
danielk1977 [Thu, 24 Apr 2008 08:36:51 +0000 (08:36 +0000)] 
Remove redundant assert() statement from vdbeaux.c. Ticket #3065. (CVS 5039)

FossilOrigin-Name: 3cba1166076bf0506597e2d7686a271922817668

17 years agoAdd version comment to vdbeaux.c. No code changes. Ticket #3066. (CVS 5038)
danielk1977 [Thu, 24 Apr 2008 08:31:51 +0000 (08:31 +0000)] 
Add version comment to vdbeaux.c. No code changes. Ticket #3066. (CVS 5038)

FossilOrigin-Name: d667add44b87f9011b0ef10d45101dfc1e38feaa

17 years agoWe should better not pass open file handles to child processes, so add respective...
pweilbacher [Wed, 23 Apr 2008 23:03:10 +0000 (23:03 +0000)] 
We should better not pass open file handles to child processes, so add respective flag for DosOpen(). (CVS 5037)

FossilOrigin-Name: 1518e8542cebd977d46e720544bfad16d3f8895e

17 years agoAlways sync the journal file after zeroing out the header. (CVS 5036)
drh [Tue, 22 Apr 2008 17:15:17 +0000 (17:15 +0000)] 
Always sync the journal file after zeroing out the header. (CVS 5036)

FossilOrigin-Name: 5896ae3d68d29dc172c027c72aa2a98ced2b7eb8

17 years agoAvoid non-contiguous writes when creating a journal header. (CVS 5035)
danielk1977 [Tue, 22 Apr 2008 14:31:48 +0000 (14:31 +0000)] 
Avoid non-contiguous writes when creating a journal header. (CVS 5035)

FossilOrigin-Name: dfacddbb5055b4e104bf536d5f5b35287fbbb904

17 years agoAdd some tests for journal_mode=off. Need to come up with a way of handling
drh [Sat, 19 Apr 2008 20:53:26 +0000 (20:53 +0000)] 
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

17 years agoContinuing work on journal_mode. Journal_mode=persist now appears to be
drh [Sat, 19 Apr 2008 20:34:18 +0000 (20:34 +0000)] 
Continuing work on journal_mode.  Journal_mode=persist now appears to be
working, though additional testing would be welcomed. (CVS 5033)

FossilOrigin-Name: 277e4099cee9105e1801a6d7f5d477f0d2efa858

17 years agoComment and variable-name cleanup in where.c. Add testcase() macros to
drh [Sat, 19 Apr 2008 14:40:43 +0000 (14:40 +0000)] 
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

17 years agoFix a typo in the documentation on sqlite3_open_v2(). (CVS 5031)
drh [Sat, 19 Apr 2008 14:06:28 +0000 (14:06 +0000)] 
Fix a typo in the documentation on sqlite3_open_v2(). (CVS 5031)

FossilOrigin-Name: f7b62daa9fe71dc713bde107507fc7bcb812d62b

17 years agoRemove unused code from OP_IdxLt and OP_IdxGE. (CVS 5030)
danielk1977 [Fri, 18 Apr 2008 11:31:12 +0000 (11:31 +0000)] 
Remove unused code from OP_IdxLt and OP_IdxGE. (CVS 5030)

FossilOrigin-Name: df02175ec0f28d57942b8275b540ff855dfbeb09

17 years agoCombine cases 3 and 4 in where.c, since case 4 is now a special case of case 3. ...
danielk1977 [Fri, 18 Apr 2008 10:25:24 +0000 (10:25 +0000)] 
Combine cases 3 and 4 in where.c, since case 4 is now a special case of case 3. (CVS 5029)

FossilOrigin-Name: 9a976819246eb558ba43429f8889972c4a4bce9d

17 years agoAllow OP_MoveGt and similar to use an array of registers instead of a serialized...
danielk1977 [Fri, 18 Apr 2008 09:01:15 +0000 (09:01 +0000)] 
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

17 years agoContinuing progress on the journal_mode pragma. It still does not work. (CVS 5027)
drh [Thu, 17 Apr 2008 20:59:37 +0000 (20:59 +0000)] 
Continuing progress on the journal_mode pragma.  It still does not work. (CVS 5027)

FossilOrigin-Name: 4a72a7bb9c5793cdaf4ee038482053e042d8db54

17 years agoAdditional work on ticket #3015. The previous fix (check-in (4919)) did
drh [Thu, 17 Apr 2008 19:14:02 +0000 (19:14 +0000)] 
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

17 years agoFix a typo in the documentation for sqlite3_bind_text. Ticket #3056. (CVS 5025)
drh [Thu, 17 Apr 2008 17:03:25 +0000 (17:03 +0000)] 
Fix a typo in the documentation for sqlite3_bind_text.  Ticket #3056. (CVS 5025)

FossilOrigin-Name: 79571e2c74fa365b7f471428c48e1678375b8c9d

17 years agoAdd the journal_mode pragma. This is currently just syntax - it is not
drh [Thu, 17 Apr 2008 17:02:01 +0000 (17:02 +0000)] 
Add the journal_mode pragma.  This is currently just syntax - it is not
operational. (CVS 5024)

FossilOrigin-Name: 8eaa0c71023ac428f6f9f8091341584caa773ab9

17 years agoIn exclusive locking mode, commit by zeroing the first 28 bytes of the
drh [Thu, 17 Apr 2008 14:16:42 +0000 (14:16 +0000)] 
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

17 years agoAdd the -overwrite option to speedtest8.c. (CVS 5022)
drh [Wed, 16 Apr 2008 23:50:23 +0000 (23:50 +0000)] 
Add the -overwrite option to speedtest8.c. (CVS 5022)

FossilOrigin-Name: 6765ea52b33270a323c620b060cffd4f59004db1

17 years agoClear a global variable in the incrblob.test script. Ticket #3062. (CVS 5021)
drh [Wed, 16 Apr 2008 23:39:26 +0000 (23:39 +0000)] 
Clear a global variable in the incrblob.test script.  Ticket #3062. (CVS 5021)

FossilOrigin-Name: 1c19854ae7790a8a1d5c9cfe8b2cb71e2c19ce50

17 years agoFix the bind.test test script so that the tests for zeros embedded in
drh [Wed, 16 Apr 2008 16:11:49 +0000 (16:11 +0000)] 
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

17 years agoVersion 3.5.8 (CVS 5019)
drh [Wed, 16 Apr 2008 15:39:31 +0000 (15:39 +0000)] 
Version 3.5.8 (CVS 5019)

FossilOrigin-Name: 6a2e3eb26af63386ce32594e24f1ce5605cd1068

17 years agoAdd tests to verify that strings may use embedded zero characters.
drh [Wed, 16 Apr 2008 12:58:53 +0000 (12:58 +0000)] 
Add tests to verify that strings may use embedded zero characters.
Ticket #3056. (CVS 5018)

FossilOrigin-Name: bb0f9e92e427d4ae8ea143d3d3773c9552e63565

17 years agoAdd speed-test scripts that also show EXPLAIN output. (CVS 5017)
drh [Wed, 16 Apr 2008 12:57:48 +0000 (12:57 +0000)] 
Add speed-test scripts that also show EXPLAIN output. (CVS 5017)

FossilOrigin-Name: d11f5dafdaf7c18c43615d0ac018c7d221460244

17 years agoMake sure the database connection mutex is held before calling
drh [Wed, 16 Apr 2008 00:49:12 +0000 (00:49 +0000)] 
Make sure the database connection mutex is held before calling
sqlite3SafetyOn() or sqlite3SafetyOff().  Ticket #3059. (CVS 5016)

FossilOrigin-Name: d35dea059e2cb936e4277f513f036b9b0bdfc4a5

17 years agoBack out the zero-terminator optimization introduced in check-in (4915).
drh [Wed, 16 Apr 2008 00:28:13 +0000 (00:28 +0000)] 
Back out the zero-terminator optimization introduced in check-in (4915).
Ticket #3056. (CVS 5015)

FossilOrigin-Name: cce8deae2d556916e2817e0cb9748dceb162085d

17 years agoSupport UTF-8 filenames on OS/2 by converting them to and from the local codepage...
pweilbacher [Tue, 15 Apr 2008 18:50:02 +0000 (18:50 +0000)] 
Support UTF-8 filenames on OS/2 by converting them to and from the local codepage. Ticket 3052. (CVS 5014)

FossilOrigin-Name: cafa8ac2687890355a7faa751d71859eb0fadd01

17 years agoIncrement the version number. (CVS 5013)
drh [Tue, 15 Apr 2008 14:37:51 +0000 (14:37 +0000)] 
Increment the version number. (CVS 5013)

FossilOrigin-Name: a12fa0252c1bc45a116d0123758ef639cc8e451b

17 years agoDo not attempt to omit unused columns of a view in an instead-of trigger
drh [Tue, 15 Apr 2008 14:36:42 +0000 (14:36 +0000)] 
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

17 years agoFix a code generator bug caused by the new CSE optimization. Add test cases
drh [Tue, 15 Apr 2008 12:14:21 +0000 (12:14 +0000)] 
Fix a code generator bug caused by the new CSE optimization.  Add test cases
to prevent a recurrence. (CVS 5011)

FossilOrigin-Name: d04246a46399e839e70b1bd57e209f80143f0d5b

17 years agoFix a bug in the RTRIM collating sequence discovered while working
drh [Tue, 15 Apr 2008 04:02:40 +0000 (04:02 +0000)] 
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

17 years agoAdd out-of-range tests on the first parameter to sqlite3_limit().
drh [Tue, 15 Apr 2008 02:36:33 +0000 (02:36 +0000)] 
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

17 years agoAdd a test case to cover the bug fixed in check-in (5007). (CVS 5008)
drh [Tue, 15 Apr 2008 00:01:59 +0000 (00:01 +0000)] 
Add a test case to cover the bug fixed in check-in (5007). (CVS 5008)

FossilOrigin-Name: 1863e87c40499ee3d9fd9cba6670e9a0e946d390

17 years agoDo not attempt to write to temporary database files that have never
drh [Mon, 14 Apr 2008 23:13:45 +0000 (23:13 +0000)] 
Do not attempt to write to temporary database files that have never
been opened. (CVS 5007)

FossilOrigin-Name: 7bb9a4165afb96043dfeffad21eb51591a1fd2dd

17 years agoFix #3053: bashism (CVS 5006)
mlcreech [Mon, 14 Apr 2008 22:57:55 +0000 (22:57 +0000)] 
Fix #3053: bashism (CVS 5006)

FossilOrigin-Name: 7217cecee71fbc992acd07b4ac90c1929e2207ae

17 years agoFix alignment issue in instrumentation code. (CVS 5005)
danielk1977 [Mon, 14 Apr 2008 17:42:41 +0000 (17:42 +0000)] 
Fix alignment issue in instrumentation code. (CVS 5005)

FossilOrigin-Name: c9e0d625bcf3ff24229d7f011b4cfbd8d8140d16

17 years agoDo not set the pager to persistent error state if a call to OsAccess() fails. (CVS...
danielk1977 [Mon, 14 Apr 2008 16:37:10 +0000 (16:37 +0000)] 
Do not set the pager to persistent error state if a call to OsAccess() fails. (CVS 5004)

FossilOrigin-Name: aa16eb572915632bfff88d544f9c428ca723346e

17 years agoMake sure the page size in crash6.test does not exceed the maximum
drh [Mon, 14 Apr 2008 15:27:19 +0000 (15:27 +0000)] 
Make sure the page size in crash6.test does not exceed the maximum
configured page size. (CVS 5003)

FossilOrigin-Name: 36b6610b25997074f398a2f2ddcdd6ace8c83fba

17 years agoFree Mem.z buffers when a vdbe statement is reset. (CVS 5002)
danielk1977 [Mon, 14 Apr 2008 15:15:22 +0000 (15:15 +0000)] 
Free Mem.z buffers when a vdbe statement is reset. (CVS 5002)

FossilOrigin-Name: 0bedbe092aa3079dc49157a9bcaa7716b00e0bdb

17 years agoCleanup some #ifdefs to make their meaning clearly. No logical changes. (CVS 5001)
drh [Mon, 14 Apr 2008 14:34:44 +0000 (14:34 +0000)] 
Cleanup some #ifdefs to make their meaning clearly.  No logical changes. (CVS 5001)

FossilOrigin-Name: b8bc5f3a83408375cfbff90e2c574fb8996dfbd9

17 years agoDisable auto_vacuum during the vacuum3 test. (CVS 5000)
drh [Mon, 14 Apr 2008 13:42:39 +0000 (13:42 +0000)] 
Disable auto_vacuum during the vacuum3 test. (CVS 5000)

FossilOrigin-Name: e2e1ca818c5f77abdb423aebe34eea80b2fb84b2

17 years agoGet the SQLITE_SECURE_DELETE compile-time option working again.
drh [Mon, 14 Apr 2008 01:00:57 +0000 (01:00 +0000)] 
Get the SQLITE_SECURE_DELETE compile-time option working again.
Ticket #3050. (CVS 4999)

FossilOrigin-Name: 40ba51fd4c621e29e7ff85495b1212c92f06ab31

17 years agoFix build errors in test_osinst (CVS 4998)
mlcreech [Sun, 13 Apr 2008 23:13:39 +0000 (23:13 +0000)] 
Fix build errors in test_osinst (CVS 4998)

FossilOrigin-Name: f047399799798e693ef75c472144f30a0175b662

17 years agoModify speedtest8.c so that it can use the logging from test_osinst.c when HAVE_OSINS...
danielk1977 [Sat, 12 Apr 2008 16:03:37 +0000 (16:03 +0000)] 
Modify speedtest8.c so that it can use the logging from test_osinst.c when HAVE_OSINST is defined. (CVS 4997)

FossilOrigin-Name: 7622d74ad6088de4d94cb727b60ac4a042c52016

17 years agoRemove all instances of sprintf() from the FTS modules. Ticket #3049. (CVS 4996)
drh [Sat, 12 Apr 2008 13:06:09 +0000 (13:06 +0000)] 
Remove all instances of sprintf() from the FTS modules.  Ticket #3049. (CVS 4996)

FossilOrigin-Name: 062bf5d44d53ae0ee2bf96eddcc8de09157aa789

17 years agoModify test_osinst.c so that it only uses public interfaces. (CVS 4995)
danielk1977 [Sat, 12 Apr 2008 11:30:12 +0000 (11:30 +0000)] 
Modify test_osinst.c so that it only uses public interfaces. (CVS 4995)

FossilOrigin-Name: 3866a5da2bdcfafe956e1a9bf117f3277207de05

17 years agoAdd a logfile option to test_osinst.c. (CVS 4994)
danielk1977 [Sat, 12 Apr 2008 10:53:11 +0000 (10:53 +0000)] 
Add a logfile option to test_osinst.c. (CVS 4994)

FossilOrigin-Name: f97d89458259978b7b1b5c5e5a0d19cabcb9e536

17 years agoAdd the speedtest8inst1.c program for running speed tests with an
drh [Fri, 11 Apr 2008 21:20:48 +0000 (21:20 +0000)] 
Add the speedtest8inst1.c program for running speed tests with an
instrumented VFS. (CVS 4993)

FossilOrigin-Name: baa8056c67c03ac78a1ed6da5a46fda793340739

17 years agoFaster implementation of hexToInt that uses not branches. Ticket #3047. (CVS 4992)
drh [Fri, 11 Apr 2008 19:37:55 +0000 (19:37 +0000)] 
Faster implementation of hexToInt that uses not branches.  Ticket #3047. (CVS 4992)

FossilOrigin-Name: a70e9587569c99dd05e79c6745ff930aa31d763c

17 years agoAvoid the use of uninitialized variables in sqlite3GenerateRowIndexDelete.
drh [Fri, 11 Apr 2008 19:18:24 +0000 (19:18 +0000)] 
Avoid the use of uninitialized variables in sqlite3GenerateRowIndexDelete.
Ticket #3048. (CVS 4991)

FossilOrigin-Name: a93b7a344a713a9ed9d72be4707eb28c2979648c

17 years agoRemove a recently added assert() that is failing with certain compilers on 32-bit...
danielk1977 [Fri, 11 Apr 2008 17:15:46 +0000 (17:15 +0000)] 
Remove a recently added assert() that is failing with certain compilers on 32-bit platforms. Ticket #3043. (CVS 4990)

FossilOrigin-Name: 03c0279d7b004ccc4264143e366c793b4d774f9f

17 years agoRemove entries from the sqlite_stat1 table whenever an index is dropped. Related...
danielk1977 [Fri, 11 Apr 2008 17:11:26 +0000 (17:11 +0000)] 
Remove entries from the sqlite_stat1 table whenever an index is dropped. Related to #3033. (CVS 4989)

FossilOrigin-Name: 349aab42c7896f04ecb6ca33f08a4c194051e837

17 years agoAdditional reductions in the use of memset(). (CVS 4988)
drh [Fri, 11 Apr 2008 15:36:03 +0000 (15:36 +0000)] 
Additional reductions in the use of memset(). (CVS 4988)

FossilOrigin-Name: 38746c54385e3cb456cda660ea50769b5424db30

17 years agoSpeed improvements by removing unnecessary memset() operations.
drh [Fri, 11 Apr 2008 14:56:53 +0000 (14:56 +0000)] 
Speed improvements by removing unnecessary memset() operations.
Also: do not resize the opcode array of a virtual machine to its
minimum size after code generation completes.  The extra resize
merely uses time. (CVS 4987)

FossilOrigin-Name: 2589955507fc1717891c4e07d1d658eb41660b87

17 years agoEnhancements to the change counter tests. Ticket #3013. (CVS 4986)
drh [Thu, 10 Apr 2008 18:44:36 +0000 (18:44 +0000)] 
Enhancements to the change counter tests.  Ticket #3013. (CVS 4986)

FossilOrigin-Name: 1aaed6a4694f60ebcec5dee98f09fe756c81dfa4

17 years agoCorrectly handle virtual tables that are created and dropped all within
drh [Thu, 10 Apr 2008 18:35:21 +0000 (18:35 +0000)] 
Correctly handle virtual tables that are created and dropped all within
a single transaction.  Ticket #2994. (CVS 4985)

FossilOrigin-Name: 0acb1b428d1181f597a2a665cae3eef5775f15f1

17 years agoAdd the --ostrace and --ossummary options to tester.tcl. To log calls the vfs layer...
danielk1977 [Thu, 10 Apr 2008 17:27:38 +0000 (17:27 +0000)] 
Add the --ostrace and --ossummary options to tester.tcl. To log calls the vfs layer from within test scripts. (CVS 4984)

FossilOrigin-Name: e1322415d0ca2d6b45f35ef9257b37161ec043e2

17 years agoEnhanced testing and documentation of sqlite3_result_error_code().
drh [Thu, 10 Apr 2008 17:14:07 +0000 (17:14 +0000)] 
Enhanced testing and documentation of sqlite3_result_error_code().
Ticket #2940. (CVS 4983)

FossilOrigin-Name: 5be56dbe879f89351239accf5069e4cb166e0792

17 years agoDisable nuisance warnings on borland compilers. ticket #2936. (CVS 4982)
drh [Thu, 10 Apr 2008 16:47:41 +0000 (16:47 +0000)] 
Disable nuisance warnings on borland compilers.  ticket #2936. (CVS 4982)

FossilOrigin-Name: 1e094ecfd7c6feaf8d524aa3c1477910b2328946

17 years agoMake sure check-in (4976) also fixes ticket #2935. (CVS 4981)
drh [Thu, 10 Apr 2008 16:42:58 +0000 (16:42 +0000)] 
Make sure check-in (4976) also fixes ticket #2935. (CVS 4981)

FossilOrigin-Name: e3f798b1cafc3458941cf86ac4f9d4269fdf5b7e

17 years agoGive file scope to the sqlite3Apis constant. Ticket #3024. (CVS 4980)
drh [Thu, 10 Apr 2008 16:01:10 +0000 (16:01 +0000)] 
Give file scope to the sqlite3Apis constant.  Ticket #3024. (CVS 4980)

FossilOrigin-Name: 30c5086068071385c13f02b3d33511127968335b

17 years agoVerify that a RAISE(ROLLBACK,...) works like RAISE(FAIL,...) when not
drh [Thu, 10 Apr 2008 15:12:45 +0000 (15:12 +0000)] 
Verify that a RAISE(ROLLBACK,...) works like RAISE(FAIL,...) when not
inside a transaction.  Ticket #3035. (CVS 4979)

FossilOrigin-Name: 87dc82d0436c6c3a9bd67544d52911012a5a7c66

17 years agoMake sure all memory allocations are 8-byte aligned. Ticket #3040.
drh [Thu, 10 Apr 2008 14:57:24 +0000 (14:57 +0000)] 
Make sure all memory allocations are 8-byte aligned.  Ticket #3040.
Note that the mem3.c memory allocator returns 4-byte aligned memory
allocations.  But as mem3.c is intended for use in 32-bit embedded
systems, we are not going to change that. (CVS 4978)

FossilOrigin-Name: d11e8e307af906db75ae7aede790464fabd06422

17 years agoAdd source file test_osinst.c. A wrapper vfs with instrumentation capabilities. ...
danielk1977 [Thu, 10 Apr 2008 14:51:00 +0000 (14:51 +0000)] 
Add source file test_osinst.c. A wrapper vfs with instrumentation capabilities. (CVS 4977)

FossilOrigin-Name: d9a6b653d3cb608610f13d2492fe9b3887acb3b9

17 years agoMake sure changes to virtual tables are counted the same as real tables.
drh [Thu, 10 Apr 2008 14:00:09 +0000 (14:00 +0000)] 
Make sure changes to virtual tables are counted the same as real tables.
Ticket #3038. (CVS 4976)

FossilOrigin-Name: 55591fc49c8ab8146c1f3eff733e637501bff627

17 years agoFix to the "copy" method in the TCL interface. Ticket #3039. (CVS 4975)
drh [Thu, 10 Apr 2008 13:42:56 +0000 (13:42 +0000)] 
Fix to the "copy" method in the TCL interface.  Ticket #3039. (CVS 4975)

FossilOrigin-Name: 6f07968ec4c9d773a852ecc8343df416d17af2a4

17 years agoDocument the fast that the result flag combinations to
drh [Thu, 10 Apr 2008 13:38:17 +0000 (13:38 +0000)] 
Document the fast that the result flag combinations to
sqlite3_open_v2() that are not defined in the documentation results
in undefined behavior.  Ticket #3037. (CVS 4974)

FossilOrigin-Name: b390e1f7f8d2b530a6765f2ab6804335c5550870

17 years agoFirst cut at optimizing single-row updates to use a one-pass algorithm. (CVS 4973)
drh [Thu, 10 Apr 2008 13:33:18 +0000 (13:33 +0000)] 
First cut at optimizing single-row updates to use a one-pass algorithm. (CVS 4973)

FossilOrigin-Name: fba97f7874d723111e873d1470fc1a95e64f922d

17 years agoAdd three new test cases to speed4p.test. Two of the three do single-row
drh [Thu, 10 Apr 2008 13:32:36 +0000 (13:32 +0000)] 
Add three new test cases to speed4p.test.  Two of the three do single-row
updates based on rowid and on primary key. (CVS 4972)

FossilOrigin-Name: a2da7f9ac24ed17329ce9bde2e521a5b945e4ec2

17 years agoFix a bug in the speed4p.test performance testing script. (CVS 4971)
drh [Thu, 10 Apr 2008 13:20:21 +0000 (13:20 +0000)] 
Fix a bug in the speed4p.test performance testing script. (CVS 4971)

FossilOrigin-Name: 80311594149af093f1719ec433a633c332a5955e

17 years agoReplace always-true condition with assertion (CVS 4970)
mlcreech [Tue, 8 Apr 2008 03:09:22 +0000 (03:09 +0000)] 
Replace always-true condition with assertion (CVS 4970)

FossilOrigin-Name: be7f3240c21c01509263005af2ccc3d7626fe729

17 years agoAdd test case for empty VFS list (CVS 4969)
mlcreech [Tue, 8 Apr 2008 03:07:54 +0000 (03:07 +0000)] 
Add test case for empty VFS list (CVS 4969)

FossilOrigin-Name: 6797814ec59fe819424e8e7f77779a719ecd82d3

17 years agoAdd the sqlite3PutVarint32 routine as an alternative to sqlite3PutVarint.
drh [Sat, 5 Apr 2008 18:41:42 +0000 (18:41 +0000)] 
Add the sqlite3PutVarint32 routine as an alternative to sqlite3PutVarint.
Gives 0.5% speed increase. (CVS 4968)

FossilOrigin-Name: b2517a7d8f7275943d44cc301f9d54fc8a4653e7

17 years agoSmaller and hopefully faster routine for converting blob literals into binary. (CVS...
drh [Fri, 4 Apr 2008 15:12:21 +0000 (15:12 +0000)] 
Smaller and hopefully faster routine for converting blob literals into binary. (CVS 4967)

FossilOrigin-Name: 92d49499ee3371db64267c7e2ba72a5e12ea76f3

17 years agoFix the output labels on the tests in malloc9. (CVS 4966)
drh [Fri, 4 Apr 2008 12:21:25 +0000 (12:21 +0000)] 
Fix the output labels on the tests in malloc9. (CVS 4966)

FossilOrigin-Name: 9987a7b193095dc90a83666bdac5e23105909cba