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

  /external/chromium_org/third_party/sqlite/src/src/
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...]
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...]
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...]
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;
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...]
build.c 418 Db *pDb = &db->aDb[iDb];
420 assert( pDb->pSchema!=0 );
421 sqlite3SchemaClear(pDb->pSchema);
428 pDb = &db->aDb[1];
429 assert( pDb->pSchema!=0 );
430 sqlite3SchemaClear(pDb->pSchema);
439 Db *pDb = &db->aDb[i];
440 if( pDb->pSchema ){
441 sqlite3SchemaClear(pDb->pSchema);
455 struct Db *pDb = &db->aDb[i]
    [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...]
backup.c 81 ** in connection handle pDb. If such a database cannot be found, return
88 static Btree *findBtree(sqlite3 *pErrorDb, sqlite3 *pDb, const char *zDb){
89 int i = sqlite3FindDbName(pDb, zDb);
99 pParse->db = pDb;
117 return pDb->aDb[i].pBt;
vdbeapi.c     [all...]
vdbe.c     [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...]
sqlite.h.in     [all...]
  /external/chromium_org/third_party/sqlite/src/test/
threadtest3.c 463 Sqlite *pDb,
466 pErr->rc = sqlite3_errcode(pDb->db);
468 "sqlite3_%s() - %s (%d)", zFunc, sqlite3_errmsg(pDb->db),
469 sqlite3_extended_errcode(pDb->db)
503 Sqlite *pDb, /* OUT: Database handle */
510 rc = sqlite3_open(zFile, &pDb->db);
512 sqlite_error(pErr, pDb, "open");
513 sqlite3_close(pDb->db);
514 pDb->db = 0;
517 pDb->db, "md5sum", -1, SQLITE_UTF8, 0, 0, md5step, md5finaliz
    [all...]
  /external/chromium_org/third_party/sqlite/amalgamation/
sqlite3.h     [all...]
sqlite3.c 119844 void *pdb = (void *)db; local
    [all...]
  /external/sqlite/dist/orig/
sqlite3.h     [all...]
sqlite3.c 124786 void *pdb = (void *)db; local
    [all...]
  /external/sqlite/dist/
sqlite3.h     [all...]
sqlite3.c 124834 void *pdb = (void *)db; local
    [all...]

Completed in 953 milliseconds