1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

:-) (CVS 44)

FossilOrigin-Name: cd83d3cfeb26ebf0d33e7113d0ee549c9cfd55c5
This commit is contained in:
drh
2000-06-02 23:21:26 +00:00
parent e45132655e
commit b0c86771d5
4 changed files with 24 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
C :-)\s(CVS\s43) C :-)\s(CVS\s44)
D 2000-06-02T23:04:52 D 2000-06-02T23:21:27
F COPYRIGHT 74a8a6531a42e124df07ab5599aad63870fa0bd4 F COPYRIGHT 74a8a6531a42e124df07ab5599aad63870fa0bd4
F Makefile.in 3d367d6699f6fb987d0041a9d3b4dbf4308c8983 F Makefile.in 3d367d6699f6fb987d0041a9d3b4dbf4308c8983
F README 51f6a4e7408b34afa5bc1c0485f61b6a4efb6958 F README 51f6a4e7408b34afa5bc1c0485f61b6a4efb6958
@@ -22,7 +22,7 @@ F src/tclsqlite.c 10c00c460246cfba375b768c90b22bfe3c774c8f
F src/tokenize.c 15c229fee77325334c6814652e429b0930eba6c1 F src/tokenize.c 15c229fee77325334c6814652e429b0930eba6c1
F src/update.c 1f7284e00921352c3ae699fb60f2c2fbf8098212 F src/update.c 1f7284e00921352c3ae699fb60f2c2fbf8098212
F src/util.c c22846f23b9311ca0e68f076686493bac7b20d5d F src/util.c c22846f23b9311ca0e68f076686493bac7b20d5d
F src/vdbe.c 3145ceb0905292965d76c06abecbb24ef96ae7de F src/vdbe.c fa1480df9b48481980d9bc06f41e839cbc67ed0e
F src/vdbe.h ab574c91c6328c5795f68b84074fbcf860eae70e F src/vdbe.h ab574c91c6328c5795f68b84074fbcf860eae70e
F src/where.c bed9a8360cbfbf712bdc397c8e22216a5e5f9800 F src/where.c bed9a8360cbfbf712bdc397c8e22216a5e5f9800
F test/all.test 0950c135cab7e60c07bd745ccfad1476211e5bd7 F test/all.test 0950c135cab7e60c07bd745ccfad1476211e5bd7
@@ -37,7 +37,7 @@ F test/table.test 85d6f410d127ec508c6640f02d7c40d218414e81
F test/tester.tcl 44690d463c1dc83a4c76ccde07cc146a988600f6 F test/tester.tcl 44690d463c1dc83a4c76ccde07cc146a988600f6
F test/update.test 69459302ea75cafac1479e60b0e36efb88123c0e F test/update.test 69459302ea75cafac1479e60b0e36efb88123c0e
F tool/gdbmdump.c 529e67c78d920606ba196326ea55b57b75fcc82b F tool/gdbmdump.c 529e67c78d920606ba196326ea55b57b75fcc82b
F tool/lemon.c f5aa4410571b598ff68aa09ee4023e8c17084c32 F tool/lemon.c 1f0e96515c12e9e413f5b8fdebc79ddcf18ddc9d
F tool/lempar.c a1eec94d6eacc12332368660ec65f3b248853833 F tool/lempar.c a1eec94d6eacc12332368660ec65f3b248853833
F tool/opNames.awk 2bd9071a138e4e2be13dc98fe066398a61219e1e F tool/opNames.awk 2bd9071a138e4e2be13dc98fe066398a61219e1e
F tool/opcodeDoc.awk b3a2a3d5d3075b8bd90b7afe24283efdd586659c F tool/opcodeDoc.awk b3a2a3d5d3075b8bd90b7afe24283efdd586659c
@@ -46,7 +46,7 @@ F www/c_interface.tcl 8867d76ddd416d2fbd41e4cb3de8efa9cef105a5
F www/changes.tcl 7d6ed774362dea0c9687d4efbafd939c1c48fd81 F www/changes.tcl 7d6ed774362dea0c9687d4efbafd939c1c48fd81
F www/index.tcl 0096a3e00b1364fb2c3e06941aa8c31454b6d06a F www/index.tcl 0096a3e00b1364fb2c3e06941aa8c31454b6d06a
F www/sqlite.tcl 2f933ce18cffd34a0a020a82435ab937137970fd F www/sqlite.tcl 2f933ce18cffd34a0a020a82435ab937137970fd
P 11e3296319843356cf09832577f7dea4b33c78be P 60f45a3ba56059f956cca0c3a6a1ffa82a055a36
R d2d37914332c95f0bd92b34cac0a39cd R 91a1b460649c65ea0a217fab34859438
U drh U drh
Z 3292fd0cd8c6bb51135d1ced287b722c Z d6ed95be971da2c1c00f89ce64a0bce4

View File

@@ -1 +1 @@
60f45a3ba56059f956cca0c3a6a1ffa82a055a36 cd83d3cfeb26ebf0d33e7113d0ee549c9cfd55c5

View File

@@ -41,7 +41,7 @@
** But other routines are also provided to help in building up ** But other routines are also provided to help in building up
** a program instruction by instruction. ** a program instruction by instruction.
** **
** $Id: vdbe.c,v 1.10 2000/06/02 15:05:33 drh Exp $ ** $Id: vdbe.c,v 1.11 2000/06/02 23:21:27 drh Exp $
*/ */
#include "sqliteInt.h" #include "sqliteInt.h"
@@ -96,6 +96,7 @@ struct Vdbe {
int nStackAlloc; /* Size of the stack */ int nStackAlloc; /* Size of the stack */
int *iStack; /* Integer values of the stack */ int *iStack; /* Integer values of the stack */
char **zStack; /* Text or binary values of the stack */ char **zStack; /* Text or binary values of the stack */
char *aFlags; /* Flags associated with each stack entry */
char **azColName; /* Becomes the 4th parameter to callbacks */ char **azColName; /* Becomes the 4th parameter to callbacks */
int nTable; /* Number of slots in aTab[] */ int nTable; /* Number of slots in aTab[] */
VdbeTable *aTab; /* On element of this array for each open table */ VdbeTable *aTab; /* On element of this array for each open table */

View File

@@ -99,11 +99,11 @@ struct s_options {
char *arg; char *arg;
char *message; char *message;
}; };
int optinit(/* char**,struct s_options*,FILE* */); int OptInit(/* char**,struct s_options*,FILE* */);
int optnargs(/* void */); int OptNArgs(/* void */);
char *optarg(/* int */); char *OptArg(/* int */);
void opterr(/* int */); void OptErr(/* int */);
void optprint(/* void */); void OptPrint(/* void */);
/******** From the file "parse.h" *****************************************/ /******** From the file "parse.h" *****************************************/
void Parse(/* struct lemon *lemp */); void Parse(/* struct lemon *lemp */);
@@ -1192,7 +1192,7 @@ char **argv;
int i; int i;
struct lemon lem; struct lemon lem;
optinit(argv,options,stderr); OptInit(argv,options,stderr);
if( version ){ if( version ){
printf("Lemon version 1.0\n" printf("Lemon version 1.0\n"
"Copyright 1991-1997 by D. Richard Hipp\n" "Copyright 1991-1997 by D. Richard Hipp\n"
@@ -1200,7 +1200,7 @@ char **argv;
); );
exit(0); exit(0);
} }
if( optnargs()!=1 ){ if( OptNArgs()!=1 ){
fprintf(stderr,"Exactly one filename argument is required.\n"); fprintf(stderr,"Exactly one filename argument is required.\n");
exit(1); exit(1);
} }
@@ -1211,7 +1211,7 @@ char **argv;
Symbol_init(); Symbol_init();
State_init(); State_init();
lem.argv0 = argv[0]; lem.argv0 = argv[0];
lem.filename = optarg(0); lem.filename = OptArg(0);
lem.basisflag = basisflag; lem.basisflag = basisflag;
lem.nconflict = 0; lem.nconflict = 0;
lem.name = lem.include = lem.arg = lem.tokentype = lem.start = 0; lem.name = lem.include = lem.arg = lem.tokentype = lem.start = 0;
@@ -1595,7 +1595,7 @@ FILE *err;
return errcnt; return errcnt;
} }
int optinit(a,o,err) int OptInit(a,o,err)
char **a; char **a;
struct s_options *o; struct s_options *o;
FILE *err; FILE *err;
@@ -1616,13 +1616,13 @@ FILE *err;
} }
if( errcnt>0 ){ if( errcnt>0 ){
fprintf(err,"Valid command line options for \"%s\" are:\n",*a); fprintf(err,"Valid command line options for \"%s\" are:\n",*a);
optprint(); OptPrint();
exit(1); exit(1);
} }
return 0; return 0;
} }
int optnargs(){ int OptNArgs(){
int cnt = 0; int cnt = 0;
int dashdash = 0; int dashdash = 0;
int i; int i;
@@ -1635,7 +1635,7 @@ int optnargs(){
return cnt; return cnt;
} }
char *optarg(n) char *OptArg(n)
int n; int n;
{ {
int i; int i;
@@ -1643,7 +1643,7 @@ int n;
return i>=0 ? argv[i] : 0; return i>=0 ? argv[i] : 0;
} }
void opterr(n) void OptErr(n)
int n; int n;
{ {
int i; int i;
@@ -1651,7 +1651,7 @@ int n;
if( i>=0 ) errline(i,0,errstream); if( i>=0 ) errline(i,0,errstream);
} }
void optprint(){ void OptPrint(){
int i; int i;
int max, len; int max, len;
max = 0; max = 0;