Skip to content

Commit a0ed6ab

Browse files
committed
web_log passthrough
1 parent ff1d40a commit a0ed6ab

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/SQLiteNestedVFS.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,6 +1060,10 @@ class VFS : public SQLiteVFS::Wrapper {
10601060
flags &= ~(SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE);
10611061
flags |= SQLITE_OPEN_READONLY;
10621062
vfs = "web";
1063+
if (sqlite3_uri_parameter(zName, "web_log")) {
1064+
outer_db_uri +=
1065+
"?web_log=" + urlencode(sqlite3_uri_parameter(zName, "web_log"));
1066+
}
10631067
} else if (unsafe) {
10641068
outer_db_uri += "?nolock=1&psow=1";
10651069
} else if (sqlite3_uri_boolean(zName, "immutable", 0)) {

0 commit comments

Comments
 (0)