drh
c81c11f62c
Remove the obsolete "$Id:$" RCS identifier strings from the source code.
...
FossilOrigin-Name: f6c045f649036958078cb15cd9d5453680c82b0c
2009-11-10 01:30:52 +00:00
drh
8677d30812
Create a new datatype "ynVar" to hold "nVar" (number of variable) values.
...
This is normally 16-bits can can be 32-bits if SQLITE_MAX_VARIABLE_NUMBER
is large enough.
FossilOrigin-Name: 24a4d520d540d92b611abc4eb57dc6da9be4eac6
2009-11-04 13:17:14 +00:00
shane
f639c40f77
Fix compiler warnings on MSVC build.
...
FossilOrigin-Name: 01c4b5b84ec7ce589e20ea66e80011f092ab32f0
2009-11-03 19:42:30 +00:00
dan
f7b0b0ad5f
When generating WHERE clause terms internally for NATURAL and USING joins, identify the table by its position in the FROM list, not by its name or alias. Fix for [b73fb0bd64].
...
FossilOrigin-Name: 6fe6371175482d38ac4aeea994c7b20c18b7de01
2009-10-19 15:52:32 +00:00
shane
cea72b2dc2
Warning cleanup from the MSVC compile.
...
FossilOrigin-Name: 26cd015c0ee1c18dd37f11b47ce35cfa320b3514
2009-09-07 04:38:36 +00:00
dan
65a7cd1631
More fixes and comment updates.
...
FossilOrigin-Name: 38a9327bad1a01e3d7a47fad44ece2f6c7e88643
2009-09-01 12:16:01 +00:00
dan
2832ad4221
More fixes for test cases.
...
FossilOrigin-Name: 85d9f23be1e8673dbda42e43b9b23332ada9225f
2009-08-31 15:27:27 +00:00
dan
2bd935168e
Fix some authorization callback problems.
...
FossilOrigin-Name: 8a746fbfd51f70f56e25ade59df49d2dc03c131c
2009-08-31 08:22:46 +00:00
dan
165921a742
Changes to support recursive triggers.
...
FossilOrigin-Name: 9b9c19211593d5ff7b39254a29c284560a8bcedb
2009-08-28 18:53:45 +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
73c0fdc7fa
Updates to resolve.c to facilitate full coverage testing. (CVS 6762)
...
FossilOrigin-Name: c50f0f28df1dfdccf1d159c983b616cd9b823955
2009-06-15 18:32:36 +00:00
shane
cf6973963a
Fix compiler warnings with MSVC build. (CVS 6699)
...
FossilOrigin-Name: 0791588520603d106aa0b8ce24d68b740b7b80c8
2009-06-01 16:53:09 +00:00
drh
fd773cf970
Refinements in expression handling logic that have resulted from recent
...
structural testing. (CVS 6690)
FossilOrigin-Name: bd89f2c29b00e6b473f30c2e929d2f626721ad92
2009-05-29 14:39:07 +00:00
drh
2c220455b9
Fix a NULL pointer dereference following an OOM error in the column name
...
resolver. (CVS 6685)
FossilOrigin-Name: 3b46142532934d17aa136c2e56e58e7828df0f54
2009-05-28 14:34:49 +00:00
drh
0b0745ae37
Make sure the column name resolver does not try to duplicate Expr.u.zToken
...
when the Expr.u.iValue union member is the element being used. (CVS 6684)
FossilOrigin-Name: 376ecf0d87e4a2329f5861401f83ed9ceb35d528
2009-05-28 12:49:53 +00:00
drh
33e619fc1c
Additional refinements to Expr handling. Restore compression of trigger
...
expressions. Change Expr.zToken to Expr.u.zToken and added Expr.u.iValue.
Remove an unnecessary ExprDup from CHECK constraint processing. And so forth. (CVS 6682)
FossilOrigin-Name: 4ac2bdfbb4230b6ceaae87e738fa61036bbe03cb
2009-05-28 01:00:55 +00:00
drh
b7916a78ff
Simplifications to the Expr object: Remove Expr.span completely and convert
...
Expr.token into a char* Expr.zToken. Also simplify the Token object by
removing the Token.dyn and Token.quoted fields. (CVS 6681)
FossilOrigin-Name: 7cb1c3ba0759539cb035978fdaff6316775986f3
2009-05-27 10:31:29 +00:00
drh
3500ed6650
Make sure the left-shift operator never overflows. (CVS 6605)
...
FossilOrigin-Name: 300da30178c46ab9f2ceb0c3e3ee3eac73d5d8e1
2009-05-05 15:46:43 +00:00
drh
24fb627afa
Record within the Token structure itself whether or not the token has
...
been dequoted. This steals one bit from the length of a token and
thus limits the size of tokens to 1GiB. (CVS 6589)
FossilOrigin-Name: 12bcb03d9b9e1a31c1a3c67cbb4263cc0af2f3d0
2009-05-01 21:13:36 +00:00
shane
e34c647ed0
Added some asserts and a check for a null pointer dereference. (CVS 6337)
...
FossilOrigin-Name: 6b0cabd017ed25530b2d918d2c069fcbdd60a3f6
2009-03-05 04:23:47 +00:00
drh
d742bb78f8
Fix a bug in the GROUP BY alias name resolution. The bug was by
...
check-in (6305). Discovered by regression test on 64-bit linux.
Test cases added so that the problems is detected on 32-bit systems. (CVS 6332)
FossilOrigin-Name: fa0008502ec4f891bfed4a11f01650d274f95c44
2009-03-02 01:22:40 +00:00
danielk1977
2d2e7bd32e
Reverse commit (6315) for now. (CVS 6317)
...
FossilOrigin-Name: 0e7c369c23a8767b4d3e5cdd47c14716992fb71a
2009-02-24 10:14:40 +00:00
danielk1977
e2d7b24d08
Scan an index instead of a table for "SELECT count(*) FROM <tbl>" queries. Because an index is usually smaller than a table on disk, this saves some IO. (CVS 6315)
...
FossilOrigin-Name: 294ba6f743c9132dce0e73da480bd3c2071e7239
2009-02-23 17:33:49 +00:00
danielk1977
6ab3a2ec8a
Changes to reduce the heap space consumed by triggers, views and tables in the in-memory representation of the schema. Also to reduce the space used by prepared statements slightly. (CVS 6305)
...
FossilOrigin-Name: d9f6ffbc5ea090ba0daac571fc9a6c68b9c864e4
2009-02-19 14:39:25 +00:00
drh
ea6788322e
Never use strlen(). Use our own internal sqlite3Strlen30() which is
...
guaranteed to never overflow an integer. Additional explicit casts to
avoid nuisance warning messages. (CVS 6007)
FossilOrigin-Name: c872d554930ecf221ac2be5f886d5d67bb35288c
2008-12-10 19:26:22 +00:00
drh
b27b7f5d3b
More explicit type casting to silence VC++. (CVS 6006)
...
FossilOrigin-Name: 14e6d19c3157ccdce170e769d678c7f472dd3db2
2008-12-10 18:03:45 +00:00
drh
cd2b561302
Finish incomplete edit of resolve.c from check-in (5998). (CVS 6000)
...
FossilOrigin-Name: 0d7e150e8c6cb801e68273c9d0793ce31d1f31fd
2008-12-09 14:03:22 +00:00
drh
2bf90f1e64
A subquery in the result set of a SELECT should be able to look into outer
...
queries to find variable references. But a subquery in the FROM clause
should not be able to do this. Ticket #3530 . (CVS 5998)
FossilOrigin-Name: be03fa0543044dc46952695e963d9b82afed892b
2008-12-09 13:04:29 +00:00
danielk1977
00e136135e
Modifications to avoid unsigned/signed comparisons in various files. (CVS 5914)
...
FossilOrigin-Name: 8009220c36635dd9b6efea7dc13281ca9625c40a
2008-11-17 19:18:54 +00:00
drh
1885d1c201
When a name in double quotes falls back to being a string literal,
...
make sure it has no affinity. Ticket #3442 . (CVS 5832)
FossilOrigin-Name: 81cfee5c14f241f5ae7f607d73b0b5cb821cda24
2008-10-19 21:03:27 +00:00
drh
10fe840e4d
Fix a memory leak on ORDER BY of a compound select caused by the resolver
...
on a flattened query. Also fix a OOM segfault in WHERE clause processing. (CVS 5801)
FossilOrigin-Name: d2c252d6bbde4ae14da6c9e6c2683d763d11c59f
2008-10-11 16:47:35 +00:00
shane
273f619b58
Updated LIMIT support for DELETE/UPDATE. Omit option changed to SQLITE_ENABLE_UPDATE_DELETE_LIMIT. (CVS 5788)
...
FossilOrigin-Name: c10e8a3c7ab7f21c95f24d0aba590f5b18a4b028
2008-10-10 04:34:16 +00:00
drh
3d1c1e8722
Fix a typo in check-in (5769) (CVS 5770)
...
FossilOrigin-Name: 24891902fa625445aa47ae930f0cb340cc73d25d
2008-10-06 15:18:02 +00:00
drh
41204f1fdd
Expression nodes of type TK_ROW mean the rowid of the first table in the
...
source list. (CVS 5769)
FossilOrigin-Name: 2f7db6c98f17e0b7110258093c283091a91d4e4f
2008-10-06 13:54:35 +00:00
drh
8b213899e8
Avoid reevaluating WHERE and ORDER BY expressions that alias terms in the
...
result set. Ticket #3343 . Note that aliased GROUP BY expressions are still
evaluated twice. (CVS 5637)
FossilOrigin-Name: ab0292caa5887cc1bdc0e8c9d3f3502b83975440
2008-08-29 02:14:02 +00:00
drh
0a846f96ef
Fix bug in the premutation testing that was causing many permutations from
...
begin skipped. There are now 16 errors reported by the permutation test. (CVS 5610)
FossilOrigin-Name: 4ad096bda1fc5c7b66f71ff5b32a4085c9a40574
2008-08-25 17:23:29 +00:00
drh
f436620e3f
Additional coverage testing in the new name resolver module. (CVS 5608)
...
FossilOrigin-Name: 0d61960afd35721d6d07acd75288c20d2cd6fda1
2008-08-25 12:14:08 +00:00
drh
ee76c61657
Remove dead code. (CVS 5601)
...
FossilOrigin-Name: 6de9c084fc533fbb22af6a4cd3e4e9a461b13876
2008-08-22 17:34:45 +00:00
drh
7d10d5a6e1
Refactor the name resolution procedures in the code generator. (CVS 5569)
...
FossilOrigin-Name: daf730d1defa78fb8b80a78f9108ac35a13e09f6
2008-08-20 16:35:10 +00:00