Lines Matching refs:dbm
9514 sqlite3 *dbm; /* In-memory db for this analysis */
10231 ** Search database dbm for an index compatible with the one idxCreateFromCons()
10240 sqlite3* dbm, /* Database to search */
10254 rc = idxPrintfPrepareStmt(dbm, &pIdxList, 0, "PRAGMA index_list=%Q", zTbl);
10265 rc = idxPrintfPrepareStmt(dbm, &pInfo, 0, "PRAGMA index_xInfo=%Q", zIdx);
10325 sqlite3 *dbm = p->dbm;
10327 if( (pEq || pTail) && 0==idxFindCompatible(&rc, dbm, pScan, pEq, pTail) ){
10362 rc = sqlite3_exec(dbm, zFind, countNonzeros, &i, 0);
10386 rc = sqlite3_exec(dbm, zIdx, 0, 0, p->pzErrmsg);
10451 ** Create candidate indexes in database [dbm] based on the data in
10548 sqlite3 *dbm = p->dbm;
10558 rc = idxPrintfPrepareStmt(dbm, &pExplain, pzErr,
11076 ** indexes have already been created in database sqlite3expert.dbm, this
11104 rc = idxLargestIndex(p->dbm, &nMax, pzErr);
11107 rc = sqlite3_exec(p->dbm, "ANALYZE; PRAGMA writable_schema=1", 0, 0, 0);
11128 rc = idxPrepareStmt(p->dbm, &pAllIndex, pzErr, zAllIndex);
11131 rc = idxPrepareStmt(p->dbm, &pIndexXInfo, pzErr, zIndexXInfo);
11134 rc = idxPrepareStmt(p->dbm, &pWrite, pzErr, zWrite);
11171 rc = sqlite3_exec(p->dbm, "ANALYZE sqlite_schema", 0, 0, 0);
11199 rc = sqlite3_open(":memory:", &pNew->dbm);
11201 sqlite3_db_config(pNew->dbm, SQLITE_DBCONFIG_TRIGGER_EQP, 1, (int*)0);
11206 /* Copy the entire schema of database [db] into [dbm]. */
11215 if( zSql ) rc = sqlite3_exec(pNew->dbm, zSql, 0, 0, pzErrmsg);
11393 sqlite3_close(p->dbm);