aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-10-03 18:05:27 +0000
committerstephan <stephan@noemail.net>2022-10-03 18:05:27 +0000
commit4b074692f45fb57ec8bd3b718cbb920ff2a40a69 (patch)
treec4e6ae1d6790294fa527343309dafe2e1aa51c1f /src
parent57956a9c86d19aa9728d58e015fa87b0acd5a99a (diff)
downloadsqlite-4b074692f45fb57ec8bd3b718cbb920ff2a40a69.tar.gz
sqlite-4b074692f45fb57ec8bd3b718cbb920ff2a40a69.zip
Omit WAL mode from the wasm build.
FossilOrigin-Name: 88efe2a62b81e5ee9119f54204e397fda59666a327158c7b7c972e84a716869e
Diffstat (limited to 'src')
-rw-r--r--src/prepare.c4
-rw-r--r--src/sqlite.h.in2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/prepare.c b/src/prepare.c
index cd90bc4ba..1e7a1222b 100644
--- a/src/prepare.c
+++ b/src/prepare.c
@@ -746,7 +746,9 @@ static int sqlite3Prepare(
}
}
- sqlite3VtabUnlockList(db);
+#ifndef SQLITE_OMIT_VIRTUALTABLE
+ if( db->pDisconnect ) sqlite3VtabUnlockList(db);
+#endif
if( nBytes>=0 && (nBytes==0 || zSql[nBytes-1]!=0) ){
char *zSqlCopy;
diff --git a/src/sqlite.h.in b/src/sqlite.h.in
index d862c4fc0..df61f3c19 100644
--- a/src/sqlite.h.in
+++ b/src/sqlite.h.in
@@ -5628,7 +5628,7 @@ void sqlite3_value_free(sqlite3_value*);
**
** ^The sqlite3_aggregate_context(C,N) routine returns a NULL pointer
** when first called if N is less than or equal to zero or if a memory
-** allocate error occurs.
+** allocation error occurs.
**
** ^(The amount of space allocated by sqlite3_aggregate_context(C,N) is
** determined by the N parameter on first successful call. Changing the