Lines Matching refs:str
139 StrAccum str; /* EQP output string */ in sqlite3WhereExplainOneScan() local
150 sqlite3StrAccumInit(&str, db, zBuf, sizeof(zBuf), SQLITE_MAX_LENGTH); in sqlite3WhereExplainOneScan()
151 str.printfFlags = SQLITE_PRINTF_INTERNAL; in sqlite3WhereExplainOneScan()
152 sqlite3_str_appendf(&str, "%s %S", isSearch ? "SEARCH" : "SCAN", pItem); in sqlite3WhereExplainOneScan()
174 sqlite3_str_append(&str, " USING ", 7); in sqlite3WhereExplainOneScan()
175 sqlite3_str_appendf(&str, zFmt, pIdx->zName); in sqlite3WhereExplainOneScan()
176 explainIndexRange(&str, pLoop); in sqlite3WhereExplainOneScan()
187 sqlite3_str_appendf(&str, " USING INTEGER PRIMARY KEY (%s", zRowid); in sqlite3WhereExplainOneScan()
191 sqlite3_str_appendf(&str, ">? AND %s", zRowid); in sqlite3WhereExplainOneScan()
199 sqlite3_str_appendf(&str, "%c?)", cRangeOp); in sqlite3WhereExplainOneScan()
203 sqlite3_str_appendf(&str, " VIRTUAL TABLE INDEX %d:%s", in sqlite3WhereExplainOneScan()
208 sqlite3_str_appendf(&str, " LEFT-JOIN"); in sqlite3WhereExplainOneScan()
212 sqlite3_str_appendf(&str, " (~%llu rows)", in sqlite3WhereExplainOneScan()
215 sqlite3_str_append(&str, " (~1 row)", 9); in sqlite3WhereExplainOneScan()
218 zMsg = sqlite3StrAccumFinish(&str); in sqlite3WhereExplainOneScan()
248 StrAccum str; /* EQP output string */ in sqlite3WhereExplainBloomFilter() local
251 sqlite3StrAccumInit(&str, db, zBuf, sizeof(zBuf), SQLITE_MAX_LENGTH); in sqlite3WhereExplainBloomFilter()
252 str.printfFlags = SQLITE_PRINTF_INTERNAL; in sqlite3WhereExplainBloomFilter()
253 sqlite3_str_appendf(&str, "BLOOM FILTER ON %S (", pItem); in sqlite3WhereExplainBloomFilter()
258 sqlite3_str_appendf(&str, "%s=?", pTab->aCol[pTab->iPKey].zCnName); in sqlite3WhereExplainBloomFilter()
260 sqlite3_str_appendf(&str, "rowid=?"); in sqlite3WhereExplainBloomFilter()
265 if( i>pLoop->nSkip ) sqlite3_str_append(&str, " AND ", 5); in sqlite3WhereExplainBloomFilter()
266 sqlite3_str_appendf(&str, "%s=?", z); in sqlite3WhereExplainBloomFilter()
269 sqlite3_str_append(&str, ")", 1); in sqlite3WhereExplainBloomFilter()
270 zMsg = sqlite3StrAccumFinish(&str); in sqlite3WhereExplainBloomFilter()