drh
94c3a2b16f
Use caution to avoid integer overflow when doing real to integer affinity
...
operations. Ticket #3922 . (CVS 6776)
FossilOrigin-Name: 392559465d499f491907ef7f42d37a1a6c699511
2009-06-17 16:20:04 +00:00
drh
042d6a1f0f
Fix a potential segfault following database corruption. Problem
...
made visible by check-in (6772). (CVS 6775)
FossilOrigin-Name: 69eb0ff817cff6266c53b79047bcff5e5d54b618
2009-06-17 13:57:16 +00:00
drh
0d588bbc38
Suppress some -Wextra compiler warnings from GCC. (CVS 6774)
...
FossilOrigin-Name: 59ec937ce226bbf6c48c5e0466d3bab48873c9ea
2009-06-17 13:09:38 +00:00
danielk1977
11a8a8660c
Fix a bug affecting secure-delete mode introduced by (6768). (CVS 6773)
...
FossilOrigin-Name: a433ca821c134caeac0fa16416eb95c647416b95
2009-06-17 11:49:52 +00:00
danielk1977
e576521d96
Fix for #3918 . Also, fix the TRACE macros in balance_nonroot(). (CVS 6772)
...
FossilOrigin-Name: 368e44ec2e648b04f3b817f82586ccd864e60c89
2009-06-17 11:13:28 +00:00
drh
b5092d18a4
A minor simplification to the tokenizer. (CVS 6771)
...
FossilOrigin-Name: 18f2076ac21dd0ab343a79461837f5591f9d4d87
2009-06-17 01:17:13 +00:00
drh
58fbb314ae
Changes to prepare.c and callback.c to promote better test coverage. (CVS 6770)
...
FossilOrigin-Name: 08cca219f16efab93cb00f04d2e2f8033893e5f1
2009-06-17 00:35:30 +00:00
drh
9da742f969
Changes sqlite3_prepare_v2() (and related routines) so that if it fails due
...
to a missing table and the schema is out of date, it retries once before
returning SQLITE_SCHEMA. Other changes to prepare.c to facilitate coverage
testing. (CVS 6769)
FossilOrigin-Name: 256ec3c6af41c2324db82e4deb54edbba5b581e8
2009-06-16 17:49:36 +00:00
danielk1977
4dbaa89005
Changes to balance_nonroot() and BtreeDelete() to simplify delete operations and reduce stack/heap usage while balancing b-tree structures. (CVS 6768)
...
FossilOrigin-Name: 092b276e7d89bbfa3d8637a90ee5d458935a12a9
2009-06-16 16:50:22 +00:00
shane
e26fa4c959
Fix a link error and warning that can occur in where.c when compiling under MSVC with SQLITE_OMIT_VIRTUALTABLE defined. Ticket #3914 . (CVS 6767)
...
FossilOrigin-Name: 793c93be16af535e102dba147125384f6814cf5f
2009-06-16 14:15:22 +00:00
danielk1977
0d7d3a3315
Leave out a redundant line in build.c. Ticket #3916 . (CVS 6766)
...
FossilOrigin-Name: d9f997aeb7a2195d0e16fe1555626918902b4f91
2009-06-16 04:35:39 +00:00
danielk1977
cb55799952
Remove a duplicate assert from btree.c. Ticket #3915 . (CVS 6765)
...
FossilOrigin-Name: d89542cd8b2efaea7c6be6cd7787d183c55ae36a
2009-06-16 04:31:49 +00:00
drh
f7828b5cd6
Additional updates to the symbol resolver and expression tree walker to
...
facilitate test coverage. (CVS 6764)
FossilOrigin-Name: a49c2d4befcc33dd98543fe7b4d4f0bae56f1a90
2009-06-15 23:15:59 +00:00
drh
0b3bf92417
Changes to allow a clean compile with no floating-point instructions
...
generated when SQLITE_OMIT_FLOATING_POINT is used. (CVS 6763)
FossilOrigin-Name: 1591b8322babebc45df3b799cc5e457288f28594
2009-06-15 20:45:34 +00:00
drh
73c0fdc7fa
Updates to resolve.c to facilitate full coverage testing. (CVS 6762)
...
FossilOrigin-Name: c50f0f28df1dfdccf1d159c983b616cd9b823955
2009-06-15 18:32:36 +00:00
shane
8509570763
Fix compiler warnings with MSVC build. (CVS 6761)
...
FossilOrigin-Name: e1e6430752449a34671b6c89326b03ac36ea6d9a
2009-06-15 16:27:08 +00:00
drh
1faecd9c50
Version 3.6.15 (CVS 6760)
...
FossilOrigin-Name: aff34826aa4667d24f0dbc8bea828dc0f84d2108
2009-06-15 03:28:57 +00:00
drh
0444610098
Update the configuration script for version 3.6.15. (CVS 6759)
...
FossilOrigin-Name: 14df65dc04e1a944baf4fb7185a0df5a96059346
2009-06-15 00:04:06 +00:00
drh
eac74428c1
Detect database corruption and abort balance_nonroot() before the
...
corruption causes problems. (CVS 6758)
FossilOrigin-Name: 3448b39dcd580880a9326414e7e4952c4fbc313d
2009-06-14 12:47:11 +00:00
drh
c53eed1703
Change lemon so that it does not generate yytestcase() macros on destructor
...
cases since destructors are commonly unreachable in a reasonable grammar.
For the reduce-rule switch, gather all no-ops into the "default:" case. (CVS 6757)
FossilOrigin-Name: caebfe82cb1b1215a85ed48fe97360c5422c52e0
2009-06-12 17:46:19 +00:00
drh
7501301e8d
The previous check-in ((6755)) put in more yytestcase() macros than are
...
called for. This check-in addresses that problem. (CVS 6756)
FossilOrigin-Name: a5b182f93b9e57754c8b9507cf491a7bbf0fd127
2009-06-12 15:47:34 +00:00
drh
8a415d3743
The lemon parser generator now inserts yytestcase() macros on reduce action
...
and on each destructor, to verify that all have been executed. yytestcase()
is a no-op by default but can be set to something more useful inside
of %include. (CVS 6755)
FossilOrigin-Name: fe9c9177340a3dc372ffa1b851030d005e0c46db
2009-06-12 13:53:51 +00:00
drh
1441f3e083
In lemon: omit unused entries from the end of the yyFallback array. (CVS 6754)
...
FossilOrigin-Name: 9cfbe2ba68470a2850a7d7a64eb088f7b422a3e5
2009-06-12 12:50:50 +00:00
drh
994704d1cb
Enable the SQLITE_LIMIT_FUNCTION_ARG limiter. (CVS 6753)
...
FossilOrigin-Name: a17e3317176772446abdc8ebe6fb6f0d3b7ac018
2009-06-12 12:04:16 +00:00
drh
8be4f639d9
Remove a C++-ism from the code. Ticket #3912 . (CVS 6752)
...
FossilOrigin-Name: bc729bc3e6f6e3570103e646080eb119311b0fa7
2009-06-12 11:42:11 +00:00
drh
13d32d196e
An additional memory leak in the parser fixed. Ticket #3911 . (CVS 6751)
...
FossilOrigin-Name: 6197b492714e16396941ae6ba61f90f708d54728
2009-06-12 03:47:36 +00:00
drh
c3a8402a94
Make sure nested queries with USING clauses do not leak memory.
...
Preliminary fix for ticket #3911 . (CVS 6750)
FossilOrigin-Name: bd341a103c25395b1189d05edebfe4af8a943941
2009-06-12 03:27:26 +00:00
drh
d3ec02d38e
Modifications to the parser to eliminate unreachable code. (CVS 6749)
...
FossilOrigin-Name: 457e0b245b1833c0d297bc6f4ff9785e6a2cee02
2009-06-12 02:27:14 +00:00
drh
aed2460877
Honor the SQLITE_OPEN_READONLY flag even on a :memory: or temporary database,
...
even though such a database is pointless. Ticket #3908 . (CVS 6748)
FossilOrigin-Name: 73ba841ac1ed39fb09b3917bafe0ce349e88eb04
2009-06-11 17:32:45 +00:00
drh
2c1a0c568f
Add an ALWAYS() to a conditional in where.c. (CVS 6747)
...
FossilOrigin-Name: 1fdb3e1e9af0672072f133dde06594fea2ef13c5
2009-06-11 17:04:28 +00:00
drh
85d2bd22f1
Changes to reenable codec operation and to handle memory allocation
...
failures within a codec. (CVS 6746)
FossilOrigin-Name: 43a6ca98b1a6aff1f0f674ecabdc929efb314db7
2009-06-11 00:47:20 +00:00
drh
5901b571d4
Do not let the reverse_unordered_selects pragma force the use of an index that
...
would not otherwise be used. Ticket #3904 .
Also: remove an test which is always true. (CVS 6745)
FossilOrigin-Name: 78a391dca05dbe3ad1d8124b80b31bc2ce75778f
2009-06-10 19:33:28 +00:00
drh
85119c32ad
Remove a NEVER() that can sometimes occur on an OOM error. (CVS 6744)
...
FossilOrigin-Name: c27f23bbafd2e4fa453c8e3b83667ea8173183a7
2009-06-10 11:07:00 +00:00
danielk1977
e56b60ecb8
Minor tweak to balance_quick() to save a few instructions. (CVS 6743)
...
FossilOrigin-Name: 9ace995910c8b0b9e95dc20fd70be487199e37af
2009-06-10 09:11:06 +00:00
drh
6860da015f
Remove the actual checks that verify that memory pools (such as set up
...
using SQLITE_CONFIG_HEAP) are 8-byte aligned. But document that 8-byte
alignment is required. (CVS 6742)
FossilOrigin-Name: e9b55ccc8b6d4f21c9c8f8e7ba053475833fc833
2009-06-09 19:53:58 +00:00
shane
75ac1de0ad
Fix compiler warnings with MSVC build. (CVS 6741)
...
FossilOrigin-Name: 0bd84e7387802c58c820369ff27ef54adbdf2e96
2009-06-09 18:58:52 +00:00
shane
68c0273755
Avoid a false failure report in the test scripts caused by the vdbe stack "compression" script. (CVS 6740)
...
FossilOrigin-Name: 9d3329891c2227a1a3ded1c636ac615864010ca7
2009-06-09 18:14:18 +00:00
drh
39bf74a288
Require that the buffer specified by SQLITE_CONFIG_HEAP be 8-byte aligned. (CVS 6739)
...
FossilOrigin-Name: 18b78068cc94de51f081824c93f7b14c7c35726d
2009-06-09 18:02:10 +00:00
drh
19f81f6cdd
Changes to tokenize.c to facilitate full coverage testing. (CVS 6738)
...
FossilOrigin-Name: 5e8c48cff7e96e6030b796dba409844f4c758a60
2009-06-09 18:01:37 +00:00
danielk1977
b46d004548
Change savepoint4.test to limit database growth. Otherwise the test can take a very long time to run, depending on the prng. (CVS 6737)
...
FossilOrigin-Name: ed1d4f47ee9a2bcafdee92ee6bfcb2b0d1758f76
2009-06-09 15:25:33 +00:00
drh
9bb6697ac6
Modify mkkeywordhash.c so that it puts the original text of each token in
...
a comment beside the "testcase()" macros. (CVS 6736)
FossilOrigin-Name: a7d0817c176832a88788cc973c0aae8dcab57364
2009-06-09 14:27:41 +00:00
drh
3b2a3fa42e
Enable cell overflow checking in sqlite3BtreeInitPage() using the
...
compile-time option SQLITE_ENABLE_OVERSIZE_CELL_CHECK. Change the tests
so that they recognize different error messages depending on the setting
of this macro. (CVS 6735)
FossilOrigin-Name: 56bff6eb2fc5f0afbd96afc986671ec744bd40e1
2009-06-09 13:42:24 +00:00
danielk1977
80929b3de9
Avoid calling fillInCell() to create an internal node intkey cell from balance_nonroot(). A single putVarint() does the same thing more quickly. (CVS 6734)
...
FossilOrigin-Name: 2e5d42aeb40c3c6eea373a9ae3fbdf4e8087cd58
2009-06-09 11:34:10 +00:00
drh
f061be9c6f
Only do the cell overread checks in sqlite3BtreeInitPage if
...
SQLITE_OVERREAD_CHECK is defined at compile-time. (CVS 6733)
FossilOrigin-Name: 49f544ebae8dc3cf7cf6189536c56ebb7d258a86
2009-06-09 10:37:03 +00:00
danielk1977
6067a9bbfe
Do not clear the MemPage.nFree variable when insertCell() adds an overflow cell to a page. Not doing this means balance_quick() can avoid a call to sqlite3BtreeInitPage(). (CVS 6732)
...
FossilOrigin-Name: 8f1c1f61f7bc5270212725cf0a056872df983f49
2009-06-09 09:41:00 +00:00
drh
254993e2e5
Additional comments to clarify the operation of the LIKE optimizer in
...
where.c. (CVS 6731)
FossilOrigin-Name: cc9c12170c3f6f0f485977e47e7fbb75c50e82b1
2009-06-08 19:44:36 +00:00
drh
4e8be3bb5d
Clarification of the operation of the OR-term optimizer in where.c. (CVS 6730)
...
FossilOrigin-Name: 6b42dc3d04e98f91c203c277926ed6ead62a9270
2009-06-08 17:11:08 +00:00
danielk1977
a50d9aa784
Change the btree balance code so that it does not call balance_nonroot() recursively. (CVS 6729)
...
FossilOrigin-Name: 7863db904d6fc36417c923e3d135eb2c145b9013
2009-06-08 14:49:45 +00:00
drh
b054068d21
Increase the version number to 3.6.15 in preparation for the next release. (CVS 6728)
...
FossilOrigin-Name: 456ea541d67221a573b63e264c83f4448f2ed569
2009-06-08 12:52:47 +00:00
drh
c4ac22e905
Disable the LIKE optimization if the affinity of the LHS column is
...
not TEXT. Ticket #3901 . (CVS 6727)
FossilOrigin-Name: a255c645c46ae03b65f862858fe57e462076e1fc
2009-06-07 23:45:10 +00:00