Searched refs:file2 (Results 1 – 8 of 8) sorted by relevance
| /sqlite-3.40.0/test/ |
| H A D | attach2.test | 182 execsql {ATTACH 'test2.db' as file2} 183 execsql {ATTACH 'test2.db' as file2} db2 230 # Handle 'db2' reserves file2. 232 execsql {INSERT INTO file2.t1 VALUES(1, 2)} db2 235 # db2 - reserved(file2) 244 SELECT * FROM file2.t1; 247 # db - shared(main), shared(file2) 248 # db2 - reserved(file2) 257 UPDATE file2.t1 SET a=0; 266 # failing to obtain a write-lock on file2. [all …]
|
| H A D | extension01.test | 32 forcedelete file2.txt 43 SELECT writefile('./file2.txt', 'A second test line'); 47 set in [open ./file2.txt rb] 50 list $x [file size file2.txt] 55 SELECT writefile('./file2.txt', NULL); 59 file size ./file2.txt 64 file attributes ./file2.txt -permissions r--r--r-- 66 file attributes ./file2.txt -readonly 1 69 SELECT writefile('./file2.txt', 'Another test'); 74 file attributes ./file2.txt -permissions rw-r--r-- [all …]
|
| H A D | superlock.test | 182 # Both $file1 and $file2 are database files. This function takes a 184 # overwrites $file1 with the initial contents of $file2, and overwrites 185 # $file2 with the initial contents of $file1). The contents of any WAL 188 proc db_swap {file1 file2} { 190 sqlite3demo_superlock unlock2 $file2 193 set db2 [read_content $file2] 195 write_content $file2 $db1 198 set wal2 [read_content ${file2}-wal] 200 write_content ${file2}-wal $wal1
|
| H A D | shell8.test | 134 file2 "efgh" 180 file2 "efgh" 186 file2 "efgh" 190 catchcmd shell8.db {.ar -r ./file2 ./dir1} 194 } {ar2/file1 ar2/file2 ar2/junk1}
|
| H A D | backup_ioerr.test | 23 proc test_contents {name db1 file1 db2 file2} { 26 set checksum [data_checksum $db2 $file2]
|
| H A D | zipfile.test | 436 INSERT INTO x1(name, data) VALUES('dir1/file2', '5678'); 441 3 dir1/file2
|
| H A D | backup.test | 48 proc test_contents {name db1 file1 db2 file2} { 51 set checksum [data_checksum $db2 $file2]
|
| /sqlite-3.40.0/src/ |
| H A D | vdbesort.c | 1063 if( pTask->file2.pFd ){ in vdbeSortSubtaskCleanup() 1064 sqlite3OsCloseFree(pTask->file2.pFd); in vdbeSortSubtaskCleanup() 2006 pTask->file2.iEof += pIncr->mxSz; in vdbeIncrMergerNew() 2021 pIncr->pTask->file2.iEof -= pIncr->mxSz; in vdbeIncrMergerSetThreads() 2215 if( pTask->file2.pFd==0 ){ in vdbePmaReaderIncrMergeInit() 2216 assert( pTask->file2.iEof>0 ); in vdbePmaReaderIncrMergeInit() 2217 rc = vdbeSorterOpenTempFile(db, pTask->file2.iEof, &pTask->file2.pFd); in vdbePmaReaderIncrMergeInit() 2218 pTask->file2.iEof = 0; in vdbePmaReaderIncrMergeInit() 2221 pIncr->aFile[1].pFd = pTask->file2.pFd; in vdbePmaReaderIncrMergeInit() 2222 pIncr->iStartOff = pTask->file2.iEof; in vdbePmaReaderIncrMergeInit() [all …]
|