drh
a4835e9a45
Add test cases that verify evaluation of randomly generated SQL expressions. (CVS 6029)
...
FossilOrigin-Name: 4685ffccd37456fc527a7f7178885a060b474ad8
2008-12-15 16:33:29 +00:00
drh
e99fa2af71
Convert the "~" and "NOT" operators to be two-address instructions.
...
Ticket #3541 . (CVS 6028)
FossilOrigin-Name: ea9b747efb22fd3f679c3ef86ed51986c5ad9436
2008-12-15 15:27:51 +00:00
danielk1977
01ecbeeb57
Add the example from #3359 to the test suite. (CVS 6027)
...
FossilOrigin-Name: 84f8417c0794d3e5cec88f59ea71a7d557044409
2008-12-14 14:45:20 +00:00
drh
e13fab3ccf
Fix the name of the source algorithm in the comments of the script generators
...
for the recently checked-in test cases for integer boundary-value testing. (CVS 6026)
FossilOrigin-Name: adba0f3c01ba2407466d0120c411c398218bdaeb
2008-12-14 02:55:16 +00:00
drh
0dc5124391
Add many new integer boundary value tests. Ticket #3536 . (CVS 6025)
...
FossilOrigin-Name: 45277238d355caa1fbeea67c6c6d1a8f231eabda
2008-12-12 19:19:22 +00:00
drh
959403f894
Rework the rowid lookup logic in the query optimizer to fix various
...
boundary value problems. Ticket #3536 . Renamed the OP_MoveXX opcodes
to OP_SeekXX. (CVS 6024)
FossilOrigin-Name: e545490a2828f7f703172dda6d2b9f3342dc134a
2008-12-12 17:56:16 +00:00
drh
bfbfadb43a
Previous change to the OP_ForceInt opcode did not work correctly when the
...
input is a negative floating point value. This change is the fix.
Ticket #3536 . (CVS 6023)
FossilOrigin-Name: f6c50f357c302907a5398c551a5c596f7d305031
2008-12-11 20:03:22 +00:00
drh
b952676e08
Make sure the OP_ForceInt vdbe opcode does not cause a rowid overflow.
...
Ticket #3536 . Tests to verify this change will be checked in separately. (CVS 6022)
FossilOrigin-Name: 6a049c6595550c123e77199cf7f3898bfcf40c86
2008-12-11 19:50:18 +00:00
drh
88a003e28e
Guard against attacks from deliberately corrupted database files. (CVS 6021)
...
FossilOrigin-Name: da2ec96422b1f9de2e47d3b8c19ed20579742a9b
2008-12-11 16:17:03 +00:00
drh
a1ba47783d
Increase the version number to 3.6.7. (CVS 6020)
...
FossilOrigin-Name: 7c367515f86c36b7ec8603754b20f1c7c4a0690a
2008-12-11 13:08:15 +00:00
drh
03e1f51070
Initialize a local variable so as to avoid a valgrind warning. (CVS 6019)
...
FossilOrigin-Name: 0d316160fc9e24262457d330abee40f447ff909e
2008-12-11 13:05:00 +00:00
shane
7d3846ac26
Removed a few more harmless warnings from MSVC. (CVS 6018)
...
FossilOrigin-Name: 72fd92bd67ed2b8e193cf3119e60d0a8f1e819c9
2008-12-11 02:58:26 +00:00
drh
103fe74315
Fix the TCL test harness so that it compiles and runs on OSX with
...
SQLITE_ENABLE_LOCKING_STYLE. (CVS 6017)
FossilOrigin-Name: 561d5de16ec07546a3bb691f308fb2495a0d0a43
2008-12-11 02:56:07 +00:00
drh
15b024c22a
Initialize the yyzerominor constant generated by lemon. (CVS 6016)
...
FossilOrigin-Name: 76c8f6ba87f333f15444ba5444bc675ec4cfd89e
2008-12-11 02:20:43 +00:00
drh
3abbd39a87
More code obfuscation designed to thwart compiler warning messages. (CVS 6015)
...
FossilOrigin-Name: 0a1888a7e6fb56e56d8078e7792379d908ba7a70
2008-12-10 23:04:13 +00:00
drh
9c1905fb77
Try to remove compiler warnings from vdbe.c. (CVS 6014)
...
FossilOrigin-Name: 50352950df5d5a8b7da8c18b6667b8242a359f7d
2008-12-10 22:32:56 +00:00
shane
18e526c16b
Work to remove harmless MSVC compiler warnings. (CVS 6013)
...
FossilOrigin-Name: 715dcd52c1372c62873cff5db97fdbdfce617808
2008-12-10 22:30:24 +00:00
drh
0e4deca3e1
The strlen30 function in tclsqlite.c should be defined regardless of whether
...
or not the amalgamation is used. (CVS 6012)
FossilOrigin-Name: d8e8c7e51c09dc4e4d7e45ba1866c78713d6f5aa
2008-12-10 22:18:39 +00:00
drh
4f21c4af30
Fix an issue with the new sqlite3Strlen30() introduced by
...
check-in (6007). Additional casts for compiler warnings. (CVS 6011)
FossilOrigin-Name: 258722b6178f60eaccef1675aab3edc456d413a5
2008-12-10 22:15:00 +00:00
drh
1bd10f8a00
Additional work at eliminating silly compiler warnings. (CVS 6010)
...
FossilOrigin-Name: ea01d43788a75e39c7f03c22681d1a338d52cf0e
2008-12-10 21:19:56 +00:00
shane
00c586a238
Fixed typo in comment in mkkeywordhash.c. (CVS 6009)
...
FossilOrigin-Name: b7dd05b403e69caca814ccd8824130f176160cd5
2008-12-10 20:11:01 +00:00
shane
5854393cd9
Added option (-l) to lemon parser to have it skip printing line numbers (#line ... ). (CVS 6008)
...
FossilOrigin-Name: ccb9393a7a10f0970419b860af293b0bdad7f894
2008-12-10 20:10:04 +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
dc5ea5c785
Remove or rename local variables that shadow other variables or parameters. (CVS 6005)
...
FossilOrigin-Name: e7e9fa4fa1b7fc0668f4e3a51873ee5d11893f42
2008-12-10 17:19:59 +00:00
drh
f49661a4eb
Add explicit casts to silence nuisance warnings from VC++. (CVS 6004)
...
FossilOrigin-Name: da1cbfa766f7f379c01f4ac9c1210462d8d7c590
2008-12-10 16:45:50 +00:00
drh
092d5efc70
Use memcpy() rather than "=" to copy a structure, in order to work around
...
a bug in the XLC compiler on AIX. Ticket #3344 . (CVS 6003)
FossilOrigin-Name: 18bbcafc16bb985a7c74e07ffb9c4f28273a7cfd
2008-12-10 11:49:06 +00:00
drh
032ca70167
Remove some obsolete markup from sqlite.h.in. (CVS 6002)
...
FossilOrigin-Name: d1d05e2a8a6e474e4921742ba055200d7f4d21ce
2008-12-10 11:44:30 +00:00
drh
e862f03f5f
Return an appropriate out-of-memory message when sqlite3_errmsg() is called
...
following an SQLITE_NOMEM error. (CVS 6001)
FossilOrigin-Name: 228ebe4115cfb2deafd504a52a230bf646fcd8f1
2008-12-09 14:46:09 +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
e1991d2a8d
Additional test cases for nested subqueries in a WHERE clause. (CVS 5999)
...
FossilOrigin-Name: 4f10f19dd1e66cd29b0e1e26506154d670c3bc46
2008-12-09 13:12:56 +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
shane
aef3af54dd
Removed some harmless compiler warnings and converted some "double" ops to "int" in date.c. (CVS 5997)
...
FossilOrigin-Name: 5eb648a0b599c83504b892e2a5cefe6a837d6017
2008-12-09 04:59:00 +00:00
drh
aa78bec993
Get rid of more silly compiler warnings. (CVS 5996)
...
FossilOrigin-Name: 59ae0020683766993c38e2b76a436d78d3e4bd63
2008-12-09 03:55:14 +00:00
drh
8df32841de
Suppress more silly compiler warnings. (CVS 5995)
...
FossilOrigin-Name: 1522c2c6677b97edfa09dd64b4f9ed139aeb5bec
2008-12-09 02:51:23 +00:00
drh
ec1724e888
Fix compiler warnings in where.c and in the TCL test harness. (CVS 5994)
...
FossilOrigin-Name: 680755dbf01e20569b87068b1515b144903c566e
2008-12-09 01:32:03 +00:00
drh
b3190c1501
Some minor name refactoring in where.c. Avoid declaring variables before
...
initializing them in the amalgamation because VC++ doesn't like that. (CVS 5993)
FossilOrigin-Name: 6ed696e7c03351514278338fa986539cf0fac178
2008-12-08 21:37:14 +00:00
drh
e91d16be4d
Fix a bug in win32 command-line client introduced during efforts to reduce
...
the number of harmless compiler warnings (check-in (5982).) (CVS 5992)
FossilOrigin-Name: 6c0b2e7579ee5504617831a5e8bb6193e283ad30
2008-12-08 18:27:31 +00:00
drh
1875f7a3db
The amalgamation now compiles cleanly on GCC with options
...
-pedantic-errors -Wno-long-long. (CVS 5991)
FossilOrigin-Name: 73c7302c5f76a2f61ecd75f8bda69bb500d3119c
2008-12-08 18:19:17 +00:00
drh
128255fce6
Fix two unused-parameter warnings in the parser. (CVS 5990)
...
FossilOrigin-Name: cf419d0b01c0144b752f4283ba9668747339b218
2008-12-08 16:01:12 +00:00
drh
555f8de7ef
Fix a segfault associated with the column cache that occurs on nested VIEWs.
...
Ticket #3527 . (CVS 5989)
FossilOrigin-Name: 490138a2012fcb4c859e1cf12a35e314ec1060d2
2008-12-08 13:42:36 +00:00
drh
bbce338412
Make sure a memory allocation error did not prevent UTF16 to UTF8 conversion
...
prior to doing a string comparison. (CVS 5988)
FossilOrigin-Name: 9d061e20d885bee7ac7875500a0e7c238b540a63
2008-12-06 16:46:13 +00:00
drh
2aca5846da
Make sure the KeyInfo object attached to a transient table used for
...
sorting records the sqlite3 object used for memory allocation, so that
memory allocation failures on UTF16 to UTF8 conversion can be recorded. (CVS 5987)
FossilOrigin-Name: 76246d9f0d4e995f6be6fbd1fa2bcabc1b9566ae
2008-12-06 16:10:42 +00:00
drh
085bb7f094
Mark the hash table enlargement in pcache1.c as a benign-failure malloc. (CVS 5986)
...
FossilOrigin-Name: 5c0fe63a6374abe98e45c11ada54c064c19bbab8
2008-12-06 14:34:33 +00:00
drh
2c41ef063e
Make the minimum allocate size for RowSet objects large enough to accommodate
...
8-byte pointers. (CVS 5985)
FossilOrigin-Name: b74885e0856c46412f7cf4dca4cafb740cb9a28b
2008-12-05 23:40:22 +00:00
drh
e43ba702bc
Fix integrity check so that it always reports memory allocation errors that
...
it encounters. (CVS 5984)
FossilOrigin-Name: 2a3f5ce14c050b135ab9d2247aee84ca37882c4b
2008-12-05 22:40:08 +00:00
drh
9bf9e9c86d
Make sure the nOverflow flag in MemPage is reset to zero after every insert. (CVS 5983)
...
FossilOrigin-Name: bfde3dae0c7b97308344519ca06cd4b290e8cf47
2008-12-05 20:01:43 +00:00
drh
902b9ee436
Fix harmless compiler warnings. Improved comments in the query optimizer. (CVS 5982)
...
FossilOrigin-Name: adedd697b475dadaa2eeae0d0413603195c955cf
2008-12-05 17:17:07 +00:00
drh
6a1e071f3d
Make use of sqlite3DbMallocSize to maximize the size of growable buffers
...
after each reallocation. Added new comments and testcase() macros to
where.c. (CVS 5981)
FossilOrigin-Name: 46f2d08959423e130a5b346138311649d92f0fde
2008-12-05 15:24:15 +00:00
drh
165be38b82
Variable name changes in the query optimizer for disambiguation and
...
clarification. Clear space in boolean vectors for new bit values to
encode new query plan templates. (CVS 5980)
FossilOrigin-Name: 81bd0b5ce8a1cf057064c44e9b5371502cb8c58c
2008-12-05 02:36:33 +00:00