| /sqlite-3.40.0/tool/ |
| H A D | sqldiff.c | 137 static char *safeId(const char *zId){ in safeId() argument 141 for(i=x=0; (c = zId[i])!=0; i++){ in safeId() 151 return sqlite3_mprintf("%s", zId); in safeId() 515 sqlite3_free(zId); in dump_table() 549 printf("%s:", zId); in diff_one_table() 619 strPrintf(&sql, " FROM main.%s A, aux.%s B\n", zId, zId); in diff_one_table() 765 sqlite3_free(zId); in diff_one_table() 1452 strPrintf(&sql, " FROM main.%s A, aux.%s B\n", zId, zId); in summarize_one_table() 1510 sqlite3_free(zId); in summarize_one_table() 1627 strPrintf(&sql,"\n FROM main.%s A, aux.%s B\n", zId, zId); in changeset_one_table() [all …]
|
| /sqlite-3.40.0/src/ |
| H A D | tokenize.c | 806 char *zId = sqlite3DbStrNDup(db, zSql+i, n); local 809 if( zId==0 ) break; 810 sqlite3Dequote(zId); 811 if( zSql[i]=='"' && sqlite3VdbeUsesDoubleQuotedString(pVdbe, zId) ){ 813 sqlite3DbFree(db, zId); 816 nId = sqlite3Strlen30(zId); 817 if( sqlite3GetToken((u8*)zId, &eType)==nId && eType==TK_ID ){ 819 sqlite3_str_append(pStr, zId, nId); 821 sqlite3_str_appendf(pStr, "\"%w\"", zId); 823 sqlite3DbFree(db, zId);
|
| H A D | resolve.c | 994 const char *zId; /* The function name. */ in resolveExprStep() local 1002 zId = pExpr->u.zToken; in resolveExprStep() 1003 pDef = sqlite3FindFunction(pParse->db, zId, n, enc, 0); in resolveExprStep() 1005 pDef = sqlite3FindFunction(pParse->db, zId, -2, enc, 0); in resolveExprStep()
|
| H A D | vdbeaux.c | 105 const char *zId /* The double-quoted identifier, already dequoted */ in sqlite3VdbeUsesDoubleQuotedString() argument 108 assert( zId!=0 ); in sqlite3VdbeUsesDoubleQuotedString() 111 if( strcmp(zId, pStr->z)==0 ) return 1; in sqlite3VdbeUsesDoubleQuotedString()
|
| H A D | test1.c | 6710 const char *zId; in test_limit() local 6718 zId = Tcl_GetString(objv[2]); in test_limit() 6720 if( strcmp(zId, aId[i].zName)==0 ){ in test_limit() 6726 Tcl_AppendResult(interp, "unknown limit type: ", zId, (char*)0); in test_limit()
|
| H A D | expr.c | 4452 const char *zId; /* The function name */ in sqlite3ExprCodeTarget() local 4475 zId = pExpr->u.zToken; in sqlite3ExprCodeTarget() 4476 pDef = sqlite3FindFunction(db, zId, nFarg, enc, 0); in sqlite3ExprCodeTarget()
|
| /sqlite-3.40.0/test/ |
| H A D | threadtest5.c | 65 const char *zId, in exec() argument 77 printf("%s:%d: [%s]\n", zId, lineno, zSql); in exec() 82 printf("%s:%d: return-code %d\n", zId, lineno, rc); in exec() 93 const char *zId, in prepare() argument 106 printf("%s:%d: [%s]\n", zId, lineno, zSql); in prepare() 112 printf("%s:%d: ERROR - %s\n", zId, lineno, sqlite3_errmsg(db)); in prepare()
|
| /sqlite-3.40.0/ext/expert/ |
| H A D | sqlite3expert.c | 821 static int idxIdentifierRequiresQuotes(const char *zId){ in idxIdentifierRequiresQuotes() argument 823 int nId = STRLEN(zId); in idxIdentifierRequiresQuotes() 825 if( sqlite3_keyword_check(zId, nId) ) return 1; in idxIdentifierRequiresQuotes() 827 for(i=0; zId[i]; i++){ in idxIdentifierRequiresQuotes() 828 if( !(zId[i]=='_') in idxIdentifierRequiresQuotes() 829 && !(zId[i]>='0' && zId[i]<='9') in idxIdentifierRequiresQuotes() 830 && !(zId[i]>='a' && zId[i]<='z') in idxIdentifierRequiresQuotes() 831 && !(zId[i]>='A' && zId[i]<='Z') in idxIdentifierRequiresQuotes()
|
| /sqlite-3.40.0/ext/fts3/tool/ |
| H A D | fts3view.c | 657 const char *zId /* ID of the segment to open */ in prepareToGetSegment() argument 660 if( zId[0]=='r' ){ in prepareToGetSegment() 662 zTab, atoi64(zId+1)); in prepareToGetSegment() 665 zTab, atoi64(zId)); in prepareToGetSegment()
|