drh
c754fa5486
Fix the "alias.*" bug found by Bernie Cosell and reported on the newsgroup. (CVS 593)
...
FossilOrigin-Name: f562d542304c0c1b18b0cee78b1ecc353327a02e
2002-05-27 03:25:51 +00:00
drh
bb113518f9
Bug fixes and additional test cases for the distinct-NULL patch. (CVS 592)
...
FossilOrigin-Name: 0e268d0c0faa02c3f95e1567cf631b7a04bfbdf0
2002-05-27 01:04:51 +00:00
danielk1977
d702fccbce
Require the INSTEAD OF syntax to create triggers on database views. (CVS 591)
...
FossilOrigin-Name: d9e48cd5180e2aae7672b9d54e18c37d0fe5258a
2002-05-26 23:24:40 +00:00
drh
8912d106e1
Change functions to handle NULLs correctly. Added the NULLIF() function. (CVS 590)
...
FossilOrigin-Name: 46ce1a9ab6e527958ebc757fa2175c488299cd84
2002-05-26 21:34:58 +00:00
drh
f5905aa7be
NULL values are distinct. A comparison involving a NULL is always false.
...
Operations on a NULL value yield a NULL result. This change makes SQLite
operate more like the SQL spec, but it may break existing applications that
assumed the old behavior. All the old tests pass but we still need to add
new tests to better verify the new behavior. Fix for ticket #44 . (CVS 589)
FossilOrigin-Name: 9051173742f1b0e15a809d12a0c9c98fd2c4614d
2002-05-26 20:54:33 +00:00
drh
195e6967fb
Additional testing of LEFT OUTER JOIN. (CVS 588)
...
FossilOrigin-Name: d8d04c14f18d1feba89ccea0be70530a18248c51
2002-05-25 00:18:20 +00:00
drh
ad2d8307ac
Initial implementation of LEFT OUTER JOIN including the expanded SQL92 join
...
syntax. The basic functionality is there but there is still a lot of testing
to do. (CVS 587)
FossilOrigin-Name: 99bd1f5b9a1a20bfeefe15c00d96a34a5f40923e
2002-05-24 20:31:36 +00:00
drh
01f3f25376
Add support for the full SQL join syntax. This is just a parser enhancement.
...
We now recognize all kinds of joins, but we don't actually do anything with
them yet. (CVS 586)
FossilOrigin-Name: e238643efdbe1394c7ff85e34e486f7c6082b6cc
2002-05-24 16:14:15 +00:00
drh
2e392e2c53
Added tests for multi-column primary keys. (CVS 585)
...
FossilOrigin-Name: ffc49e56b13096b35e6cbb1a2f7d546843d4a91d
2002-05-24 02:14:50 +00:00
drh
ad3cab52fe
Split the IdList structure into IdList and SrcList. SrcList is used to
...
represent a FROM clause and IdList is used for everything else. This change
allows SrcList to grow to support outer joins without burdening the other
uses of IdList. (CVS 584)
FossilOrigin-Name: a167b71d8c27e870bc3079c6132e483bffc83298
2002-05-24 02:04:32 +00:00
drh
bd5a451d5d
Change the names of the PushList and PopList opcodes to ListPush and ListPop
...
so that they will appear together with the other List opcodes in the
documentation. (CVS 583)
FossilOrigin-Name: c53b0b9283c5c34def87d58b03fd979d03dc0890
2002-05-23 22:07:02 +00:00
drh
0b4efed236
Fix for ticket #50 . (CVS 582)
...
FossilOrigin-Name: 82b74a494ac7c751a13e67dcfa7fffb1b98ec808
2002-05-23 13:15:37 +00:00
drh
07d6e3a74c
Partial fix for ticket #49 . The correct result is computed, but now we have
...
a memory leak. I'm not sure if the memory leak was pre-existing or a result
of this change. (CVS 581)
FossilOrigin-Name: 4d27ee411902a197cd72416ca9da9197d3f87f13
2002-05-23 12:50:18 +00:00
drh
e4697f5e90
Fix some places where a malloc() failure would lead to a segfault. (CVS 580)
...
FossilOrigin-Name: 01ad352c3c82a86d9c94010cbc85d098b8fbc08a
2002-05-23 02:09:03 +00:00
drh
1873cd508a
Do not allow triggers on the SQLITE_MASTER table. (CVS 579)
...
FossilOrigin-Name: 275ba356f351abcf9a079ac16b765c9443750f0e
2002-05-23 00:30:31 +00:00
drh
97fc3d060a
Fix for ticket #46 : Report an error if a CREATE TABLE contains two or more
...
columns with the same name. (CVS 578)
FossilOrigin-Name: ba1953abd04671232cf9e93ab3f962fedbbdc508
2002-05-22 21:27:03 +00:00
drh
2ce1a6ec60
Fix for ticket #47 : Use a cast to avoid a warning about discarding a "const"
...
inside of hash.c. (CVS 577)
FossilOrigin-Name: 0c903461533fabca7815e8cccbd3b712bcd22ddc
2002-05-21 23:44:30 +00:00
drh
2398937b7f
Double-quoted strings resolve to column names if possible. Single-quoted
...
strings continue to be interpreted as string literals. (CVS 576)
FossilOrigin-Name: 55e7d65496624c8e48673d8747f3123786bfedbc
2002-05-21 13:43:04 +00:00
drh
1d1f30555d
Clean up some compiler warnings. (CVS 575)
...
FossilOrigin-Name: 3399b01219b9e75b93587b5634d199d9e6fb6e42
2002-05-21 13:18:25 +00:00
drh
b05789ff2b
Modify the shell so that when it is doing a ".dump" it always uses single
...
quotes and not double quotes for quoting literal strings. This is for
portability to other databases that only support single quote string literals. (CVS 574)
FossilOrigin-Name: f795afd63f19ab61c2b3b96621cb6dda31ce0379
2002-05-21 13:02:24 +00:00
drh
79b0c95687
Fix for ticket #45 : Allow an UPDATE statement to change the INTEGER PRIMARY KEY
...
to itself without triggering a constraint error. (CVS 573)
FossilOrigin-Name: 592da1346872e1373bd13525d05d0f33c1056709
2002-05-21 12:56:43 +00:00
drh
c977f7f596
Additional code cleanup resulting from a review of the new trigger code. (CVS 572)
...
FossilOrigin-Name: 37dbdd551e88440933066133ec9cc1e10b03fc1a
2002-05-21 11:38:11 +00:00
danielk1977
f29ce55958
Style fixes to triggers code in various *.c files (partial fix to ticket #39 ) (CVS 571)
...
FossilOrigin-Name: 8a4195c7466962291a296e8f53034ea8cb25005f
2002-05-19 23:43:12 +00:00
danielk1977
633ed08d95
Stylistic changes to src/trigger.c (partial fix to ticket #39 ). Also more comments. (CVS 570)
...
FossilOrigin-Name: b1d72cb5847a9f5f08e40b36ad117b5493232ea7
2002-05-17 00:05:58 +00:00
danielk1977
d99bc930f7
Fix for ticket #42 : Added comments to structs Trigger, TriggerStep and TriggerStack. (CVS 569)
...
FossilOrigin-Name: 9ec8a2b139ce38312284d7b4eb61221b1e1e3052
2002-05-16 00:13:12 +00:00
drh
b6b2de0c35
Fix a typo in the c_interface.html documentation file. (CVS 568)
...
FossilOrigin-Name: 454879fa400f8c67456a483e69342bf48e3a02a4
2002-05-15 23:26:22 +00:00
drh
ce9079c8f2
Fix for ticket #41 : Better handling of CREATE TRIGGER in the sqlite_complete()
...
function. (CVS 567)
FossilOrigin-Name: f45c4b767a6b1451787836060235ff7499dea0de
2002-05-15 14:17:44 +00:00
drh
dc3794561f
Beginning to clean up the trigger code. Still lots of work to do. (CVS 566)
...
FossilOrigin-Name: b10346818b25940c6dc85e94de8e36d20954161c
2002-05-15 12:45:43 +00:00
drh
9adf9ac4e4
Remove all tabs from the beginning of source code lines. Replace tabs with
...
the appropriate number of spaces. (CVS 565)
FossilOrigin-Name: 690f9a163173c4c7af7e8e92e942cee4184c7974
2002-05-15 11:44:13 +00:00
drh
5b87fa2a57
In the "lang.html" documentation file, put the CREATE TRIGGER and DROP TRIGGER
...
sections in alphabetical order. (CVS 564)
FossilOrigin-Name: d1d8642b57bd0765ade730248012d58b0859c12c
2002-05-15 11:43:16 +00:00
danielk1977
b38f58b51a
Add the Makefile.in that was forgotten with checkin #562 (CVS 563)
...
FossilOrigin-Name: 29b8330ca6bfe32c499a045189683100f2b15246
2002-05-15 08:43:10 +00:00
danielk1977
c3f9bad209
Added FOR EACH ROW triggers functionality (CVS 562)
...
FossilOrigin-Name: 794bf67b6b36fce8854d5daff12f21dbb943240c
2002-05-15 08:30:12 +00:00
drh
9456bcc975
Version 2.4.12 (CVS 561)
...
FossilOrigin-Name: 06cdaf1c80f7bc25fc555c7c8a35258faed2d2e9
2002-05-10 14:41:54 +00:00
drh
4d908a3b43
Update the misuse.test script so that it will work under Windows. Changes
...
to the speed testing script to support version 2.4.12. (CVS 560)
FossilOrigin-Name: 232b7ef2c8207eb6d2564a641446267d3dec97af
2002-05-10 14:37:30 +00:00
drh
c22bd47d55
Improvements to the SQLITE_MISUSE detection logic. Also added test cases
...
for this logic, including the new test file "misuse.test". (CVS 559)
FossilOrigin-Name: f42907ce457e012592f8c043dc6c915e87258b35
2002-05-10 13:14:07 +00:00
drh
247be43d60
Attempt to detect when two or more threads try to use the same database at
...
the same time and return an SQLITE_MISUSE error. Also return this error
if an attempt is made to use a closed database. (CVS 558)
FossilOrigin-Name: a05fabd2df1cb38c555a7b2f31b0ca687db500c2
2002-05-10 05:44:55 +00:00
drh
d5feede1ff
Fix for ticket #35 : Ignore any ORDER BY clause on a subquery in a FROM clause. (CVS 557)
...
FossilOrigin-Name: 1b0ee944c9af10078aba628e85d79f8682afa2b6
2002-05-08 21:46:14 +00:00
drh
0f18b450ad
Fix for ticket #34 : VIEWs ignore their ORDER BY clause. (CVS 556)
...
FossilOrigin-Name: 5f22d21571acedbd6348b61445a7c408cde8d229
2002-05-08 21:30:15 +00:00
drh
891da435d6
Version 2.4.11 (CVS 555)
...
FossilOrigin-Name: b13151794b42109a59ed34e6b9bce6ce90de537b
2002-05-08 12:03:50 +00:00
drh
685b941542
Increase the version number and update the change log in preparation for
...
the 2.4.11 release. (CVS 554)
FossilOrigin-Name: f6e406aa0422d9b5a3cfe89b0d38def535f8fe9b
2002-05-08 11:57:09 +00:00
drh
0bb28106be
Fix for tickets #32 and #33 : Generate the names of the result set early, before
...
doing the flattening optimization or evaluating subqueries. Otherwise, the
result set column names are generated incorrectly or after they are needed. (CVS 553)
FossilOrigin-Name: 08f27cb36805d38648274b6fe91dec43a5910057
2002-05-08 11:54:14 +00:00
drh
cc47c28068
Added documentation about the new CASE expression. (CVS 552)
...
FossilOrigin-Name: cc541b10302774b9004babbfb3a11b1f65d4b863
2002-05-06 11:47:32 +00:00
drh
0fface6e33
Fix typos in the man-page (sqlite.1) and remove two unused files.
...
Patches from Andreas Rottmann. (CVS 551)
FossilOrigin-Name: 5772d31934ced7e35842d7c7689ff4878b7e80f5
2002-05-06 11:34:26 +00:00
drh
133224676a
Version 2.4.10 (CVS 550)
...
FossilOrigin-Name: 5f3618142f7e4654e85ca08383d6d7c1b3395c66
2002-05-03 00:18:11 +00:00
drh
2e18abf43c
Update the change log prior to releasing version 2.4.10. (CVS 549)
...
FossilOrigin-Name: 67838bbc800a1acdd91af8e43f5a65494fb9d690
2002-05-03 00:17:54 +00:00
drh
08192d5f76
Fix for ticket #31 : Do not attempt the flattening optimization if the
...
subselect does not contain a FROM clause. Handle the special case where
a WHERE clause is constant. (CVS 548)
FossilOrigin-Name: 24e4cf73d22bb41d26bf3c833f1854a9c90923e8
2002-04-30 19:20:28 +00:00
drh
ef9f708e8f
Fix for ticket #28 : Export the "sqlite_changes" function in Windows DLLs. (CVS 547)
...
FossilOrigin-Name: f7cea4634dd53204b4aa8a3630b9c55c40fdc4b3
2002-04-26 09:47:20 +00:00
drh
f7bd5d75db
Update the test logic and the comments on the encoder.c module. (CVS 546)
...
FossilOrigin-Name: 18c28519d973944756694b2c213bfef3153f4b1b
2002-04-25 23:06:47 +00:00
drh
e8a49c12a6
Added the "encode.c" source file that contains two utility subroutines that
...
can be used to encode binary data for use in INSERT and UPDATE statements.
This is just an initial checking. The code has not yet been integrated into
the library. (CVS 545)
FossilOrigin-Name: 57f7c59713299b03b10ba9c1a5883e2c08a8b138
2002-04-25 11:45:41 +00:00
drh
7caf776079
Fix for ticket #26 : Document the fact that CREATE TABLE might not be
...
immediately visible to other processes that are holding the database open. (CVS 544)
FossilOrigin-Name: 18b31b7ab90ab330e271e0ed5d316f63846845be
2002-04-25 00:21:50 +00:00