| /sqlite-3.40.0/src/ |
| H A D | test8.c | 805 char *zQuery = 0; in echoBestIndex() local 838 if( !zQuery ){ in echoBestIndex() 841 rc = sqlite3_prepare(pVtab->db, zQuery, -1, &pStmt, 0); in echoBestIndex() 842 sqlite3_free(zQuery); in echoBestIndex() 857 if( !zQuery ) return SQLITE_NOMEM; in echoBestIndex() 908 string_concat(&zQuery, zNew, 1, &rc); in echoBestIndex() 927 string_concat(&zQuery, zNew, 1, &rc); in echoBestIndex() 932 appendToEchoModule(pVtab->interp, zQuery); in echoBestIndex() 934 if( !zQuery ){ in echoBestIndex() 937 pIdxInfo->idxNum = hashString(zQuery); in echoBestIndex() [all …]
|
| H A D | test_fs.c | 519 const char *zQuery = (const char*)sqlite3_value_text(argv[0]); in fstreeFilter() local 531 if( sqlite3_strnicmp(zQuery, zPrefix, nPrefix)==0 ){ in fstreeFilter() 533 for(i=nPrefix; zQuery[i]; i++){ in fstreeFilter() 534 if( zQuery[i]==aWild[0] || zQuery[i]==aWild[1] ) break; in fstreeFilter() 535 if( zQuery[i]=='/' ) nDir = i; in fstreeFilter() 537 zDir = zQuery; in fstreeFilter()
|
| H A D | shell.c.in | 4284 const char *zQuery argument 5645 char *zQuery = 0; local 5655 shell_check_oom(zQuery); 5660 zQuery); 5678 zQuery); 5725 sqlite3_free(zQuery); 5739 sqlite3_free(zQuery); 5757 char *zQuery = 0; local 5765 shell_check_oom(zQuery); 5791 sqlite3_free(zQuery); [all …]
|
| /sqlite-3.40.0/ext/fts1/ |
| H A D | fulltext.c | 1150 const char *zQuery, int in_phrase, in tokenize_segment() argument 1156 int rc = pModule->xOpen(pTokenizer, zQuery, -1, &pCursor); in tokenize_segment() 1177 static int parse_query(fulltext_vtab *v, const char *zQuery, Query *pQuery){ in parse_query() argument 1178 char *zQuery1 = string_dup(zQuery); in parse_query() 1205 static int fulltext_query(fulltext_vtab *v, const char *zQuery, in fulltext_query() argument 1213 int rc = parse_query(v, zQuery, &q); in fulltext_query() 1255 const char *zQuery = (const char *)sqlite3_value_text(argv[0]); in fulltextFilter() local 1258 rc = fulltext_query(v, zQuery, &pResult); in fulltextFilter()
|
| H A D | fts1.c | 2908 const char *zQuery = (const char *)sqlite3_value_text(argv[0]); in fulltextFilter() local 2913 rc = fulltextQuery(v, idxNum-QUERY_FULLTEXT, zQuery, -1, &pResult, &c->q); in fulltextFilter()
|
| /sqlite-3.40.0/ext/misc/ |
| H A D | dbdump.c | 609 const char *zQuery, in run_schema_dump_query() argument 615 va_start(ap, zQuery); in run_schema_dump_query() 616 z = sqlite3_vmprintf(zQuery, ap); in run_schema_dump_query()
|
| H A D | spellfix.c | 2387 static void spellfix1RunQuery(MatchQuery *p, const char *zQuery, int nQuery){ in spellfix1RunQuery() argument 2407 zClass = (char*)phoneticHash((unsigned char*)zQuery, nQuery); in spellfix1RunQuery()
|
| /sqlite-3.40.0/tool/ |
| H A D | showdb.c | 998 char zQuery[200]; in page_usage_report() local 1023 sqlite3_snprintf(sizeof(zQuery), zQuery, in page_usage_report() 1026 rc = sqlite3_prepare_v2(db, zQuery, -1, &pStmt, 0); in page_usage_report()
|
| /sqlite-3.40.0/ext/expert/ |
| H A D | sqlite3expert.c | 1610 char *zQuery = 0; in idxPopulateOneStat1() local 1633 zQuery = sqlite3_mprintf( in idxPopulateOneStat1() 1637 zQuery = sqlite3_mprintf( in idxPopulateOneStat1() 1648 rc = idxPrepareStmt(dbrem, &pQuery, pzErr, zQuery); in idxPopulateOneStat1() 1650 sqlite3_free(zQuery); in idxPopulateOneStat1()
|
| /sqlite-3.40.0/ext/fts5/ |
| H A D | fts5_main.c | 1052 const char *zQuery in fts5SpecialMatch() argument 1055 const char *z = zQuery; /* Special query text */ in fts5SpecialMatch()
|
| /sqlite-3.40.0/ext/fts3/ |
| H A D | fts3.c | 3352 const char *zQuery = (const char *)sqlite3_value_text(pCons); in fts3FilterMethod() local 3354 if( zQuery==0 && sqlite3_value_type(pCons)!=SQLITE_NULL ){ in fts3FilterMethod() 3363 p->azColumn, p->bFts4, p->nColumn, iCol, zQuery, -1, &pCsr->pExpr, in fts3FilterMethod()
|
| /sqlite-3.40.0/ext/fts2/ |
| H A D | fts2.c | 3821 const char *zQuery = (const char *)sqlite3_value_text(argv[0]); in fulltextFilter() local 3832 rc = fulltextQuery(v, idxNum-QUERY_FULLTEXT, zQuery, -1, &c->result, &c->q); in fulltextFilter()
|