Lines Matching defs:dbm
8514 sqlite3 *dbm; /* In-memory db for this analysis */
9213 ** Search database dbm for an index compatible with the one idxCreateFromCons()
9222 sqlite3* dbm, /* Database to search */
9236 rc = idxPrintfPrepareStmt(dbm, &pIdxList, 0, "PRAGMA index_list=%Q", zTbl);
9246 rc = idxPrintfPrepareStmt(dbm, &pInfo, 0, "PRAGMA index_xInfo=%Q", zIdx);
9293 sqlite3 *dbm = p->dbm;
9295 if( (pEq || pTail) && 0==idxFindCompatible(&rc, dbm, pScan, pEq, pTail) ){
9331 rc = sqlite3_exec(dbm, zIdx, 0, 0, p->pzErrmsg);
9392 ** Create candidate indexes in database [dbm] based on the data in
9489 sqlite3 *dbm = p->dbm;
9499 rc = idxPrintfPrepareStmt(dbm, &pExplain, pzErr,
10012 ** indexes have already been created in database sqlite3expert.dbm, this
10040 rc = idxLargestIndex(p->dbm, &nMax, pzErr);
10043 rc = sqlite3_exec(p->dbm, "ANALYZE; PRAGMA writable_schema=1", 0, 0, 0);
10064 rc = idxPrepareStmt(p->dbm, &pAllIndex, pzErr, zAllIndex);
10067 rc = idxPrepareStmt(p->dbm, &pIndexXInfo, pzErr, zIndexXInfo);
10070 rc = idxPrepareStmt(p->dbm, &pWrite, pzErr, zWrite);
10106 rc = sqlite3_exec(p->dbm, "ANALYZE sqlite_schema", 0, 0, 0);
10134 rc = sqlite3_open(":memory:", &pNew->dbm);
10136 sqlite3_db_config(pNew->dbm, SQLITE_DBCONFIG_TRIGGER_EQP, 1, (int*)0);
10141 /* Copy the entire schema of database [db] into [dbm]. */
10150 rc = sqlite3_exec(pNew->dbm, zSql, 0, 0, pzErrmsg);
10324 sqlite3_close(p->dbm);