]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
23 years agoAdded tests for multi-column primary keys. (CVS 585)
drh [Fri, 24 May 2002 02:14:50 +0000 (02:14 +0000)] 
Added tests for multi-column primary keys. (CVS 585)

FossilOrigin-Name: ffc49e56b13096b35e6cbb1a2f7d546843d4a91d

23 years agoSplit the IdList structure into IdList and SrcList. SrcList is used to
drh [Fri, 24 May 2002 02:04:32 +0000 (02:04 +0000)] 
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

23 years agoChange the names of the PushList and PopList opcodes to ListPush and ListPop
drh [Thu, 23 May 2002 22:07:02 +0000 (22:07 +0000)] 
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

23 years agoFix for ticket #50. (CVS 582)
drh [Thu, 23 May 2002 13:15:37 +0000 (13:15 +0000)] 
Fix for ticket #50. (CVS 582)

FossilOrigin-Name: 82b74a494ac7c751a13e67dcfa7fffb1b98ec808

23 years agoPartial fix for ticket #49. The correct result is computed, but now we have
drh [Thu, 23 May 2002 12:50:18 +0000 (12:50 +0000)] 
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

23 years agoFix some places where a malloc() failure would lead to a segfault. (CVS 580)
drh [Thu, 23 May 2002 02:09:03 +0000 (02:09 +0000)] 
Fix some places where a malloc() failure would lead to a segfault. (CVS 580)

FossilOrigin-Name: 01ad352c3c82a86d9c94010cbc85d098b8fbc08a

23 years agoDo not allow triggers on the SQLITE_MASTER table. (CVS 579)
drh [Thu, 23 May 2002 00:30:31 +0000 (00:30 +0000)] 
Do not allow triggers on the SQLITE_MASTER table. (CVS 579)

FossilOrigin-Name: 275ba356f351abcf9a079ac16b765c9443750f0e

23 years agoFix for ticket #46: Report an error if a CREATE TABLE contains two or more
drh [Wed, 22 May 2002 21:27:03 +0000 (21:27 +0000)] 
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

23 years agoFix for ticket #47: Use a cast to avoid a warning about discarding a "const"
drh [Tue, 21 May 2002 23:44:30 +0000 (23:44 +0000)] 
Fix for ticket #47: Use a cast to avoid a warning about discarding a "const"
inside of hash.c. (CVS 577)

FossilOrigin-Name: 0c903461533fabca7815e8cccbd3b712bcd22ddc

23 years agoDouble-quoted strings resolve to column names if possible. Single-quoted
drh [Tue, 21 May 2002 13:43:04 +0000 (13:43 +0000)] 
Double-quoted strings resolve to column names if possible.  Single-quoted
strings continue to be interpreted as string literals. (CVS 576)

FossilOrigin-Name: 55e7d65496624c8e48673d8747f3123786bfedbc

23 years agoClean up some compiler warnings. (CVS 575)
drh [Tue, 21 May 2002 13:18:25 +0000 (13:18 +0000)] 
Clean up some compiler warnings. (CVS 575)

FossilOrigin-Name: 3399b01219b9e75b93587b5634d199d9e6fb6e42

23 years agoModify the shell so that when it is doing a ".dump" it always uses single
drh [Tue, 21 May 2002 13:02:24 +0000 (13:02 +0000)] 
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

23 years agoFix for ticket #45: Allow an UPDATE statement to change the INTEGER PRIMARY KEY
drh [Tue, 21 May 2002 12:56:43 +0000 (12:56 +0000)] 
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

23 years agoAdditional code cleanup resulting from a review of the new trigger code. (CVS 572)
drh [Tue, 21 May 2002 11:38:11 +0000 (11:38 +0000)] 
Additional code cleanup resulting from a review of the new trigger code. (CVS 572)

FossilOrigin-Name: 37dbdd551e88440933066133ec9cc1e10b03fc1a

23 years agoStyle fixes to triggers code in various *.c files (partial fix to ticket #39) (CVS...
danielk1977 [Sun, 19 May 2002 23:43:12 +0000 (23:43 +0000)] 
Style fixes to triggers code in various *.c files (partial fix to ticket #39) (CVS 571)

FossilOrigin-Name: 8a4195c7466962291a296e8f53034ea8cb25005f

23 years agoStylistic changes to src/trigger.c (partial fix to ticket #39). Also more comments...
danielk1977 [Fri, 17 May 2002 00:05:58 +0000 (00:05 +0000)] 
Stylistic changes to src/trigger.c (partial fix to ticket #39). Also more comments. (CVS 570)

FossilOrigin-Name: b1d72cb5847a9f5f08e40b36ad117b5493232ea7

23 years agoFix for ticket #42: Added comments to structs Trigger, TriggerStep and TriggerStack...
danielk1977 [Thu, 16 May 2002 00:13:12 +0000 (00:13 +0000)] 
Fix for ticket #42: Added comments to structs Trigger, TriggerStep and TriggerStack. (CVS 569)

FossilOrigin-Name: 9ec8a2b139ce38312284d7b4eb61221b1e1e3052

23 years agoFix a typo in the c_interface.html documentation file. (CVS 568)
drh [Wed, 15 May 2002 23:26:22 +0000 (23:26 +0000)] 
Fix a typo in the c_interface.html documentation file. (CVS 568)

FossilOrigin-Name: 454879fa400f8c67456a483e69342bf48e3a02a4

23 years agoFix for ticket #41: Better handling of CREATE TRIGGER in the sqlite_complete()
drh [Wed, 15 May 2002 14:17:44 +0000 (14:17 +0000)] 
Fix for ticket #41: Better handling of CREATE TRIGGER in the sqlite_complete()
function. (CVS 567)

FossilOrigin-Name: f45c4b767a6b1451787836060235ff7499dea0de

23 years agoBeginning to clean up the trigger code. Still lots of work to do. (CVS 566)
drh [Wed, 15 May 2002 12:45:43 +0000 (12:45 +0000)] 
Beginning to clean up the trigger code.  Still lots of work to do. (CVS 566)

FossilOrigin-Name: b10346818b25940c6dc85e94de8e36d20954161c

23 years agoRemove all tabs from the beginning of source code lines. Replace tabs with
drh [Wed, 15 May 2002 11:44:13 +0000 (11:44 +0000)] 
Remove all tabs from the beginning of source code lines.  Replace tabs with
the appropriate number of spaces. (CVS 565)

FossilOrigin-Name: 690f9a163173c4c7af7e8e92e942cee4184c7974

23 years agoIn the "lang.html" documentation file, put the CREATE TRIGGER and DROP TRIGGER
drh [Wed, 15 May 2002 11:43:16 +0000 (11:43 +0000)] 
In the "lang.html" documentation file, put the CREATE TRIGGER and DROP TRIGGER
sections in alphabetical order. (CVS 564)

FossilOrigin-Name: d1d8642b57bd0765ade730248012d58b0859c12c

23 years agoAdd the Makefile.in that was forgotten with checkin #562 (CVS 563)
danielk1977 [Wed, 15 May 2002 08:43:10 +0000 (08:43 +0000)] 
Add the Makefile.in that was forgotten with checkin #562 (CVS 563)

FossilOrigin-Name: 29b8330ca6bfe32c499a045189683100f2b15246

23 years agoAdded FOR EACH ROW triggers functionality (CVS 562)
danielk1977 [Wed, 15 May 2002 08:30:12 +0000 (08:30 +0000)] 
Added FOR EACH ROW triggers functionality (CVS 562)

FossilOrigin-Name: 794bf67b6b36fce8854d5daff12f21dbb943240c

23 years agoVersion 2.4.12 (CVS 561)
drh [Fri, 10 May 2002 14:41:54 +0000 (14:41 +0000)] 
Version 2.4.12 (CVS 561)

FossilOrigin-Name: 06cdaf1c80f7bc25fc555c7c8a35258faed2d2e9

23 years agoUpdate the misuse.test script so that it will work under Windows. Changes
drh [Fri, 10 May 2002 14:37:30 +0000 (14:37 +0000)] 
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

23 years agoImprovements to the SQLITE_MISUSE detection logic. Also added test cases
drh [Fri, 10 May 2002 13:14:07 +0000 (13:14 +0000)] 
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

23 years agoAttempt to detect when two or more threads try to use the same database at
drh [Fri, 10 May 2002 05:44:55 +0000 (05:44 +0000)] 
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

23 years agoFix for ticket #35: Ignore any ORDER BY clause on a subquery in a FROM clause. (CVS...
drh [Wed, 8 May 2002 21:46:14 +0000 (21:46 +0000)] 
Fix for ticket #35: Ignore any ORDER BY clause on a subquery in a FROM clause. (CVS 557)

FossilOrigin-Name: 1b0ee944c9af10078aba628e85d79f8682afa2b6

23 years agoFix for ticket #34: VIEWs ignore their ORDER BY clause. (CVS 556)
drh [Wed, 8 May 2002 21:30:15 +0000 (21:30 +0000)] 
Fix for ticket #34: VIEWs ignore their ORDER BY clause. (CVS 556)

FossilOrigin-Name: 5f22d21571acedbd6348b61445a7c408cde8d229

23 years agoVersion 2.4.11 (CVS 555)
drh [Wed, 8 May 2002 12:03:50 +0000 (12:03 +0000)] 
Version 2.4.11 (CVS 555)

FossilOrigin-Name: b13151794b42109a59ed34e6b9bce6ce90de537b

23 years agoIncrease the version number and update the change log in preparation for
drh [Wed, 8 May 2002 11:57:09 +0000 (11:57 +0000)] 
Increase the version number and update the change log in preparation for
the 2.4.11 release. (CVS 554)

FossilOrigin-Name: f6e406aa0422d9b5a3cfe89b0d38def535f8fe9b

23 years agoFix for tickets #32 and #33: Generate the names of the result set early, before
drh [Wed, 8 May 2002 11:54:14 +0000 (11:54 +0000)] 
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

23 years agoAdded documentation about the new CASE expression. (CVS 552)
drh [Mon, 6 May 2002 11:47:32 +0000 (11:47 +0000)] 
Added documentation about the new CASE expression. (CVS 552)

FossilOrigin-Name: cc541b10302774b9004babbfb3a11b1f65d4b863

23 years agoFix typos in the man-page (sqlite.1) and remove two unused files.
drh [Mon, 6 May 2002 11:34:26 +0000 (11:34 +0000)] 
Fix typos in the man-page (sqlite.1) and remove two unused files.
Patches from Andreas Rottmann. (CVS 551)

FossilOrigin-Name: 5772d31934ced7e35842d7c7689ff4878b7e80f5

23 years agoVersion 2.4.10 (CVS 550)
drh [Fri, 3 May 2002 00:18:11 +0000 (00:18 +0000)] 
Version 2.4.10 (CVS 550)

FossilOrigin-Name: 5f3618142f7e4654e85ca08383d6d7c1b3395c66

23 years agoUpdate the change log prior to releasing version 2.4.10. (CVS 549)
drh [Fri, 3 May 2002 00:17:54 +0000 (00:17 +0000)] 
Update the change log prior to releasing version 2.4.10. (CVS 549)

FossilOrigin-Name: 67838bbc800a1acdd91af8e43f5a65494fb9d690

23 years agoFix for ticket #31: Do not attempt the flattening optimization if the
drh [Tue, 30 Apr 2002 19:20:28 +0000 (19:20 +0000)] 
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

23 years agoFix for ticket #28: Export the "sqlite_changes" function in Windows DLLs. (CVS 547)
drh [Fri, 26 Apr 2002 09:47:20 +0000 (09:47 +0000)] 
Fix for ticket #28: Export the "sqlite_changes" function in Windows DLLs. (CVS 547)

FossilOrigin-Name: f7cea4634dd53204b4aa8a3630b9c55c40fdc4b3

23 years agoUpdate the test logic and the comments on the encoder.c module. (CVS 546)
drh [Thu, 25 Apr 2002 23:06:47 +0000 (23:06 +0000)] 
Update the test logic and the comments on the encoder.c module. (CVS 546)

FossilOrigin-Name: 18c28519d973944756694b2c213bfef3153f4b1b

23 years agoAdded the "encode.c" source file that contains two utility subroutines that
drh [Thu, 25 Apr 2002 11:45:41 +0000 (11:45 +0000)] 
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

23 years agoFix for ticket #26: Document the fact that CREATE TABLE might not be
drh [Thu, 25 Apr 2002 00:21:50 +0000 (00:21 +0000)] 
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

23 years agoFix for ticket #22: In the code generator for compound SELECT statements, take
drh [Tue, 23 Apr 2002 17:10:18 +0000 (17:10 +0000)] 
Fix for ticket #22: In the code generator for compound SELECT statements, take
care not to generate column name headers if the output is an intermediate table.
Otherwise the column headers are not generated correctly if a compound SELECT
statement appears as an expression in part of the WHERE clause. (CVS 543)

FossilOrigin-Name: a06d9acdd5af0dc69b3a4d024de082631254aead

23 years agoVersion 2.4.9 (CVS 542)
drh [Mon, 22 Apr 2002 00:35:06 +0000 (00:35 +0000)] 
Version 2.4.9 (CVS 542)

FossilOrigin-Name: 0691720a4b94141635734ab0a8c4072cab189a33

23 years agoUpdate the version number and changes log for 2.4.9 (CVS 541)
drh [Mon, 22 Apr 2002 00:33:23 +0000 (00:33 +0000)] 
Update the version number and changes log for 2.4.9 (CVS 541)

FossilOrigin-Name: a91da82f8ae2b375bf9f5e064f16d6a5770e20b6

23 years agoFix for ticket #21 (I think): Do not return an "out of memory" error if we
drh [Sun, 21 Apr 2002 19:06:22 +0000 (19:06 +0000)] 
Fix for ticket #21 (I think): Do not return an "out of memory" error if we
can not find the users home directory. Instead, just report that we could
not find the home directory. (CVS 540)

FossilOrigin-Name: 8a50c57cc3342de9c6eca6c2567d3aa42b407f10

23 years agoVersion 2.4.8 (CVS 538)
drh [Sat, 20 Apr 2002 14:45:31 +0000 (14:45 +0000)] 
Version 2.4.8 (CVS 538)

FossilOrigin-Name: d703a2c5c4fa3e792e203fd9895b59570b5fdfd1

23 years agoUpdate the change log for the 2.4.8 release. (CVS 539)
drh [Sat, 20 Apr 2002 14:44:01 +0000 (14:44 +0000)] 
Update the change log for the 2.4.8 release. (CVS 539)

FossilOrigin-Name: c01bc2d19e8592fe3b1a5202926be649af96c783

23 years agoFix for ticket #1: Implement the GLOB and LIKE operators as functions that
drh [Sat, 20 Apr 2002 14:24:41 +0000 (14:24 +0000)] 
Fix for ticket #1: Implement the GLOB and LIKE operators as functions that
can be overridden.  This way, a developer can change the LIKE operator to
be case sensitive, for example. (CVS 537)

FossilOrigin-Name: 51572bf71774d7631c7083be90b806e621bc9bee

23 years agoAdd support for saving the sqlite shell command-line history across sessions. (CVS...
drh [Fri, 19 Apr 2002 12:34:06 +0000 (12:34 +0000)] 
Add support for saving the sqlite shell command-line history across sessions. (CVS 536)

FossilOrigin-Name: ca4abf3fe1f0e66802f9f98a20e0c8b82a6459aa

23 years agoAdded rights release for Matthew O. Persico (CVS 535)
persicom [Fri, 19 Apr 2002 01:00:12 +0000 (01:00 +0000)] 
Added rights release for Matthew O. Persico (CVS 535)

FossilOrigin-Name: 6c32c07e8218caffebd4503e7d8a90226ac81cdc

23 years agoChange shell.c so that it will compile under windows. Shorten the help
drh [Thu, 18 Apr 2002 12:39:03 +0000 (12:39 +0000)] 
Change shell.c so that it will compile under windows.  Shorten the help
command somewhat.  Add the state of ".header" to the output of ".show". (CVS 534)

FossilOrigin-Name: 0582168b8b853559b484f4a024d28c67192160c4

23 years agoUpdated to match new shell.c functionality. (CVS 533)
persicom [Thu, 18 Apr 2002 02:53:54 +0000 (02:53 +0000)] 
Updated to match new shell.c functionality. (CVS 533)

FossilOrigin-Name: ff67ad40106a20fb85797cca4c495dc34ad5519b

23 years agoMistake in help text. Spurious trailing whitespace removed. (CVS 532)
persicom [Thu, 18 Apr 2002 02:53:04 +0000 (02:53 +0000)] 
Mistake in help text. Spurious trailing whitespace removed. (CVS 532)

FossilOrigin-Name: 4bdd040e4810565c91bcbb5f065580520c5e3c45

23 years agoGeneral:
persicom [Thu, 18 Apr 2002 02:46:52 +0000 (02:46 +0000)] 
General:
o Added global static chars mainPrompt and continuePrompt.
o Moved Argv0 declaration to head of file. Needed in do_meta_command,
  previously found below that.
o Added struct previous_mode_data to support new .explain toggle
  functionality.
o Added nullvalue, explainPrev and outfile members to
  struct callback_data.
o Added modeDescr array for number/text translation ofdisplay modes.
o Modified zHelp to match new functionality.

callback():
o Added support for .nullvalue

do_meta_command():
o Output filename is now saved to callback struct. If using stdout,
  then the string "stdout" is saved.
o Explain is now a toggle. When it is turned on, the current values of
  mode, header and colWidth are saved if not already in explain mode.
  When turned off, those values are restored.
o Allow .mode plurals columns and lines and dot command plural
  .headers.
o Added processing for new keywords .quit, .nullvalue, .show, .prompt.

main():
o Added -init as an option to override .sqliterc.
o Added -nullvalue as a command line option.
o Processes .sqliterc.

main_init():
o Genesis. Moved some initialization code here from inside main() so
  that it can be called initially by main and again if -init is
  specified.

one_input_line():
o Now takes prompts from settable values.

process_sqliterc():
o Genesis. Read .sqliterc from user's home directory and pass it to
  process_input(). File should contain meta commands for setups. (CVS 531)

FossilOrigin-Name: e751338c468cdad79efcc5cd5b924eb2c1eb3c3a

23 years agoFix for ticket #19: Do not call sqliteOsSync() if the only changes were
drh [Thu, 18 Apr 2002 01:56:57 +0000 (01:56 +0000)] 
Fix for ticket #19: Do not call sqliteOsSync() if the only changes were
changes to TEMP tables. (CVS 530)

FossilOrigin-Name: 33da20b9c1a8eef16ad7ab5929bb8937c75090f2

23 years agoWhen doing a ".dump" command in the command-line shell, make sure VIEWs
drh [Sat, 13 Apr 2002 23:42:24 +0000 (23:42 +0000)] 
When doing a ".dump" command in the command-line shell, make sure VIEWs
are created after TABLEs. (CVS 529)

FossilOrigin-Name: 7edd13468e24d79939f0fa1e58f3b686422ca826

23 years agoVersion 2.4.7 (CVS 528)
drh [Fri, 12 Apr 2002 13:12:25 +0000 (13:12 +0000)] 
Version 2.4.7 (CVS 528)

FossilOrigin-Name: 977abbaebe5433c66516d0376a1c229e45b5ab1f

23 years agoAdd tests to prevent a recurrance of bug #16. Also: put a hyperlink to the new
drh [Fri, 12 Apr 2002 13:11:52 +0000 (13:11 +0000)] 
Add tests to prevent a recurrance of bug #16. Also: put a hyperlink to the new
ticket screen on the main page of the website. (CVS 527)

FossilOrigin-Name: cdab6dad323dd1e95ec8b7684a7c4b06c75905e0

23 years agoFix for bug #15: Add the sqlite_changes() API function for retrieving the
drh [Fri, 12 Apr 2002 10:08:59 +0000 (10:08 +0000)] 
Fix for bug #15: Add the sqlite_changes() API function for retrieving the
number of rows that changed in the previous operation. (CVS 526)

FossilOrigin-Name: 6e71493b9dc77d508c3ce90562766789e87e6d80

23 years agoFix for bug #16: Check for invalid functions in the VALUES clause of an
drh [Fri, 12 Apr 2002 03:55:15 +0000 (03:55 +0000)] 
Fix for bug #16: Check for invalid functions in the VALUES clause of an
INSERT statement. (CVS 525)

FossilOrigin-Name: 43a77f019d34e1a6b3f502ad0ec31a00c8fdbe6e

23 years agoFix for bug #11: Output the correct row count when and INSERT does an
drh [Tue, 9 Apr 2002 03:28:01 +0000 (03:28 +0000)] 
Fix for bug #11: Output the correct row count when and INSERT does an
IGNORE action. (CVS 524)

FossilOrigin-Name: bb83642e9a6c1c9ade861618496933c9f922a8f8

23 years agoFix for bug #10: Pop the stack by the right amount on an IGNORE so that the
drh [Tue, 9 Apr 2002 03:15:06 +0000 (03:15 +0000)] 
Fix for bug #10: Pop the stack by the right amount on an IGNORE so that the
stack does not grow without bound. (CVS 523)

FossilOrigin-Name: f46acfc3b828620e4e97b09f9aff119b9313e5d7

23 years agoAdd a -column option to the sqlite command-line utility.
drh [Mon, 8 Apr 2002 02:42:57 +0000 (02:42 +0000)] 
Add a -column option to the sqlite command-line utility.
Patch from Matthew O. Persico. (CVS 522)

FossilOrigin-Name: 760bf568c882d7b28746b1e004309ef08d2ff4c0

23 years agoAdded the last_insert_rowid() SQL function. (CVS 521)
drh [Sat, 6 Apr 2002 14:10:47 +0000 (14:10 +0000)] 
Added the last_insert_rowid() SQL function. (CVS 521)

FossilOrigin-Name: 6aca3f86bc08849e9d806fdd490f98e4daf71025

23 years agoMake the FROM clause on a SELECT optional. If omitted, the result of
drh [Sat, 6 Apr 2002 13:57:42 +0000 (13:57 +0000)] 
Make the FROM clause on a SELECT optional.  If omitted, the result of
the SELECT is a single row consisting of the values in the expression list. (CVS 520)

FossilOrigin-Name: 28ce42f7872e2660faa22e66b508db9b1f046af0

23 years agoAdd an fflush() call to shell.c to insure that all output has been written
drh [Thu, 4 Apr 2002 15:10:12 +0000 (15:10 +0000)] 
Add an fflush() call to shell.c to insure that all output has been written
before we prompt for a new line of input. (CVS 519)

FossilOrigin-Name: 932274187e045ce331177b1a640ed62da4a22d94

23 years agoFix for bug #2: Add support for TABLE.* in SELECT statements. (CVS 518)
drh [Thu, 4 Apr 2002 02:10:55 +0000 (02:10 +0000)] 
Fix for bug #2: Add support for TABLE.* in SELECT statements. (CVS 518)

FossilOrigin-Name: c2320eabfe44d6eb05c02b76547e5bd48a29943c

23 years agoAdded a hyperlink to the SQLite-PHP project. (CVS 517)
drh [Wed, 3 Apr 2002 20:50:21 +0000 (20:50 +0000)] 
Added a hyperlink to the SQLite-PHP project. (CVS 517)

FossilOrigin-Name: ffdeec3087e168acaa04a6331e91369e2e0f8345

23 years agoVersion 2.4.6 (CVS 516)
drh [Tue, 2 Apr 2002 13:27:43 +0000 (13:27 +0000)] 
Version 2.4.6 (CVS 516)

FossilOrigin-Name: 5ae7efd87f1a8e2f3e927bf373fbcb5c692d1a02

23 years agoFix for bug #8: Correctly handle terms of a WHERE clause in a join where the
drh [Tue, 2 Apr 2002 13:26:10 +0000 (13:26 +0000)] 
Fix for bug #8: Correctly handle terms of a WHERE clause in a join where the
term does not use a comparison operator. (CVS 515)

FossilOrigin-Name: abb12259a09418eb6e3cf573ea718ac58c91ac7b

23 years agoVersion 2.4.5 (CVS 514)
drh [Tue, 2 Apr 2002 02:00:02 +0000 (02:00 +0000)] 
Version 2.4.5 (CVS 514)

FossilOrigin-Name: b18a7b777cf22249c81b74baafa1a74ad5a1836b

23 years agoFix for bug #6: Correctly handle functions in the WHERE clause of a join. (CVS 513)
drh [Tue, 2 Apr 2002 01:58:57 +0000 (01:58 +0000)] 
Fix for bug #6: Correctly handle functions in the WHERE clause of a join. (CVS 513)

FossilOrigin-Name: bdd8ce584e16fe288a7e8386f897cb36a60e8431

23 years agoFix for bug #7: Correctly display the P3 operand in a VDBE trace when the
drh [Tue, 2 Apr 2002 01:44:50 +0000 (01:44 +0000)] 
Fix for bug #7: Correctly display the P3 operand in a VDBE trace when the
operand is really a pointer to a structure. (CVS 512)

FossilOrigin-Name: 734dde765b38d61feaa5520e6481c77022367892

23 years agoRemove from the index page of the website hyperlinks that are not directly
drh [Mon, 1 Apr 2002 12:15:02 +0000 (12:15 +0000)] 
Remove from the index page of the website hyperlinks that are not directly
related to SQLite. (CVS 511)

FossilOrigin-Name: 0cb5cfa814bceecea1a346535cac24ec8e2941d7

23 years agoWhen an attempt is made to insert an explicit NULL into an INTEGER
drh [Sun, 31 Mar 2002 18:29:03 +0000 (18:29 +0000)] 
When an attempt is made to insert an explicit NULL into an INTEGER
PRIMARY KEY column, automatically convert the NULL value into a unique
integer key.  This was already happening when an implied NULL was
inserted - when the INTEGER PRIMARY KEY column was omitted from the
list of columns being inserted.  Patches from Christian Werner. (CVS 510)

FossilOrigin-Name: 9e3cf4aa2cb44932015b8bd3fd800d7678cb09b6

23 years agoVersion 2.4.4 (CVS 509)
drh [Sat, 30 Mar 2002 15:32:08 +0000 (15:32 +0000)] 
Version 2.4.4 (CVS 509)

FossilOrigin-Name: c4b6c0be00b9688a432bbd23736564a042f5d8ee

23 years agoUpdate the change log to include the previous commit. (CVS 508)
drh [Sat, 30 Mar 2002 15:27:56 +0000 (15:27 +0000)] 
Update the change log to include the previous commit. (CVS 508)

FossilOrigin-Name: 81c4b749614cb0ca50bc52a3d4aac189af0222cd

23 years agoFix for bug #3: Allow VIEW as a column name. Also allow COPY. (CVS 507)
drh [Sat, 30 Mar 2002 15:26:50 +0000 (15:26 +0000)] 
Fix for bug #3: Allow VIEW as a column name.  Also allow COPY. (CVS 507)

FossilOrigin-Name: d2bdc0feeb3a3595850f40ab211df7a3963d6c30

23 years agoDescribe the difference between the binary RPMs in the download.html file. (CVS 506)
drh [Sat, 30 Mar 2002 14:15:51 +0000 (14:15 +0000)] 
Describe the difference between the binary RPMs in the download.html file. (CVS 506)

FossilOrigin-Name: 8ce9a1fad2d8b20876b0557fa57515e0df74ed05

23 years agoCombine the homerpm.sh file in with publish.sh. Update the website files to
drh [Fri, 29 Mar 2002 18:16:04 +0000 (18:16 +0000)] 
Combine the homerpm.sh file in with publish.sh.  Update the website files to
refer to the new RPMs that are now being built.  Fix a small problem with
the spec file. (CVS 505)

FossilOrigin-Name: 57d4c7704794d0a28cbf67be3f90dbf81bf3b05d

23 years agoadded a section to create a spec file and build the rpm files (CVS 504)
doughenry [Fri, 29 Mar 2002 01:29:53 +0000 (01:29 +0000)] 
added a section to create a spec file and build the rpm files (CVS 504)

FossilOrigin-Name: e529143967a6fd4e65dea6a5ff68a7aabc36f787

23 years agothese files are needed by publish.sh to build rpms (CVS 503)
doughenry [Fri, 29 Mar 2002 01:28:45 +0000 (01:28 +0000)] 
these files are needed by publish.sh to build rpms (CVS 503)

FossilOrigin-Name: 3c25359376814e9c3912246d79528614a3499e5b

23 years agoTwo typos fixed in the documentation (lang.html). (CVS 502)
drh [Thu, 28 Mar 2002 14:20:08 +0000 (14:20 +0000)] 
Two typos fixed in the documentation (lang.html). (CVS 502)

FossilOrigin-Name: f0f241e1cc322ebed8f215b4b8ddcc0f5ee2ff65

23 years agoUpdate the documentation to refer the reader to the CVS server for the change
drh [Wed, 27 Mar 2002 12:52:47 +0000 (12:52 +0000)] 
Update the documentation to refer the reader to the CVS server for the change
log, bug lists, or the latest sources. (CVS 500)

FossilOrigin-Name: 2478ba866646d6d445b370554af9cd3d362b0e10

23 years agoUpdate the change log. (CVS 438)
drh [Tue, 26 Mar 2002 03:11:27 +0000 (03:11 +0000)] 
Update the change log. (CVS 438)

FossilOrigin-Name: 9637b9aa5d405427ead52438eed8c626feac8658

23 years agoAdded support for CASE expressions - patches from Dan Kennedy. (CVS 437)
drh [Sun, 24 Mar 2002 13:13:27 +0000 (13:13 +0000)] 
Added support for CASE expressions - patches from Dan Kennedy. (CVS 437)

FossilOrigin-Name: 836b59d057c3fb4087b138c9bfbc03392ddfb89d

23 years agoVersion 2.4.3 (CVS 440)
drh [Sat, 23 Mar 2002 00:59:59 +0000 (00:59 +0000)] 
Version 2.4.3 (CVS 440)

FossilOrigin-Name: 99d6764e57ddc7f0a321229cc1b7aa9a76f1aae5

23 years agoThe sqlite_get_table() function now returns an error if you pass in two
drh [Sat, 23 Mar 2002 00:52:01 +0000 (00:52 +0000)] 
The sqlite_get_table() function now returns an error if you pass in two
or more SELECT statements that return different numbers of columns. (CVS 436)

FossilOrigin-Name: e2558c34034cf49524084ec819df58934a8af983

23 years agoFix a bug in subquery generation when the subquery is a compound select.
drh [Sat, 23 Mar 2002 00:31:29 +0000 (00:31 +0000)] 
Fix a bug in subquery generation when the subquery is a compound select.
Also added new tests to cover this case. (CVS 435)

FossilOrigin-Name: aaf7fd4cef04d3d70a0444aad1b606bfc663c3e8

23 years agoVersion 2.4.2 (CVS 441)
drh [Wed, 20 Mar 2002 01:05:00 +0000 (01:05 +0000)] 
Version 2.4.2 (CVS 441)

FossilOrigin-Name: 49d032325553fa1dd7f31b852753cc6c9226d8f7

23 years agoOne more change before 2.4.2: Make the os.h header file more robust in
drh [Wed, 20 Mar 2002 00:00:29 +0000 (00:00 +0000)] 
One more change before 2.4.2: Make the os.h header file more robust in
detecting whether to use unix or windows. (CVS 434)

FossilOrigin-Name: c2e0b79057c9c643e7432e62c90399c8f34339f9

23 years agoVersion 2.4.2 (CVS 433)
drh [Tue, 19 Mar 2002 23:51:12 +0000 (23:51 +0000)] 
Version 2.4.2 (CVS 433)

FossilOrigin-Name: b0805b606904e18800c9850b5aa33724c4619de8

23 years agoFix an uninitialized variable in AggReset() (CVS 432)
drh [Mon, 18 Mar 2002 13:03:54 +0000 (13:03 +0000)] 
Fix an uninitialized variable in AggReset() (CVS 432)

FossilOrigin-Name: 3dcdeae7f620736c1eae52ad78db1efb886ea9c3

23 years agoBug fix: allow ROWID as a column in SELECT statements where the FROM clause
drh [Thu, 14 Mar 2002 14:33:31 +0000 (14:33 +0000)] 
Bug fix: allow ROWID as a column in SELECT statements where the FROM clause
includes views which are flattened. (CVS 431)

FossilOrigin-Name: a3a360b308e45eaaf19efda80e30f2d420799cf2

23 years agoVersion 2.4.1 (CVS 442)
drh [Wed, 13 Mar 2002 18:59:59 +0000 (18:59 +0000)] 
Version 2.4.1 (CVS 442)

FossilOrigin-Name: 9f12b8805fd2f9a3422ed2a46190cfc881c87b36

23 years agoVersion 2.4.1 (CVS 430)
drh [Wed, 13 Mar 2002 18:54:50 +0000 (18:54 +0000)] 
Version 2.4.1 (CVS 430)

FossilOrigin-Name: 9333ecca1e48bfca613d6909498f91ca3a53d53d

23 years agoFix bug in anonymous subquery in a join. Parser requires a semicolon or
drh [Wed, 13 Mar 2002 18:54:07 +0000 (18:54 +0000)] 
Fix bug in anonymous subquery in a join.  Parser requires a semicolon or
end-of-input before executing. (CVS 429)

FossilOrigin-Name: c0e3f1c592f583a0659901743a368aff1927f1cb

23 years agoFix the return type of the xStep function in the FuncDef structure
drh [Tue, 12 Mar 2002 23:10:04 +0000 (23:10 +0000)] 
Fix the return type of the xStep function in the FuncDef structure
definition. (CVS 428)

FossilOrigin-Name: 753adb789e1624ceeb52066df350dcd99aa4e3df

23 years agoChange the way that lemon handles %extra_argument. (CVS 427)
drh [Mon, 11 Mar 2002 13:55:50 +0000 (13:55 +0000)] 
Change the way that lemon handles %extra_argument. (CVS 427)

FossilOrigin-Name: ffc387a48a9864b7f323314fbf8295b5bb2a3bd1