From 63847496f14c813a5d80efd5b7de0f1294ffe1e3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 16:07:11 +0200 Subject: Adding upstream version 3.45.1. Signed-off-by: Daniel Baumann --- www/c3ref/database_file_object.html | 144 ++++++++++++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 www/c3ref/database_file_object.html (limited to 'www/c3ref/database_file_object.html') diff --git a/www/c3ref/database_file_object.html b/www/c3ref/database_file_object.html new file mode 100644 index 0000000..3fb0fca --- /dev/null +++ b/www/c3ref/database_file_object.html @@ -0,0 +1,144 @@ + + + + + +Database File Corresponding To A Journal + + + +
+ + + +
+
+Small. Fast. Reliable.
Choose any three. +
+ + +
+
+ + + +
+
+
+ + +
+

SQLite C Interface

+

Database File Corresponding To A Journal

+
+
+sqlite3_file *sqlite3_database_file_object(const char*);
+
+

+If X is the name of a rollback or WAL-mode journal file that is +passed into the xOpen method of sqlite3_vfs, then +sqlite3_database_file_object(X) returns a pointer to the sqlite3_file +object that represents the main database file.

+ +

This routine is intended for use in custom VFS implementations +only. It is not a general-purpose interface. +The argument sqlite3_file_object(X) must be a filename pointer that +has been passed into sqlite3_vfs.xOpen method where the +flags parameter to xOpen contains one of the bits +SQLITE_OPEN_MAIN_JOURNAL or SQLITE_OPEN_WAL. Any other use +of this routine results in undefined and probably undesirable +behavior. +

See also lists of + Objects, + Constants, and + Functions.

+ -- cgit v1.2.3