HomeSort by relevance Sort by last modified time
    Searched defs:pDb (Results 1 - 12 of 12) sorted by null

  /external/chromium_org/third_party/sqlite/src/src/
vacuum.c 104 Db *pDb = 0; /* Database to detach at end of vacuum */
154 pDb = &db->aDb[db->nDb-1];
155 assert( strcmp(pDb->zName,"vacuum_db")==0 );
332 if( pDb ){
333 sqlite3BtreeClose(pDb->pBt);
334 pDb->pBt = 0;
335 pDb->pSchema = 0;
attach.c 244 Db *pDb = 0;
251 pDb = &db->aDb[i];
252 if( pDb->pBt==0 ) continue;
253 if( sqlite3StrICmp(pDb->zName, zName)==0 ) break;
269 if( sqlite3BtreeIsInReadTrans(pDb->pBt) || sqlite3BtreeIsInBackup(pDb->pBt) ){
274 sqlite3BtreeClose(pDb->pBt);
275 pDb->pBt = 0;
276 pDb->pSchema = 0;
prepare.c 139 Db *pDb;
210 pDb = &db->aDb[iDb];
211 if( pDb->pBt==0 ){
221 sqlite3BtreeEnter(pDb->pBt);
222 if( !sqlite3BtreeIsInReadTrans(pDb->pBt) ){
223 rc = sqlite3BtreeBeginTrans(pDb->pBt, 0);
249 sqlite3BtreeGetMeta(pDb->pBt, i+1, (u32 *)&meta[i]);
251 pDb->pSchema->schema_cookie = meta[BTREE_SCHEMA_VERSION-1];
278 pDb->pSchema->enc = ENC(db);
280 if( pDb->pSchema->cache_size==0 )
    [all...]
test_server.c 224 sqlite3 *pDb; /* The SQLite connection */
239 #define MSG_Open 1 /* sqlite3_open(zIn, &pDb) */
240 #define MSG_Prepare 2 /* sqlite3_prepare(pDb, zIn, nByte, &pStmt, &zOut) */
244 #define MSG_Close 6 /* sqlite3_close(pDb) */
337 *ppDb = msg.pDb;
341 sqlite3 *pDb,
349 msg.pDb = pDb;
378 int sqlite3_client_close(sqlite3 *pDb){
381 msg.pDb = pDb
    [all...]
analyze.c 55 Db *pDb;
60 pDb = &db->aDb[iDb];
65 if( (pStat = sqlite3FindTable(db, zTab, pDb->zName))==0 ){
71 "CREATE TABLE %Q.%s(%s)", pDb->zName, zTab, aTable[i].zCols
83 "DELETE FROM %Q.%s WHERE %s=%Q", pDb->zName, zTab, zWhereType, zWhere
insert.c 226 Db *pDb; /* Database only autoinc table */
238 pDb = &db->aDb[p->iDb];
240 assert( sqlite3SchemaMutexHeld(db, 0, pDb->pSchema) );
241 sqlite3OpenTable(pParse, 0, p->iDb, pDb->pSchema->pSeqTab, OP_OpenRead);
285 Db *pDb = &db->aDb[p->iDb];
291 assert( sqlite3SchemaMutexHeld(db, 0, pDb->pSchema) );
292 sqlite3OpenTable(pParse, 0, p->iDb, pDb->pSchema->pSeqTab, OP_OpenWrite);
460 Db *pDb; /* The database containing table being inserted into */
496 pDb = &db->aDb[iDb];
497 zDb = pDb->zName
    [all...]
pragma.c 314 Db *pDb;
324 pDb = &db->aDb[iDb];
342 zDb = pId2->n>0 ? pDb->zName : 0;
392 pDb->pSchema->cache_size = size;
393 sqlite3BtreeSetCacheSize(pDb->pBt, pDb->pSchema->cache_size);
407 Btree *pBt = pDb->pBt;
432 Btree *pBt = pDb->pBt;
504 assert(pDb==&db->aDb[0]);
511 pPager = sqlite3BtreePager(pDb->pBt)
    [all...]
main.c 725 struct Db *pDb = &db->aDb[j];
726 if( pDb->pBt ){
727 sqlite3BtreeClose(pDb->pBt);
728 pDb->pBt = 0;
730 pDb->pSchema = 0;
    [all...]
build.c 415 Db *pDb = &db->aDb[iDb];
417 assert( pDb->pSchema!=0 );
418 sqlite3SchemaClear(pDb->pSchema);
425 pDb = &db->aDb[1];
426 assert( pDb->pSchema!=0 );
427 sqlite3SchemaClear(pDb->pSchema);
436 Db *pDb = &db->aDb[i];
437 if( pDb->pSchema ){
438 sqlite3SchemaClear(pDb->pSchema);
452 struct Db *pDb = &db->aDb[i]
    [all...]
vdbe.c     [all...]
tclsqlite.c 142 SqliteDb *pDb; /* Associated database connection */
162 ** Close all incrblob channels opened using database connection pDb.
165 static void closeIncrblobChannels(SqliteDb *pDb){
169 for(p=pDb->pIncrblob; p; p=pNext){
176 Tcl_UnregisterChannel(pDb->interp, p->channel);
186 sqlite3 *db = p->pDb->db;
195 if( p->pDb->pIncrblob==p ){
196 p->pDb->pIncrblob = p->pNext;
333 SqliteDb *pDb,
341 sqlite3 *db = pDb->db
    [all...]
  /external/chromium_org/third_party/sqlite/amalgamation/
sqlite3.c 119653 void *pdb = (void *)db; local
    [all...]

Completed in 96 milliseconds