drh
70c7a4b1da
Fix the shell tool to do a better job of ignoring whitespace. Ticket #234 . (CVS 940)
...
FossilOrigin-Name: 639957e9f793eddce027050d2655863d82fe8ac9
2003-04-26 03:03:06 +00:00
drh
4328c8b7c7
Only print the "Loading resources from..." line when the output is a TTY.
...
Ticket #168 . (CVS 939)
FossilOrigin-Name: 92ded93376635f37e2f5a7a8f4077c85d5bce735
2003-04-26 02:50:11 +00:00
drh
5cf590c128
Fix some issues with INSTEAD OF triggers. (CVS 930)
...
FossilOrigin-Name: 206b17397b1d2b55179c935927ff1d8215728c32
2003-04-24 01:45:04 +00:00
drh
a69d91681d
Fix triggers to work in an ATTACHed database. Ticket #295 . (CVS 915)
...
FossilOrigin-Name: 1e5e00fb73c308378efd034cb291caf338c9fe84
2003-04-17 22:57:53 +00:00
drh
8396566204
Change the shell to use the sqliteIsNumber() routine for determining if
...
values are numeric. Modified os.c so that it should now work with DJGPP -
though I have no way of testing this. (CVS 913)
FossilOrigin-Name: 35caefe31750fd103b5f0231ad36f375771063eb
2003-04-17 02:54:13 +00:00
drh
f539f6a7e9
Fix for ticket #276 . (CVS 897)
...
FossilOrigin-Name: 452128c6fd9a0d82bfab21374fc2041638d264db
2003-04-03 19:35:02 +00:00
drh
3aa31a16e6
Remove the experimental sqlite_open_aux_file() API. It will soon be replaced
...
by ATTACH and DETACH SQL commands. (CVS 889)
FossilOrigin-Name: b6d6e07f3a5cb493f2cf0675bc6061c5afe5c078
2003-03-30 19:17:01 +00:00
drh
324ccefeb5
Make the shell run much faster for inputs where a single SQL statement spans
...
thousands of lines by avoiding the call to sqlite_complete() unless the
input ends in a semicolon. (CVS 860)
FossilOrigin-Name: e21afb82b53eade9ee267a97c58db0606f0c0a41
2003-02-05 14:06:20 +00:00
drh
be4f31c226
Do not report an error if the input to the sqlite shell ends in a comment.
...
Ticket #211 . (CVS 838)
FossilOrigin-Name: 32a8e6e9771d636c0ad3042632d35865bc08585b
2003-01-18 17:05:00 +00:00
drh
820f3812d8
Port ot MacOS Classic. Ticket #218 . (CVS 820)
...
FossilOrigin-Name: 13f82d67f60ae869d5bf2e31d9357a860aa62bad
2003-01-08 13:02:52 +00:00
drh
7d686b2d57
Remove extra </TD> from HTML output. Ticket #189 . (CVS 786)
...
FossilOrigin-Name: dc5d9c129c566bf57d108b824ba486cfe070dda6
2002-11-11 13:56:47 +00:00
drh
bd842babb5
Fix for ticket #137 : Use getpwuid() instead of getpwent(). (CVS 723)
...
FossilOrigin-Name: ea011990c552a7a6019b63f9b4341ad6c8663479
2002-08-21 11:26:41 +00:00
drh
7f953e2052
Fix for ticket #64 : Better error reporting in the shell. (CVS 676)
...
FossilOrigin-Name: e1842e04c4f47e1ce79575b5c787a164add5d559
2002-07-13 17:33:45 +00:00
drh
fa173a764a
When reporting back the datatype of columns, use the text of the datatype
...
as it appears in the CREATE TABLE statement, if available. Also: removed
the ".reindex" command from the shell. (CVS 669)
FossilOrigin-Name: ff8b6f4ee8099a7170cb786b8ead9a3e42ab5869
2002-07-10 21:26:00 +00:00
drh
411995dc0d
Add the sqlite_open_aux_file() API. (CVS 646)
...
FossilOrigin-Name: 332164d6455658ca633a1dc49811d9fb0fd4b01c
2002-06-25 19:31:18 +00:00
drh
e0bc4048a0
Added support for the "sqlite_temp_master" table. Increased the version
...
number to 2.5.2. (CVS 640)
FossilOrigin-Name: 9c1432bf7485258e485bd652e3acdaeabbfe8850
2002-06-25 01:09:11 +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
e98d4fafe4
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
2002-04-21 19:06:22 +00:00
drh
67505e78c6
Add support for saving the sqlite shell command-line history across sessions. (CVS 536)
...
FossilOrigin-Name: ca4abf3fe1f0e66802f9f98a20e0c8b82a6459aa
2002-04-19 12:34:06 +00:00
persicom
c8cacb3704
Added rights release for Matthew O. Persico (CVS 535)
...
FossilOrigin-Name: 6c32c07e8218caffebd4503e7d8a90226ac81cdc
2002-04-19 01:00:12 +00:00
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
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
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
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
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
4ff6dfa7de
More bugs fixed for views. (CVS 416)
...
FossilOrigin-Name: 813077623087ffc6cd506f57cf6d1e3d9239f806
2002-03-03 23:06:00 +00:00
drh
cd7d2732bf
Fix a bug in the quoting of .dump output. By Rajit Singh. (CVS 394)
...
FossilOrigin-Name: f2310f36d53e9176be7af620ecdf1e5a1dfd4388
2002-02-26 23:24:26 +00:00
drh
2af0b2d78f
Do not allow dot-commands to occur in the middle of a real SQL command. (CVS 385)
...
FossilOrigin-Name: ffb00bf36a9a5851ea4a69f9c7dd7ce412553e3b
2002-02-21 02:25:02 +00:00
drh
71172c5c51
Do not escape the backslash character in shell output. (CVS 353)
...
FossilOrigin-Name: 5f8c097ebef28315ac2335a768d101e995ccbba2
2002-01-24 00:00:21 +00:00
drh
7613bfae56
Fix a bug in the -separator command-line option. (CVS 351)
...
FossilOrigin-Name: 593c986f694b14839b2a2ed1da4da468c53fefa5
2002-01-22 12:39:24 +00:00
drh
a297b5c3cf
Added implementations for sqliteOsEnterMutex() and sqliteOsLeaveMutex(). (CVS 348)
...
FossilOrigin-Name: f8a026a3ca14ef0b0d562029dd6b184f060457f4
2002-01-15 18:39:43 +00:00
drh
aacc543e23
Comment updates most. Also some small changes to the VDBE. (CVS 339)
...
FossilOrigin-Name: 9b0be4fcc1cbca69f5fee906f86dfb36a323fe84
2002-01-06 17:07:40 +00:00
drh
6ff13859d5
Add the ability to do a single .command as the second argument
...
to the command-line shell. (CVS 321)
FossilOrigin-Name: 653f37c365a0b5d59c11b7dbba57905ffaeff2dc
2001-11-25 13:18:23 +00:00
drh
7a7c73905d
Fix comparison functions so that they are consistent with the order
...
of elements in indices. Fix the handling of large integers. (CVS 317)
FossilOrigin-Name: fc2aae04578c305304a45ec6b76d3ab216cc7526
2001-11-24 00:31:46 +00:00
drh
04096485f4
Minor bugs fixed. (CVS 307)
...
FossilOrigin-Name: 6e7e7dbf8e93d00eced88404aed792fcf9e75b7d
2001-11-09 22:41:44 +00:00
drh
6a535340bc
Version 2.0.6 (CVS 291)
...
FossilOrigin-Name: 8467d84fc6e67bd93051f54338a8f6c9b1711ee1
2001-10-19 16:44:56 +00:00
drh
382c0247c7
Adding table column query capability to support ODBC. (CVS 278)
...
FossilOrigin-Name: b63b3f3684a3d584ef99f54cde76b6c483bbfef7
2001-10-06 16:33:02 +00:00
drh
33048c0b92
The .dump output uses INSERT instead of COPY now. Expression syntax
...
of the form "expr NOT NULL" is now supported. (CVS 276)
FossilOrigin-Name: 20382325c7c8c6b11bd45b23060d0f7fdb4d8fd1
2001-10-01 14:29:22 +00:00
drh
adbca9cfde
Fixed the support of UNIQUE and PRIMARY KEY. (CVS 268)
...
FossilOrigin-Name: 116fdad06868acf6aca9e75c2c3497c0511a42c3
2001-09-27 15:11:53 +00:00
drh
b19a2bc603
Disclaimed copyright. Preparing for release 2.0. (CVS 250)
...
FossilOrigin-Name: 4e926efe2b59adfec4086eb1d2ba830238facb4c
2001-09-16 00:13:26 +00:00
drh
5e00f6c7d5
The code is in place to replace GDBM with BTree. But I have not yet
...
attempted to compile it. I am sure the code contains bugs. (CVS 238)
FossilOrigin-Name: 6ecc8b20d4f402f45f03d46d8d4fa40dea666e97
2001-09-13 13:46:56 +00:00
drh
daffd0e597
better handling of out-of-memory errors (CVS 207)
...
FossilOrigin-Name: 86b30cd0975dfea9424b9f9f0d4194aa71ce508b
2001-04-11 14:28:42 +00:00
drh
ff9821a289
Clean up some compiler warnings (CVS 200)
...
FossilOrigin-Name: 490d08a8c19d52ebb41999371e2664e29bcb1164
2001-04-04 21:22:14 +00:00
drh
660f68d6a2
:-) (CVS 174)
...
FossilOrigin-Name: 5ddeeb477148295b66fdd78d102827386852fed3
2001-01-04 14:27:07 +00:00
drh
a2e1bb5a58
:-) (CVS 171)
...
FossilOrigin-Name: d49e10fb5e29318f1f777664562b68dd054f7535
2001-01-04 14:20:18 +00:00
drh
4c5043910b
Added an interrupt capability (CVS 153)
...
FossilOrigin-Name: f7ea08b931b9b40831bfe73cd7afea17f92112cf
2000-10-16 22:06:40 +00:00
drh
a18c5681e9
Added the _printf() interface. (CVS 150)
...
FossilOrigin-Name: f9372072a6d6caa15fa14ec722523944470fe155
2000-10-08 22:20:57 +00:00
drh
e371033ddf
:-) (CVS 147)
...
FossilOrigin-Name: e11f7527f9187e8902db84069baad0d3b7e17ad0
2000-09-29 13:30:53 +00:00
drh
ff6e9116e5
adding length() and substr() tests. fix shell.c bug (CVS 144)
...
FossilOrigin-Name: b8cec9b938b4be1ccf230588d8e1564fb3ac4316
2000-08-28 16:21:58 +00:00