Command Line Shell For SQLite
(cli.html)
6. Opening Database Files
The ".open" command opens a new database connection, after first closing the
previously opened database command. In its simplest form, the ".open" command merely
invokes sqlite3_open() on the file named as its argument. Use the name ":memory:"
to open a ...
|
C API: Enable Or Disable Shared Pager Cache
(c3ref/enable_shared_cache.html)
sqlite3_enable_shared_cache()
... The cache sharing mode set by this interface effects all subsequent
calls to sqlite3_open(), sqlite3_open_v2(), and sqlite3_open16().
Existing database connections continue to use the sharing mode
that was in effect at the time they were opened.
This routine returns SQLITE_OK ...
|
SQLite Changes From Version 3.4.2 To 3.5.0
(34to35.html)
... The
xDlOpen method opens a shared library or DLL and returns a pointer to
a handle. NULL is returned if the open fails. If the open fails,
the xDlError method can be used to obtain a text error message.
The ...
|
The C language interface to SQLite Version 2
(c_interface.html)
... 1.1 Opening a database
Use the sqlite_open function to open an existing SQLite
database or to create a new SQLite database. The first argument
is the database name. The second argument is intended to signal
whether the database is ...
|
C API: Low-level system error code
(c3ref/system_errno.html)
sqlite3_system_errno()
Attempt to return the underlying operating system error code or error
number that caused the most recent I/O error or failure to open a file.
The return value is OS-dependent. For example, on unix systems, after
sqlite3_open_v2() returns ...
|
SQLite Shared-Cache Mode
(sharedcache.html)
2.1. Transaction Level Locking
SQLite connections can open two kinds of transactions, read and write
transactions. This is not done explicitly, a transaction is implicitly a
read-transaction until it first writes to a database table, at which point
it becomes a write-transaction ...
|
C API: OS Interface File Virtual Methods Object
(c3ref/io_methods.html)
struct sqlite3_io_methods
Every file opened by the sqlite3_vfs.xOpen method populates an
sqlite3_file object (or, more commonly, a subclass of the
sqlite3_file object) with a pointer to an instance of this object.
This object defines the methods used to perform various operations ...
|
C API: Find the next prepared statement
(c3ref/next_stmt.html)
sqlite3_next_stmt()
... The database connection pointer D in a call to
sqlite3_next_stmt(D,S) must refer to an open database
connection and in particular must not be a NULL pointer.
See also lists of
Objects,
Constants, and
Functions.
|
The Checksum VFS Shim
(cksumvfs.html)
3. Loading
... All subsequent database connections that are opened
will include this extension. For example:
sqlite3 *db;
sqlite3_open(":memory:", &db);
sqlite3_load_extension(db, "./cksumvfs");
sqlite3_close(db);
If this extension is compiled with -DSQLITE_CKSUMVFS_STATIC and
statically linked against the application, initialize it using
a ...
|
Write-Ahead Logging
(wal.html)
4. The WAL File
While a database connection is open on a WAL-mode database, SQLite
maintains an extra journal file called a "Write Ahead Log" or "WAL File".
The name of this file on disk is usually the name of the database file ...
|
Page generated by FTS5 in about 153.42 ms.