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
drh
da55c48a9a
Expand table.* properly on a USING or a NATURAL join. Ticket #3522 . (CVS 5979)
...
FossilOrigin-Name: 06d206ef7d5e433ccde347d63dfcd2177545e1fd
2008-12-05 00:00:07 +00:00
drh
8d99363c1b
Fix a segfault that can occur in the RowSet object following a malloc
...
failure. (CVS 5978)
FossilOrigin-Name: cb0f1658d3db7ccf80843d66fa85af8de44710d0
2008-12-04 22:17:55 +00:00
drh
3d4501e573
Replace the VDBE Fifo object with the new RowSet object. (CVS 5977)
...
FossilOrigin-Name: 39a0750b49cf55e9c0927169ca47db909f5c16ea
2008-12-04 20:40:10 +00:00
drh
947bd8091b
Make sure dot-lock is fully enabled when SQLITE_ENABLE_LOCKING_STYLE is
...
disabled. Fix compiler warnings when SQLITE_ENABLE_LOCKING_STYLE is
disabled. (CVS 5976)
FossilOrigin-Name: 4697249fcc6041ba7d2fb89589c855a8bec71eb2
2008-12-04 12:34:15 +00:00
drh
1822eee09c
Fix a memory leak in the shell that occurs when a ".import" command fails.
...
Ticket #3517 (CVS 5975)
FossilOrigin-Name: cb9c15431c53b13b70d006d8c47741ebc1caaca3
2008-12-04 12:26:00 +00:00
drh
47b1066f8c
Always enable the OP_Blob opcode in the VDBE even when
...
SQLITE_OMIT_BLOB_LITERAL is defined, since that opcode is used for other
purposes as well. Ticket #3518 . (CVS 5974)
FossilOrigin-Name: 760333de65328281137e02423904f860df572391
2008-12-04 12:17:30 +00:00
drh
fbdc7f69b3
Allow the entire FROM clause of a SELECT statement to be in parentheses. (CVS 5973)
...
FossilOrigin-Name: 72ebc8cbe00f77f7864146de7c0954c4f1c59b8d
2008-12-03 23:23:40 +00:00
drh
c66d5b64de
Fix a missing forward declaration that is needed when
...
SQLITE_PREFER_PROXY_LOCKING is defined. (CVS 5972)
FossilOrigin-Name: 24235300b3f64f0396e1016afbe31aec9ea69b62
2008-12-03 22:48:32 +00:00
drh
715ff30e27
Reorganize the proxy-locking method in os_unix.c. Additional cleanup. (CVS 5971)
...
FossilOrigin-Name: 31f6090e22b54d657afc8c23171d000d47850205
2008-12-03 22:32:44 +00:00
aswift
f0551ee5e4
Make os_unix compile with SQLITE_ENABLE_PROXY_LOCKING (CVS 5970)
...
FossilOrigin-Name: 3efedac6aa4f544d40c2f782109d4e1795e449a0
2008-12-03 21:26:19 +00:00
drh
6b9d6ddc21
Continue with the cleanup of os_unix.c. (CVS 5969)
...
FossilOrigin-Name: 215d36ea89078036fb66b5154f054613b735dab3
2008-12-03 19:34:47 +00:00
drh
08609ce7f0
Fully initialize the unused bytes of the buffer that will become the journal
...
file header, in order to silence a complaint from valgrind. (CVS 5968)
FossilOrigin-Name: 2822cbb960dbef9d30586ee112d74f9f566309fa
2008-11-29 22:49:23 +00:00
drh
9b35ea62c7
Continuing to refactor os_unix.c. This is an incremental check-in. (CVS 5967)
...
FossilOrigin-Name: c13df0311ef4f6a510f42105293f7c53c323fda8
2008-11-29 02:20:26 +00:00
drh
7708e9720b
Continuing work on the os_unix.c refactoring. Removed all of the
...
LOCKING_STYLE_* constants and instead pass around pointers to the
underlying sqlite3_io_method objects. (CVS 5966)
FossilOrigin-Name: 1017d2fb1935a278ef442030bf7bdf5e112c566a
2008-11-29 00:56:52 +00:00
drh
734c9864cb
First step in refactoring os_unix.c. This is work in progress. The code
...
compiles and runs on Linux and MacOSX (as long as SQLITE_ENABLE_LOCKING_STYLE
is turned off), but there are a few test failures. (CVS 5965)
FossilOrigin-Name: 7825cd63e5cb390a9c2c05957ebc9b189612f04a
2008-11-28 15:37:20 +00:00
drh
c5053fb922
Add 19 new assert() statements in btree.c that attempt to detect writing to
...
a cache page which is not writeable. (CVS 5964)
FossilOrigin-Name: f9c7359065829b016d8cd04304c02509c254fe05
2008-11-27 02:22:10 +00:00
pweilbacher
5a1841a18c
expected error message has trailing space (CVS 5963)
...
FossilOrigin-Name: 165bc2d7658e14eda8b375329e4286dc4d048f3a
2008-11-26 20:09:14 +00:00