Lines Matching defs:pDestDb
56473 sqlite3* pDestDb; /* Destination database handle */
56577 ** connection handle pSrcDb to zDestDb in pDestDb. If successful, return
56581 ** stored in database handle pDestDb.
56584 sqlite3* pDestDb, /* Database to write to */
56585 const char *zDestDb, /* Name of database within pDestDb */
56600 sqlite3_mutex_enter(pDestDb->mutex);
56602 if( pSrcDb==pDestDb ){
56604 pDestDb, SQLITE_ERROR, "source and destination must be distinct"
56614 sqlite3Error(pDestDb, SQLITE_NOMEM, 0);
56621 p->pSrc = findBtree(pDestDb, pSrcDb, zSrcDb);
56622 p->pDest = findBtree(pDestDb, pDestDb, zDestDb);
56623 p->pDestDb = pDestDb;
56631 ** pDestDb handle. All that is left to do here is free the
56642 sqlite3_mutex_leave(pDestDb->mutex);
56779 if( p->pDestDb ){
56780 sqlite3_mutex_enter(p->pDestDb->mutex);
56794 if( p->pDestDb && p->pSrc->pBt->inTransaction==TRANS_WRITE ){
56861 if( p->pDestDb ){
56862 sqlite3ResetInternalSchema(p->pDestDb, -1);
56978 if( p->pDestDb ){
56979 sqlite3_mutex_leave(p->pDestDb->mutex);
56999 if( p->pDestDb ){
57000 sqlite3_mutex_enter(p->pDestDb->mutex);
57004 if( p->pDestDb ){
57020 sqlite3Error(p->pDestDb, rc, 0);
57023 if( p->pDestDb ){
57024 sqlite3_mutex_leave(p->pDestDb->mutex);
57027 if( p->pDestDb ){
57075 assert( p->pDestDb );
57076 sqlite3_mutex_enter(p->pDestDb->mutex);
57078 sqlite3_mutex_leave(p->pDestDb->mutex);
57121 /* Set up an sqlite3_backup object. sqlite3_backup.pDestDb must be set