Commit Graph

12912 Commits

Author SHA1 Message Date
drh dd45df8a5b 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
2002-04-18 12:39:03 +00:00
persicom 45698a3a03 Updated to match new shell.c functionality. (CVS 533)
FossilOrigin-Name: ff67ad40106a20fb85797cca4c495dc34ad5519b
2002-04-18 02:53:54 +00:00
persicom 1d0b872d43 Mistake in help text. Spurious trailing whitespace removed. (CVS 532)
FossilOrigin-Name: 4bdd040e4810565c91bcbb5f065580520c5e3c45
2002-04-18 02:53:04 +00:00
persicom 7e2dfdd726 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
2002-04-18 02:46:52 +00:00
drh a168045f7d Fix for ticket #19: Do not call sqliteOsSync() if the only changes were
changes to TEMP tables. (CVS 530)

FossilOrigin-Name: 33da20b9c1a8eef16ad7ab5929bb8937c75090f2
2002-04-18 01:56:57 +00:00
drh fc6cdfe9dc When doing a ".dump" command in the command-line shell, make sure VIEWs
are created after TABLEs. (CVS 529)

FossilOrigin-Name: 7edd13468e24d79939f0fa1e58f3b686422ca826
2002-04-13 23:42:24 +00:00
drh 6b0e620fda Version 2.4.7 (CVS 528)
FossilOrigin-Name: 977abbaebe5433c66516d0376a1c229e45b5ab1f
version-2.4.7
2002-04-12 13:12:25 +00:00
drh adbe353fc6 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
2002-04-12 13:11:52 +00:00
drh c8d30ac109 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
2002-04-12 10:08:59 +00:00
drh b04a5d8768 Fix for bug #16: Check for invalid functions in the VALUES clause of an
INSERT statement. (CVS 525)

FossilOrigin-Name: 43a77f019d34e1a6b3f502ad0ec31a00c8fdbe6e
2002-04-12 03:55:15 +00:00
drh feeb1394ee Fix for bug #11: Output the correct row count when and INSERT does an
IGNORE action. (CVS 524)

FossilOrigin-Name: bb83642e9a6c1c9ade861618496933c9f922a8f8
2002-04-09 03:28:01 +00:00
drh fe1a1773a8 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
2002-04-09 03:15:06 +00:00
drh 8b32e17d26 Add a -column option to the sqlite command-line utility.
Patch from Matthew O. Persico. (CVS 522)

FossilOrigin-Name: 760bf568c882d7b28746b1e004309ef08d2ff4c0
2002-04-08 02:42:57 +00:00
drh 6ed41ad735 Added the last_insert_rowid() SQL function. (CVS 521)
FossilOrigin-Name: 6aca3f86bc08849e9d806fdd490f98e4daf71025
2002-04-06 14:10:47 +00:00
drh bf3a4fa4cb 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
2002-04-06 13:57:42 +00:00
drh 41e941dda6 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
2002-04-04 15:10:12 +00:00
drh 5447322939 Fix for bug #2: Add support for TABLE.* in SELECT statements. (CVS 518)
FossilOrigin-Name: c2320eabfe44d6eb05c02b76547e5bd48a29943c
2002-04-04 02:10:55 +00:00
drh f238f700c2 Added a hyperlink to the SQLite-PHP project. (CVS 517)
FossilOrigin-Name: ffdeec3087e168acaa04a6331e91369e2e0f8345
2002-04-03 20:50:21 +00:00
drh 7b7307fb7c Version 2.4.6 (CVS 516)
FossilOrigin-Name: 5ae7efd87f1a8e2f3e927bf373fbcb5c692d1a02
version-2.4.6
2002-04-02 13:27:43 +00:00
drh 3f6b548961 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
2002-04-02 13:26:10 +00:00
drh 11f61696bc Version 2.4.5 (CVS 514)
FossilOrigin-Name: b18a7b777cf22249c81b74baafa1a74ad5a1836b
version-2.4.5
2002-04-02 02:00:02 +00:00
drh dd579122da Fix for bug #6: Correctly handle functions in the WHERE clause of a join. (CVS 513)
FossilOrigin-Name: bdd8ce584e16fe288a7e8386f897cb36a60e8431
2002-04-02 01:58:57 +00:00
drh 5efc18b6da 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
2002-04-02 01:44:50 +00:00
drh 29f5befc43 Remove from the index page of the website hyperlinks that are not directly
related to SQLite. (CVS 511)

FossilOrigin-Name: 0cb5cfa814bceecea1a346535cac24ec8e2941d7
2002-04-01 12:15:02 +00:00
drh e1e68f4974 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
2002-03-31 18:29:03 +00:00
drh 035bd01d6a Version 2.4.4 (CVS 509)
FossilOrigin-Name: c4b6c0be00b9688a432bbd23736564a042f5d8ee
version-2.4.4
2002-03-30 15:32:08 +00:00
drh 132ebed2bf Update the change log to include the previous commit. (CVS 508)
FossilOrigin-Name: 81c4b749614cb0ca50bc52a3d4aac189af0222cd
2002-03-30 15:27:56 +00:00
drh f18543ca39 Fix for bug #3: Allow VIEW as a column name. Also allow COPY. (CVS 507)
FossilOrigin-Name: d2bdc0feeb3a3595850f40ab211df7a3963d6c30
2002-03-30 15:26:50 +00:00
drh edaa6ebfdd Describe the difference between the binary RPMs in the download.html file. (CVS 506)
FossilOrigin-Name: 8ce9a1fad2d8b20876b0557fa57515e0df74ed05
2002-03-30 14:15:51 +00:00
drh 203c211064 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
2002-03-29 18:16:04 +00:00
doughenry 1d36650fa3 added a section to create a spec file and build the rpm files (CVS 504)
FossilOrigin-Name: e529143967a6fd4e65dea6a5ff68a7aabc36f787
2002-03-29 01:29:53 +00:00
doughenry 3c0d1ec01c these files are needed by publish.sh to build rpms (CVS 503)
FossilOrigin-Name: 3c25359376814e9c3912246d79528614a3499e5b
2002-03-29 01:28:45 +00:00
drh 2676a611ec Two typos fixed in the documentation (lang.html). (CVS 502)
FossilOrigin-Name: f0f241e1cc322ebed8f215b4b8ddcc0f5ee2ff65
2002-03-28 14:20:08 +00:00
drh d4037e801a 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
2002-03-27 12:52:47 +00:00
drh 41f03d1d26 Update the change log. (CVS 438)
FossilOrigin-Name: 9637b9aa5d405427ead52438eed8c626feac8658
2002-03-26 03:11:27 +00:00
drh 17a7f8ddab Added support for CASE expressions - patches from Dan Kennedy. (CVS 437)
FossilOrigin-Name: 836b59d057c3fb4087b138c9bfbc03392ddfb89d
2002-03-24 13:13:27 +00:00
drh 6b54e74cf4 Version 2.4.3 (CVS 440)
FossilOrigin-Name: 99d6764e57ddc7f0a321229cc1b7aa9a76f1aae5
version-2.4.3
2002-03-23 00:59:59 +00:00
drh f1a7a13928 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
2002-03-23 00:52:01 +00:00
drh 1cc3d75f69 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
2002-03-23 00:31:29 +00:00
drh 545c23dc42 Version 2.4.2 (CVS 441)
FossilOrigin-Name: 49d032325553fa1dd7f31b852753cc6c9226d8f7
version-2.4.2
2002-03-20 01:05:00 +00:00
drh 27a3220c54 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
2002-03-20 00:00:29 +00:00
drh 5aed9c7410 Version 2.4.2 (CVS 433)
FossilOrigin-Name: b0805b606904e18800c9850b5aa33724c4619de8
2002-03-19 23:51:12 +00:00
drh f2d74ffb74 Fix an uninitialized variable in AggReset() (CVS 432)
FossilOrigin-Name: 3dcdeae7f620736c1eae52ad78db1efb886ea9c3
2002-03-18 13:03:54 +00:00
drh 84e5920738 Bug fix: allow ROWID as a column in SELECT statements where the FROM clause
includes views which are flattened. (CVS 431)

FossilOrigin-Name: a3a360b308e45eaaf19efda80e30f2d420799cf2
2002-03-14 14:33:31 +00:00
drh 38b360bb80 Version 2.4.1 (CVS 442)
FossilOrigin-Name: 9f12b8805fd2f9a3422ed2a46190cfc881c87b36
2002-03-13 18:59:59 +00:00
drh 51fa3215fa Version 2.4.1 (CVS 430)
FossilOrigin-Name: 9333ecca1e48bfca613d6909498f91ca3a53d53d
version-2.4.1
2002-03-13 18:54:50 +00:00
drh 094b2bbfc7 Fix bug in anonymous subquery in a join. Parser requires a semicolon or
end-of-input before executing. (CVS 429)

FossilOrigin-Name: c0e3f1c592f583a0659901743a368aff1927f1cb
2002-03-13 18:54:07 +00:00
drh 56c0e926f1 Fix the return type of the xStep function in the FuncDef structure
definition. (CVS 428)

FossilOrigin-Name: 753adb789e1624ceeb52066df350dcd99aa4e3df
2002-03-12 23:10:04 +00:00
drh 1f245e488a Change the way that lemon handles %extra_argument. (CVS 427)
FossilOrigin-Name: ffc387a48a9864b7f323314fbf8295b5bb2a3bd1
2002-03-11 13:55:50 +00:00
drh 54ea6427df Version 2.4.0 (CVS 443)
FossilOrigin-Name: d3f66b44e501ac30aededefbec7ebe224cf080ad
version-2.4.0
2002-03-11 02:15:00 +00:00