]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Remove legacy cruft from shell.c. (CVS 3439)
authordrh <drh@noemail.net>
Mon, 25 Sep 2006 13:09:22 +0000 (13:09 +0000)
committerdrh <drh@noemail.net>
Mon, 25 Sep 2006 13:09:22 +0000 (13:09 +0000)
FossilOrigin-Name: 815d8f84b317d26a3ca87405d27376e1e4493d8b

manifest
manifest.uuid
src/shell.c

index 91c86182971ada573bc4cf4b038a339d5f141265..12f0ec7c933c76f08aebe5a78ddf3c064b0f7e35 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Fix\sa\sbug\sin\sthe\shandling\sof\sI/O\serrors\sintroduced\sby\sthe\saddition\nof\sextended\serror\scodes\sin\scheck-in\s(3422).\s(CVS\s3438)
-D 2006-09-23T21:44:24
+C Remove\slegacy\scruft\sfrom\sshell.c.\s(CVS\s3439)
+D 2006-09-25T13:09:23
 F Makefile.in cabd42d34340f49260bc2a7668c38eba8d4cfd99
 F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935
 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -85,7 +85,7 @@ F src/printf.c b179b6ed12f793e028dd169e2e2e2b2a37eedc63
 F src/random.c d40f8d356cecbd351ccfab6eaedd7ec1b54f5261
 F src/select.c 0d4724930a1f34c747105ed1802fa4af0d8eb519
 F src/server.c 087b92a39d883e3fa113cae259d64e4c7438bc96
-F src/shell.c 672326e8d90394218509f1820ab0835e7ed2bc06
+F src/shell.c 1c17cd03c9cc2ff618435156038f508c159ecf12
 F src/sqlite.h.in bf935004029631fd93d119bcf2f7259b9cb9ad5e
 F src/sqlite3ext.h 2c2156cc32a158e2b7bd9042d42accf94bff2e40
 F src/sqliteInt.h 637ef229c3d8e0f98096ab31c496efdf5361d678
@@ -399,7 +399,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
 F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
-P 58c32ce35a04838b4a8e4210299bac935e60bfb9
-R 2afdb185e1e329265aedf8c7cead51f2
+P 20d7b29443ea7d9ec1ef81219c74ba725e8711e3
+R 60510ec2b80e60b23c8e8f8a7bf4e900
 U drh
-Z 50acfd17be318b0ee5e48adc5bd14aff
+Z f2443117c38a4d8a389c6ba3feada653
index cefc49311b48d2cf3aa99af568fd0312897a0f8d..61ae861c019571ead7699983c763d1d6be006031 100644 (file)
@@ -1 +1 @@
-20d7b29443ea7d9ec1ef81219c74ba725e8711e3
\ No newline at end of file
+815d8f84b317d26a3ca87405d27376e1e4493d8b
\ No newline at end of file
index ca9dfc703ffc89b1f1f49db650c58b105c5d1b06..43ea5066376d8d5ca6942e5dc592acf3384440b0 100644 (file)
@@ -12,7 +12,7 @@
 ** This file contains code to implement the "sqlite" command line
 ** utility for accessing SQLite databases.
 **
-** $Id: shell.c,v 1.149 2006/09/13 20:22:02 drh Exp $
+** $Id: shell.c,v 1.150 2006/09/25 13:09:23 drh Exp $
 */
 #include <stdlib.h>
 #include <string.h>
@@ -239,7 +239,6 @@ struct callback_data {
                          ** .explain ON */
   char outfile[FILENAME_MAX]; /* Filename for *out */
   const char *zDbFilename;    /* name of the database file */
-  char *zKey;                 /* Encryption key */
 };
 
 /*
@@ -1725,9 +1724,6 @@ int main(int argc, char **argv){
     }else if( strcmp(argv[i],"-init")==0 ){
       i++;
       zInitFile = argv[i];
-    }else if( strcmp(argv[i],"-key")==0 ){
-      i++;
-      data.zKey = sqlite3_mprintf("%s",argv[i]);
     }
   }
   if( i<argc ){
@@ -1773,7 +1769,7 @@ int main(int argc, char **argv){
   */
   for(i=1; i<argc && argv[i][0]=='-'; i++){
     char *z = argv[i];
-    if( strcmp(z,"-init")==0 || strcmp(z,"-key")==0 ){
+    if( strcmp(z,"-init")==0 ){
       i++;
     }else if( strcmp(z,"-html")==0 ){
       data.mode = MODE_Html;