| /sqlite-3.40.0/src/ |
| H A D | backup.c | 23 Btree *pDest; /* Destination b-tree file */ member 185 p->pDest = findBtree(pDestDb, pDestDb, zDestDb); in sqlite3_backup_init() 191 if( 0==p->pSrc || 0==p->pDest in sqlite3_backup_init() 232 Pager * const pDestPager = sqlite3BtreePager(p->pDest); in backupOnePage() 234 int nDestPgsz = sqlite3BtreeGetPageSize(p->pDest); in backupOnePage() 382 pgszDest = sqlite3BtreeGetPageSize(p->pDest); in sqlite3_backup_step() 422 rc = sqlite3BtreeNewDb(p->pDest); in sqlite3_backup_step() 433 rc = sqlite3BtreeSetVersion(p->pDest, 2); in sqlite3_backup_step() 603 sqlite3BtreeRollback(p->pDest, SQLITE_OK, 0); in sqlite3_backup_finish() 745 b.pDest = pTo; in sqlite3BtreeCopyFile() [all …]
|
| H A D | insert.c | 2721 assert( pDest && pSrc ); in xferCompatibleIndex() 2723 if( pDest->nKeyCol!=pSrc->nKeyCol || pDest->nColumn!=pSrc->nColumn ){ in xferCompatibleIndex() 2811 if( IsVirtual(pDest) ){ in xferOptimization() 2816 if( pDest->iPKey>=0 ) onError = pDest->keyConf; in xferOptimization() 2865 if( pSrc->tnum==pDest->tnum && pSrc->pSchema==pDest->pSchema ){ in xferOptimization() 2884 for(i=0; i<pDest->nCol; i++){ in xferOptimization() 2974 if( pDest->pCheck && sqlite3ExprListCompare(pSrc->pCheck,pDest->pCheck,-1) ){ in xferOptimization() 3014 (pDest->iPKey<0 && pDest->pIndex!=0) /* (1) */ in xferOptimization() 3043 if( pDest->iPKey>=0 ){ in xferOptimization() 3085 sqlite3TableLock(pParse, iDbDest, pDest->tnum, 1, pDest->zName); in xferOptimization() [all …]
|
| H A D | select.c | 109 pDest->eDest = (u8)eDest; in sqlite3SelectDestInit() 110 pDest->iSDParm = iParm; in sqlite3SelectDestInit() 111 pDest->iSDParm2 = 0; in sqlite3SelectDestInit() 112 pDest->zAffSdst = 0; in sqlite3SelectDestInit() 113 pDest->iSdst = 0; in sqlite3SelectDestInit() 114 pDest->nSdst = 0; in sqlite3SelectDestInit() 1129 if( pDest->iSdst==0 ){ in selectInnerLoop() 2822 dest = *pDest; in multiSelect() 6692 assert(pDest->eDest==SRT_Exists || pDest->eDest==SRT_Union || in sqlite3Select() 6693 pDest->eDest==SRT_Except || pDest->eDest==SRT_Discard || in sqlite3Select() [all …]
|
| H A D | vdbe.c | 3001 pDest = &aMem[pOp->p3]; in sqlite3VdbeExec() 3021 pDest->enc = encoding; in sqlite3VdbeExec() 3027 pDest->z = pDest->zMalloc; in sqlite3VdbeExec() 3030 pDest->z[len] = 0; in sqlite3VdbeExec() 3031 pDest->z[len+1] = 0; in sqlite3VdbeExec() 3035 pDest->enc = encoding; in sqlite3VdbeExec() 3059 sqlite3VdbeSerialGet((const u8*)pDest->z, t, pDest); in sqlite3VdbeExec() 8107 Mem *pDest; in sqlite3VdbeExec() local 8113 pDest = &aMem[pOp->p3]; in sqlite3VdbeExec() 8124 sContext.pOut = pDest; in sqlite3VdbeExec() [all …]
|
| H A D | tclsqlite.c | 2052 sqlite3 *pDest; in DbObjCmd() local 2065 rc = sqlite3_open_v2(zDestFile, &pDest, in DbObjCmd() 2069 sqlite3_errmsg(pDest), (char*)0); in DbObjCmd() 2070 sqlite3_close(pDest); in DbObjCmd() 2073 pBackup = sqlite3_backup_init(pDest, "main", pDb->db, zSrcDb); in DbObjCmd() 2076 sqlite3_errmsg(pDest), (char*)0); in DbObjCmd() 2077 sqlite3_close(pDest); in DbObjCmd() 2086 sqlite3_errmsg(pDest), (char*)0); in DbObjCmd() 2089 sqlite3_close(pDest); in DbObjCmd()
|
| H A D | btree.c | 8868 u8 *pDest, /* Pointer to the place to start writing */ in btreeOverwriteContent() argument 8877 for(i=0; i<iAmt && pDest[i]==0; i++){} in btreeOverwriteContent() 8881 memset(pDest + i, 0, iAmt - i); in btreeOverwriteContent() 8887 int rc = btreeOverwriteContent(pPage, pDest+nData, pX, iOffset+nData, in btreeOverwriteContent() 8892 if( memcmp(pDest, ((u8*)pX->pData) + iOffset, iAmt)!=0 ){ in btreeOverwriteContent() 8899 memmove(pDest, ((u8*)pX->pData) + iOffset, iAmt); in btreeOverwriteContent() 9302 int sqlite3BtreeTransferRow(BtCursor *pDest, BtCursor *pSrc, i64 iKey){ in sqlite3BtreeTransferRow() argument 9304 BtShared *pBt = pDest->pBt; in sqlite3BtreeTransferRow() 9316 if( pDest->pKeyInfo==0 ) aOut += putVarint(aOut, iKey); in sqlite3BtreeTransferRow() 9323 if( nIn==nRem && nIn<pDest->pPage->maxLocal ){ in sqlite3BtreeTransferRow() [all …]
|
| H A D | where.c | 191 static void whereOrMove(WhereOrSet *pDest, WhereOrSet *pSrc){ in whereOrMove() argument 192 pDest->n = pSrc->n; in whereOrMove() 193 memcpy(pDest->a, pSrc->a, pDest->n*sizeof(pDest->a[0])); in whereOrMove()
|
| H A D | pager.c | 3833 int sqlite3PagerReadFileheader(Pager *pPager, int N, unsigned char *pDest){ in sqlite3PagerReadFileheader() argument 3835 memset(pDest, 0, N); in sqlite3PagerReadFileheader() 3846 rc = sqlite3OsRead(pPager->fd, pDest, N, 0); in sqlite3PagerReadFileheader()
|
| H A D | shell.c.in | 7668 sqlite3 *pDest; local 7703 rc = sqlite3_open_v2(zDestFile, &pDest, 7707 close_db(pDest); 7711 sqlite3_exec(pDest, "PRAGMA synchronous=OFF; PRAGMA journal_mode=OFF;", 7715 pBackup = sqlite3_backup_init(pDest, "main", p->db, zDb); 7717 utf8_printf(stderr, "Error: %s\n", sqlite3_errmsg(pDest)); 7718 close_db(pDest); 7726 utf8_printf(stderr, "Error: %s\n", sqlite3_errmsg(pDest)); 7729 close_db(pDest);
|
| H A D | sqlite.h.in | 9050 sqlite3 *pDest, /* Destination database handle */
|
| /sqlite-3.40.0/ext/misc/ |
| H A D | scrub.c | 73 sqlite3_file *pDest; /* Destination file handle */ member 129 rc = p->pDest->pMethods->xWrite(p->pDest, pData, p->szPage, iOff); in scrubBackupWrite() 254 sqlite3_file_control(p->dbDest, "main", SQLITE_FCNTL_FILE_POINTER, &p->pDest); in scrubBackupOpenDest() 255 if( p->pDest==0 || p->pDest->pMethods==0 ){ in scrubBackupOpenDest()
|
| /sqlite-3.40.0/ext/wasm/api/ |
| H A D | sqlite3-api-opfs.js | 729 xRead: function(pFile,pDest,n,offset64){ argument 741 wasm.heap8u().set(f.sabView.subarray(0, n), pDest);
|
| /sqlite-3.40.0/ext/lsm1/ |
| H A D | lsm_sorted.c | 393 static int sortedBlobCopy(LsmBlob *pDest, LsmBlob *pSrc){ 394 return sortedBlobSet(pDest, pSrc->pData, pSrc->nData);
|