diff options
author | drh <drh@noemail.net> | 2003-09-06 22:18:07 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2003-09-06 22:18:07 +0000 |
commit | 7c972dec5ca539a5f33507a00d5db2ba66373887 (patch) | |
tree | 989489c046b5beee09cf1bb010bd8d55603c4c1c /src/tokenize.c | |
parent | 9a32464b543cda85c698bd14e3561c4ebff22da1 (diff) | |
download | sqlite-7c972dec5ca539a5f33507a00d5db2ba66373887.tar.gz sqlite-7c972dec5ca539a5f33507a00d5db2ba66373887.zip |
Update Makefile.in for the new vdbeaux.c file. Remove the experimental
"sqlite_instantiate()" routine and replace it with "sqlite_bind()" which
is more like ODBC and JDBC. (CVS 1095)
FossilOrigin-Name: 990bb11898a539bb0795a4a216fcd989943a0fb2
Diffstat (limited to 'src/tokenize.c')
-rw-r--r-- | src/tokenize.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/tokenize.c b/src/tokenize.c index 7a187186e..24433a07f 100644 --- a/src/tokenize.c +++ b/src/tokenize.c @@ -15,7 +15,7 @@ ** individual tokens and sends those tokens one-by-one over to the ** parser for analysis. ** -** $Id: tokenize.c,v 1.61 2003/09/06 01:10:48 drh Exp $ +** $Id: tokenize.c,v 1.62 2003/09/06 22:18:08 drh Exp $ */ #include "sqliteInt.h" #include "os.h" @@ -380,11 +380,9 @@ static int sqliteGetToken(const unsigned char *z, int *tokenType){ *tokenType = TK_ID; return i; } - case '$': { - if( !isdigit(z[1]) ) break; - for(i=1; z[i] && isdigit(z[i]); i++){} + case '?': { *tokenType = TK_VARIABLE; - return i; + return 1; } default: { if( !isIdChar[*z] ){ |