Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | fix a debugging issue (CVS 162) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
f0a5255d2657ddcba24353d6d94b0d9c |
User & Date: | drh 2000-10-22 20:39:59.000 |
Context
2000-10-23
| ||
01:08 | remove unnecessary code when NDEBUG is defined (CVS 163) (check-in: 738e3e49f6 user: drh tags: trunk) | |
2000-10-22
| ||
20:39 | fix a debugging issue (CVS 162) (check-in: f0a5255d26 user: drh tags: trunk) | |
2000-10-19
| ||
15:28 | fix an HPUX bug (CVS 1709) (check-in: 9e91b729f0 user: drh tags: trunk) | |
Changes
Changes to src/tokenize.c.
︙ | ︙ | |||
23 24 25 26 27 28 29 | ************************************************************************* ** An tokenizer for SQL ** ** This file contains C code that splits an SQL input string up into ** individual tokens and sends those tokens one-by-one over to the ** parser for analysis. ** | | | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | ************************************************************************* ** An tokenizer for SQL ** ** This file contains C code that splits an SQL input string up into ** individual tokens and sends those tokens one-by-one over to the ** parser for analysis. ** ** $Id: tokenize.c,v 1.15 2000/10/22 20:39:59 drh Exp $ */ #include "sqliteInt.h" #include <ctype.h> #include <stdlib.h> /* ** All the keywords of the SQL language are stored as in a hash |
︙ | ︙ | |||
316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 | i = 0; sqliteParseInfoReset(pParse); pEngine = sqliteParserAlloc((void*(*)(int))malloc); if( pEngine==0 ){ sqliteSetString(pzErrMsg, "out of memory", 0); return 1; } sqliteParserTrace(trace, "parser: "); while( nErr==0 && i>=0 && zSql[i]!=0 ){ int tokenType; if( (pParse->db->flags & SQLITE_Interrupt)!=0 ){ pParse->rc = SQLITE_INTERRUPT; sqliteSetString(pzErrMsg, "interrupt", 0); break; | > > | 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 | i = 0; sqliteParseInfoReset(pParse); pEngine = sqliteParserAlloc((void*(*)(int))malloc); if( pEngine==0 ){ sqliteSetString(pzErrMsg, "out of memory", 0); return 1; } #ifndef NDEBUG sqliteParserTrace(trace, "parser: "); #endif while( nErr==0 && i>=0 && zSql[i]!=0 ){ int tokenType; if( (pParse->db->flags & SQLITE_Interrupt)!=0 ){ pParse->rc = SQLITE_INTERRUPT; sqliteSetString(pzErrMsg, "interrupt", 0); break; |
︙ | ︙ |