Lines Matching defs:writer

7318 **   database writer and all readers are reading from the most recent database
7347 ** "writer" lock on the database file. If the writer lock cannot be obtained
7348 ** immediately, and a busy-handler is configured, it is invoked and the writer
7352 ** the writer lock is obtained or while waiting for database readers, the
10126 ** There can only be one writer. A RESERVED_LOCK is obtained by locking
10132 ** which means we can use reader/writer locks. When reader/writer locks
47858 ** the writer will first "reset" the WAL back to the beginning and start
48498 /* If the entry in aPgno[] is already set, then the previous writer
49482 ** with a writer. So get a WRITE lock and try again.
49724 ** that the log file may have been wrapped by a writer, or that frames
49937 ** There can only be a single writer active at a time.
49950 /* Only one writer allowed at a time. Get the write lock. Return
50060 ** was started. Right after that, the writer decided to wrap around
50231 WalWriter w; /* The writer */
50442 ** If the writer lock cannot be obtained, then a passive checkpoint is
50443 ** run instead. Since the checkpointer is not holding the writer lock,
51013 ** 1) The current writer (BtShared.pWriter) concludes its transaction, OR
51019 ** This feature is included to help prevent writer-starvation.
51837 ** only be a single writer).
51965 ** transaction. If there currently exists a writer, and p is not
51966 ** that writer, then the number of locks held by connections other
51967 ** than the writer must be about to drop to zero. In this case
51970 ** If there is not currently a writer, then BTS_PENDING must
64589 /* If the auto-commit flag is set and this is the only active writer
75651 ** Initialize a file-writer object.
75702 ** Flush any buffered data to disk and clean up the file-writer object.
75703 ** The results of using the file-writer after this call are undefined.
75752 FileWriter writer;
75754 memset(&writer, 0, sizeof(FileWriter));
75775 fileWriterInit(db, pSorter->pTemp1, &writer, pSorter->iWriteOff);
75777 fileWriterWriteVarint(&writer, pSorter->nInMemory);
75780 fileWriterWriteVarint(&writer, p->nVal);
75781 fileWriterWrite(&writer, p->pVal, p->nVal);
75785 rc = fileWriterFinish(db, &writer, &pSorter->iWriteOff);
75921 FileWriter writer; /* Object used to write to disk */
75924 memset(&writer, 0, sizeof(FileWriter));
75949 fileWriterInit(db, pTemp2, &writer, iWrite2);
75950 fileWriterWriteVarint(&writer, nWrite);
75955 fileWriterWriteVarint(&writer, pIter->nKey);
75956 fileWriterWrite(&writer, pIter->aKey, pIter->nKey);
75959 rc2 = fileWriterFinish(db, &writer, &iWrite2);
140726 ** merge-writer object pWriter, and if no error has occurred, to flush
140739 IncrmergeWriter *pWriter, /* Merge-writer object */
140873 ** merge-writer object *pWriter is initialized to write to it.
141533 /* Allocate space for the cursor, filter and writer objects */