drh
aa81608eb0
Fix for ticket #1575 . (CVS 2844)
...
FossilOrigin-Name: 1586921b54da5ba3bea80e8e656a11d32996ab3a
2005-12-29 12:53:09 +00:00
danielk1977
2e588c7525
Many small changes to ensure memory is not leaked after malloc() fails. (CVS 2808)
...
FossilOrigin-Name: 601c335463aaabc2e9918e4b9298cff6161be5c4
2005-12-09 14:25:08 +00:00
drh
00b950d71e
The ".dump" command from the shell correctly saves the state of the
...
sqlite_sequence and sqlite_stat1 tables, if they exist. Ticket #1419 . (CVS 2687)
FossilOrigin-Name: 3f191cf497e5798a8620ebc5a85e34187f58371c
2005-09-11 02:03:03 +00:00
drh
0c35667b02
The shell does not output the sqlite_stat1 table on .dump or .schema.
...
The ANALYZE command now gathers statistics on tables that have only
a single index because this sometimes helps when reordering tables
in a join. (CVS 2686)
FossilOrigin-Name: 26565b8931419031f9a8dd3947e1e2bd23ccbff2
2005-09-10 22:40:53 +00:00
drh
0a8640d4f2
The CSV output mode does not sign-extend bytes where the high-order bit is set.
...
Ticket #1397 . (CVS 2644)
FossilOrigin-Name: 528df777e5d76077d8766f04ee222fd64d9373a6
2005-08-30 20:12:02 +00:00
drh
01b4171e57
Make the shell aware of SQLITE_OMIT_MEMORYDB. Ticket #1395 . (CVS 2640)
...
FossilOrigin-Name: 71a71cef5b3c97744322ceceb48ac3055512c987
2005-08-29 23:06:23 +00:00
drh
e69cc5b742
Widen the opcode column of explain output in the shell. (CVS 2625)
...
FossilOrigin-Name: dd3b00aa0bf3b847b0b2f20f6df60d4e3a2d81df
2005-08-27 01:50:53 +00:00
drh
1cd7f83ef5
Make sure the .import command strips newlines off the end of the last
...
field in each line imported. Ticket #1348 (CVS 2578)
FossilOrigin-Name: 73fafd2148b8cd0f92747fca03e3df5778e1070f
2005-08-05 18:50:51 +00:00
drh
51e75cafb0
Remove strcasecmp from shell.c. Tickets #1108 , #1122 . (CVS 2359)
...
FossilOrigin-Name: 4ae1a9fc2c484e59ef1e58972aa25772cede1187
2005-02-23 12:35:41 +00:00
drh
f8eb96ab9c
Fix the ".dump" command in the shell so that it works with AUTOVACUUM.
...
This is related to ticket #1095 . (CVS 2310)
FossilOrigin-Name: 76c4a96c5a2148f253cc5e034567b16317343be7
2005-02-03 00:42:34 +00:00
danielk1977
4af00c6cee
Modification to shell.c to avoid a compiler warning on some compilers. (CVS 2268)
...
FossilOrigin-Name: 0778383b6f9e6f58202ca20e74b399f8dce90ec4
2005-01-23 23:43:21 +00:00
danielk1977
6b77a36abf
Fix typo in shell .help. Ticket #1071 . (CVS 2206)
...
FossilOrigin-Name: 2c7a1a1698851914de705a0a942ebaaad5545fbc
2005-01-13 11:10:25 +00:00
danielk1977
03aded4924
Have tests pass when SQLITE_OMIT_MEMORYDB is defined. (CVS 2131)
...
FossilOrigin-Name: 9df837c03939cdcb31856ac17b2425a6dd92d7b2
2004-11-22 05:26:27 +00:00
drh
0b2110c9f5
Fix a bug in the ".databases" command of the command-line shell.
...
Ticket #973 (CVS 2030)
FossilOrigin-Name: 507d8e6f5cff308116289b27b3138e5bbfd55352
2004-10-26 00:08:10 +00:00
drh
8e64d1caad
In the command-line shell in CSV move, put strings in C-style double-quotes.
...
Ticket #911 . (CVS 2009)
FossilOrigin-Name: 1376a0bb8d864de755c614b2ecce4342155fd09b
2004-10-07 00:32:39 +00:00
drh
36d4e97e94
Fix the ".import" command of the command-line shell so that it ignores
...
\n and \r at the end of a line. Ticket #939 . (CVS 2003)
FossilOrigin-Name: dcbf4817a7a3ce18a2d5ed008346933a36acd543
2004-10-06 14:39:06 +00:00
drh
3b584fa6c5
Fix typo in ".help" output from the shell. Ticket #914 . (CVS 1978)
...
FossilOrigin-Name: 1ee3a787ada5abd460200d5812474161bfd1cc71
2004-09-24 12:50:03 +00:00
drh
c8d7441eb4
Changes to support compiling under windows. (CVS 1925)
...
FossilOrigin-Name: 68a712f3728587ee20f6f15900e9826eeeaaa0de
2004-08-31 23:41:26 +00:00
drh
dd3d4598bf
Modify the sqlite shell program so that the ".dump" command does not give up
...
if it encounters an SQLITE_CORRUPT error. It tries to keep going in order
to extract as much information as it can from the corrupt database. (CVS 1919)
FossilOrigin-Name: d3f3acb77f4e9f597af5afac565916b9c5e1c5d6
2004-08-30 01:54:05 +00:00
drh
472cbf6b9e
The command-line shell should avoid writing changes into string constants. (CVS 1886)
...
FossilOrigin-Name: 6b8178de9936e48ed69d1546218b5def6665b459
2004-08-14 18:18:44 +00:00
drh
4c755c0f53
Make sure the argument to ctype.h macros is always an unsigned character.
...
Ticket #839 . (CVS 1881)
FossilOrigin-Name: b065973898c06a81c69b70b3fa91c79334bd9b9a
2004-08-08 20:22:17 +00:00
drh
b860bc97d5
In the command-line shell: importments to the "help" message and better
...
error checking in the new .import command. (CVS 1877)
FossilOrigin-Name: ed489f776aed2de2f16e5c4b93ec6bc872118fb2
2004-08-04 15:16:55 +00:00
drh
feac5f8dbc
Add the ".import" command to the command-line shell. (CVS 1873)
...
FossilOrigin-Name: b56afe640f7f3f2837120e3dd923c529c4a3123a
2004-08-01 00:10:45 +00:00
drh
2011d5f5e5
Changes in support of using a codec. (CVS 1844)
...
FossilOrigin-Name: b77bec35742f07d79da3e85baee09a90c1494415
2004-07-22 02:40:37 +00:00
danielk1977
bc6ada4103
Fixes for compiler warnings. Also more coverage. (CVS 1775)
...
FossilOrigin-Name: fa19c77bf045787faa4cdc40bcfbd9eeae8594ae
2004-06-30 08:20:16 +00:00
danielk1977
92f9a1bbda
Make sure ATTACH and DETACH fail if a transaction is active. (CVS 1633)
...
FossilOrigin-Name: c49d8bdc3e1172a283f7aaf208fbb9096acd5ab6
2004-06-19 09:08:16 +00:00
danielk1977
3f41e976e8
Enhance the built-in function quote() to support blob values. (CVS 1541)
...
FossilOrigin-Name: 97aa54bb70715934e0af082d51b9b0f6bb847e8e
2004-06-08 00:39:01 +00:00
danielk1977
4f057f904a
Remove the third argument from the sqlite3_open() API. (CVS 1540)
...
FossilOrigin-Name: 62e31f396cb6b49f542977e2fade78e11e371132
2004-06-08 00:02:33 +00:00
danielk1977
2a02e33950
Ensure blob values survive the ".dump" command of the shell. (CVS 1531)
...
FossilOrigin-Name: e82eb722b0e0b223ddaf7d85669792c33594f9da
2004-06-05 08:04:36 +00:00
danielk1977
f20b21c8fd
Remove the sqlite3_error_string() API. (CVS 1514)
...
FossilOrigin-Name: af8e2006d808031a040f293c44f3bfbe841b866b
2004-05-31 23:56:42 +00:00
drh
3f4fedb2c4
Change the name of the sqlite3_freemem API function to just sqlite3_free. (CVS 1512)
...
FossilOrigin-Name: f3b80bbb97ed0b0c1cf634068f28f23802ec71a8
2004-05-31 19:34:33 +00:00
drh
1d482dd917
Change the name of the include file to "sqlite3.h". The names of the shell
...
command and static library become "sqlite3" and "libsqlite3.a". (CVS 1510)
FossilOrigin-Name: 4c37b6d2b78e88e2a9dfed4d764caeb0f626f92e
2004-05-31 18:23:07 +00:00
danielk1977
8a6b5411b3
Have the vdbe handle strings in the same encoding as the database. (CVS 1445)
...
FossilOrigin-Name: b7155db2b13aa3ca5f6c68e948d9e8740ebcac47
2004-05-24 07:04:25 +00:00
danielk1977
802908635d
Use the new form of the sqlite3_open() API everywhere. (CVS 1437)
...
FossilOrigin-Name: b449217318ade3196757bef8aaf7302634f0f9b6
2004-05-22 09:21:21 +00:00
danielk1977
3d1bfeaa22
Implement type affinity for table and index records (CVS 1375)
...
FossilOrigin-Name: dbfe6e93166d9557d66cab9dca7977baa3501e5e
2004-05-14 11:00:53 +00:00
danielk1977
6f8a503d71
Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1338)
...
FossilOrigin-Name: 2242423e31a5e81e89ffcc99e62307c5cc0120d5
2004-05-10 10:34:51 +00:00
danielk1977
4adee20fcb
Change lots of internal symbols from sqliteXXX to sqlite3XXX so that the
...
library links again. It doesn't work yet, due to changes in the btree layer
calling convention. (CVS 1324)
FossilOrigin-Name: 8af6474c49263ae26216dff9465b33f76b500cf4
2004-05-08 08:23:19 +00:00
drh
d888544275
Change the ".database" command in the shell to allocate more characters to
...
the database name and filename. (CVS 1300)
FossilOrigin-Name: 85238f06902851dd5085395501a0ab2d6a2b9814
2004-03-17 23:42:12 +00:00
drh
06333689a7
The shell program now ignores extra whitespace at the end of dot-commands. (CVS 1288)
...
FossilOrigin-Name: b6817e99bd97f427b1cfd16328d612e1a7d70d0a
2004-03-09 13:37:45 +00:00
drh
f73287ceb0
Shell program saves command-line history on a ".quit". Ticket #614 . (CVS 1270)
...
FossilOrigin-Name: 114b72f8608b8e08fad863a1446fb1ef59610efd
2004-02-25 02:25:37 +00:00
drh
a1f9b5ee0b
The sqlite_exec() function is now implemented using sqlite_compile() and
...
sqlite_step(). This opens up lots of opportunity to remove old code. (CVS 1240)
FossilOrigin-Name: 9771ad1e811e02e10bb738550fbea447749083c5
2004-02-14 16:31:02 +00:00
drh
eceae45cb5
Fix an uninitialized variable in shell.c that would cause a crash if you
...
specified SQL on the command-line. (CVS 1238)
FossilOrigin-Name: 5a56090dde10ee29863021356d21c3f8c86e3f46
2004-02-13 20:09:41 +00:00
drh
e384a4ed4e
Add a new parameter to the (unimplemented) encryption API. (CVS 1234)
...
FossilOrigin-Name: 5fe8f02306cf1c0af2148835cee0df3003ad0874
2004-02-12 20:49:36 +00:00
drh
eb8ed70db5
Fix the shells so that they always enable the codec if it is available,
...
even if no key is supplied. (CVS 1226)
FossilOrigin-Name: 95989717e17d52b2306374f5cf7613c3bd4e7801
2004-02-11 10:37:23 +00:00
drh
9eb9e26b82
Pass all (relevant) regression tests when using the codec. (CVS 1223)
...
FossilOrigin-Name: 5200e9edc5fdba0285a3cb1cd808cbf66d7a349e
2004-02-11 02:18:05 +00:00
drh
57ced9186a
Make the pager accessible from the btree structure always, not just during
...
debugging. (CVS 1219)
FossilOrigin-Name: 9c6b4758a4b13a91f71be17751a76c0c14b4d4c3
2004-02-10 02:57:59 +00:00
drh
22fbcb8ddd
Fix the handling of -init option to the sqlite shell. Ticket #568 .
...
Also add hooks for encrypting the database. (CVS 1206)
FossilOrigin-Name: 3c796de8d1af55944f396f08feaa9e69c1652896
2004-02-01 01:22:50 +00:00
drh
3a6629d27e
Use sqlite_freemem() instead of free() in the shell. Windows needs this.
...
(Unix does not care.) Ticket #444 . (CVS 1125)
FossilOrigin-Name: e5e6a8481b2225e826c8e890ddc44f06759fe72b
2003-12-04 20:51:41 +00:00
drh
9347b20050
In the sqlite shell, change the name of function getline() to local_getline()
...
to avoid a clash with a library function. Ticket #400 . (CVS 1056)
FossilOrigin-Name: 558969ee8697180c74308f3f880d3240eb575af1
2003-07-18 01:30:59 +00:00
drh
f817b6be7f
Preserve blank lines in the middle of SQL statements in the shell.
...
Ticket #352 (CVS 1026)
FossilOrigin-Name: bcf5eeecdfd9897bc7c257119d7515fd34d222c1
2003-06-16 00:16:41 +00:00