Lines Matching refs:close

636 ** [prepared statements], [sqlite3_blob_close | close] all [BLOB handles], and
638 ** with the [sqlite3] object prior to attempting to close the object.
729 ** <li> The application must not close the [database connection] specified by
1190 ** is often close. The underlying VFS might choose to preallocate database
1272 ** close. Persisting the files is useful when other processes that do not
2595 ** is an integer - positive to disable checkpoints-on-close, or zero (the
2598 ** into which is written 0 or 1 to indicate whether checkpoints-on-close
2969 ** is closed or might close before sqlite3_interrupt() returns.
3085 ** A busy handler must not close the database connection
5639 ** close the database connection nor finalize or reset the prepared
10691 ** If a [WAL file] remains on disk after all database connections close
10834 #define SQLITE_DESERIALIZE_FREEONCLOSE 1 /* Call sqlite3_free() on close */
15283 /* Open and close a Pager connection. */
16593 /* Reset and close the cache object */
17192 #define SQLITE_NoCkptOnClose 0x00000800 /* No checkpoint on close()/DETACH */
17292 #define SQLITE_STATE_SICK 0xba /* Error and awaiting close */
17295 #define SQLITE_STATE_ZOMBIE 0xa7 /* Close with last statement close */
29218 ** words if the amount of heap used is close to the limit set by
36976 ** opportunity to either close or reuse it.
36979 int fd; /* File descriptor to close */
37063 #define UNIXFILE_DELETE 0x20 /* Delete on close */
37179 ** Change close to posixClose, use fdsan_close_with_tag when fdsan enable.
37185 return close(fd);
37207 { "close", (sqlite3_syscall_ptr)posixClose, 0 },
37675 ** and a variety of "please close the file descriptor NOW" errors into
37902 ** If you close a file descriptor that points to a file that has locks,
37906 ** When an attempt is made to close an unixFile, if there are
37908 ** to close() the file descriptor is deferred until all of the locks clear.
37986 UnixUnusedFd *pUnused; /* Unused file descriptors to close */
38095 ** We assume that close() almost always works, since it is only in a
38100 ** Note that it is not safe to retry close() after EINTR since the
38107 unixLogErrorAtLine(SQLITE_IOERR_CLOSE, "close",
38872 ** count reaches zero, close any other file descriptors whose close
38908 ** This function performs the parts of the "close file" operation
38963 /* unixFile.pInode is always valid here. Otherwise, a different close
38969 /* If there are outstanding locks, do not actually close the file just
40044 /* If there are outstanding locks, do not actually close the file just
40550 ** the file descriptor *pFd using close().
41991 /* If pShmNode->nRef has reached 0, then close the underlying
42595 /* If an error occurred in findInodeInfo(), close the file descriptor
42605 ** findInodeInfo(). If this is the case, it is quite safe to close
43012 ** is called the directory file descriptor will be fsync()ed and close()d.
43762 ** close-to-open semantics for ensuring cache coherency
43897 void *oldLockingContext; /* Original lockingcontext to restore on close */
43898 sqlite3_io_methods const *pOldMethod; /* Original I/O methods for close */
44627 ** the unix structure properly cleaned up at close time:
44901 /* restore the original locking context and pMethod then close it */
47381 /* If mapping failed, close the shared memory handle and erase it */
47392 /* If shared memory could not be created, then close the mutex and fail */
47438 /* De-reference and close our copy of the shared memory handle */
47729 ** It is reported that an attempt to close a handle might sometimes
47732 ** the close fails, we pause for 100 milliseconds and try again. As
47733 ** many as MX_CLOSE_ATTEMPT attempts to close the handle are made before
49128 /* If pShmNode->nRef has reached 0, then close the underlying
55403 /* Open and close a connection to a write-ahead log. */
55410 /* Used by readers to open (lock) and close (unlock) a snapshot. A
57348 ** close the journal file when dropping the database lock. Otherwise
59661 ** Shutdown the page cache. Free all memory and close all files.
59707 ** database and close the journal file without attempting to roll it
60544 /* If an error occurred above, free the Pager structure and close the file.
63193 ** This function is called to close the connection to the log file prior
63223 /* Checkpoint and close the log. Because an EXCLUSIVE lock is held on
65604 Wal *pWal, /* Wal to close */
69460 ** Restore the cursor to the position it was in (or as close to as possible)
74869 ** locate a page close to the page number "nearby". This can be used in an
74870 ** attempt to keep related pages close to each other in the database file,
85454 ** super-journal file. If an error occurs at this point close
85583 ** close it now. Argument eOp must be either SAVEPOINT_ROLLBACK or
85682 ** means the close did not happen and needs to be repeated.
98106 /* If leaving WAL mode, close the log file. If successful, the call
115462 ** close to 1.0 but just a little larger) then do not round up but
116617 ** new database, close the database on db->init.iDb and reopen it as an
116652 ** from sqlite3_deserialize() to close database db->init.iDb and
116784 ** If this fails, or if opening the file failed, then close the file and
129232 ** close cursors
129237 ** close cursors
131976 int (*close)(sqlite3*);
132333 #define sqlite3_close sqlite3_api->close
134389 ** If the TEMP database is open, close it and mark the database schema
137104 pragmaVtabClose, /* xClose - close a cursor */
141957 /*** TBD: Insert subroutine calls to close cursors on incomplete
146013 /* Open a read-only cursor, execute the OP_Count, close the cursor. */
158287 ** comparisons indicate that they are close together, use the fallback
162118 ** and sqlite3WhereEnd() generates the code to close them.
174550 ** database handle object, it does not close any savepoints that may be open
174662 sqlite3ErrorWithMsg(db, SQLITE_BUSY, "unable to close due to unfinalized "
174675 /* Convert the connection into a zombie and then close it.
180113 /* If the first byte was a '[', then the close-quote character is a ']' */
184843 ** close to a position in the *paPoslist position list are removed. If this
185064 ** phrase instances sufficiently close to their peers to satisfy all NEAR
186168 /* In case this cursor is being reused, close and zero it. */
186741 ** close bracket, or a quoted string.
186773 ** the next byte must contain either whitespace, an open or close
200837 jsonEachClose, /* xClose - close a cursor */
200865 jsonEachClose, /* xClose - close a cursor */
204356 ** it uses this hook to close any open blob handle. This is done because a
204434 rtreeClose, /* xClose - close a cursor */
205275 /* If one was opened, close the transaction */
207096 rtreeClose, /* xClose - close a cursor */
208498 ** 4) Calls sqlite3rbu_close() to close the RBU update handle. If
212555 ** application calls sqlite3rbu_savestate() or close() immediately
215062 statClose, /* xClose - close a cursor */
215490 dbpageClose, /* xClose - close a cursor */
222413 ** Also close any open blob handles.
225540 ** This function searches for the corresponding close-quote character within
225544 ** If the close-quote is found, the value returned is the byte offset of
225545 ** the character immediately following it. Or, if the close-quote is not
225555 /* Set stack variable q to the close-quote character */
225562 /* Character iIn was the close quote. */
225813 ** to find close-quote character).
225822 ** set if a parse error (failed to find close quote) occurs.
227038 ** close together to meet the NEAR constraint. Non-zero is returned if it
236883 ** xRelease(int S): Commit and close savepoint S.
237684 ** argument, close and reopen all Fts5IndexIter iterators that the cursor
244553 stmtClose, /* xClose - close a cursor */