Lines Matching defs:dbm

12073   sqlite3 *dbm;                   /* In-memory db for this analysis */
12791 ** Search database dbm for an index compatible with the one idxCreateFromCons()
12800 sqlite3* dbm, /* Database to search */
12814 rc = idxPrintfPrepareStmt(dbm, &pIdxList, 0, "PRAGMA index_list=%Q", zTbl);
12825 rc = idxPrintfPrepareStmt(dbm, &pInfo, 0, "PRAGMA index_xInfo=%Q", zIdx);
12885 sqlite3 *dbm = p->dbm;
12887 if( (pEq || pTail) && 0==idxFindCompatible(&rc, dbm, pScan, pEq, pTail) ){
12922 rc = sqlite3_exec(dbm, zFind, countNonzeros, &i, 0);
12946 rc = sqlite3_exec(dbm, zIdx, 0, 0, p->pzErrmsg);
13011 ** Create candidate indexes in database [dbm] based on the data in
13108 sqlite3 *dbm = p->dbm;
13118 rc = idxPrintfPrepareStmt(dbm, &pExplain, pzErr,
13637 ** indexes have already been created in database sqlite3expert.dbm, this
13665 rc = idxLargestIndex(p->dbm, &nMax, pzErr);
13668 rc = sqlite3_exec(p->dbm, "ANALYZE; PRAGMA writable_schema=1", 0, 0, 0);
13689 rc = idxPrepareStmt(p->dbm, &pAllIndex, pzErr, zAllIndex);
13692 rc = idxPrepareStmt(p->dbm, &pIndexXInfo, pzErr, zIndexXInfo);
13695 rc = idxPrepareStmt(p->dbm, &pWrite, pzErr, zWrite);
13732 rc = sqlite3_exec(p->dbm, "ANALYZE sqlite_schema", 0, 0, 0);
13845 rc = sqlite3_open(":memory:", &pNew->dbm);
13847 sqlite3_db_config(pNew->dbm, SQLITE_DBCONFIG_TRIGGER_EQP, 1, (int*)0);
13852 if( rc==SQLITE_OK ) rc = sqlite3_collation_needed(pNew->dbm,0,useDummyCS);
13857 /* Register UDFs from database [db] with [dbm] and [dbv]. */
13859 rc = registerUDFs(pNew->db, pNew->dbm);
13866 /* Copy the entire schema of database [db] into [dbm]. */
13875 if( zSql ) rc = sqlite3_exec(pNew->dbm, zSql, 0, 0, pzErrmsg);
14057 sqlite3_close(p->dbm);