Lines Matching defs:pDestDb

75717   sqlite3* pDestDb;        /* Destination database handle */
75830 ** connection handle pSrcDb to zDestDb in pDestDb. If successful, return
75834 ** stored in database handle pDestDb.
75837 sqlite3* pDestDb, /* Database to write to */
75838 const char *zDestDb, /* Name of database within pDestDb */
75845 if( !sqlite3SafetyCheckOk(pSrcDb)||!sqlite3SafetyCheckOk(pDestDb) ){
75860 sqlite3_mutex_enter(pDestDb->mutex);
75862 if( pSrcDb==pDestDb ){
75864 pDestDb, SQLITE_ERROR, "source and destination must be distinct"
75874 sqlite3Error(pDestDb, SQLITE_NOMEM_BKPT);
75880 p->pSrc = findBtree(pDestDb, pSrcDb, zSrcDb);
75881 p->pDest = findBtree(pDestDb, pDestDb, zDestDb);
75882 p->pDestDb = pDestDb;
75888 || checkReadTransaction(pDestDb, p->pDest)!=SQLITE_OK
75892 ** database. The error has already been written into the pDestDb
75903 sqlite3_mutex_leave(pDestDb->mutex);
76027 if( p->pDestDb ){
76028 sqlite3_mutex_enter(p->pDestDb->mutex);
76042 if( p->pDestDb && p->pSrc->pBt->inTransaction==TRANS_WRITE ){
76125 if( p->pDestDb ){
76126 sqlite3ResetAllSchemasOfConnection(p->pDestDb);
76259 if( p->pDestDb ){
76260 sqlite3_mutex_leave(p->pDestDb->mutex);
76280 if( p->pDestDb ){
76281 sqlite3_mutex_enter(p->pDestDb->mutex);
76285 if( p->pDestDb ){
76303 if( p->pDestDb ){
76304 sqlite3Error(p->pDestDb, rc);
76307 sqlite3LeaveMutexAndCloseZombie(p->pDestDb);
76310 if( p->pDestDb ){
76374 assert( p->pDestDb );
76375 sqlite3_mutex_enter(p->pDestDb->mutex);
76377 sqlite3_mutex_leave(p->pDestDb->mutex);
76433 /* Set up an sqlite3_backup object. sqlite3_backup.pDestDb must be set