aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-10-27 11:32:20 +0000
committerstephan <stephan@noemail.net>2022-10-27 11:32:20 +0000
commitbb5136e5cbd949b0efde2b75b07ebef992a24e43 (patch)
tree588dfb0048c13c0c179cdb77c630f32ac143141d /src
parent340b1d1a710ca5d8a503b0524c88abcf73083afe (diff)
downloadsqlite-bb5136e5cbd949b0efde2b75b07ebef992a24e43.tar.gz
sqlite-bb5136e5cbd949b0efde2b75b07ebef992a24e43.zip
Re-enable the .recovery and .dbinfo commands in shell.c.in in the fiddle build, as those were fixed by [3d20d77a3511] and [cd0aa27d1732].
FossilOrigin-Name: ba3a7a4a9997f62b78467d78d95fa5b58a03ecb2e2ccb68f4d316fc08fd02f86
Diffstat (limited to 'src')
-rw-r--r--src/shell.c.in7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/shell.c.in b/src/shell.c.in
index a400b3ec8..6c4c3e5f7 100644
--- a/src/shell.c.in
+++ b/src/shell.c.in
@@ -1057,12 +1057,7 @@ INCLUDE ../ext/misc/sqlar.c
INCLUDE ../ext/expert/sqlite3expert.h
INCLUDE ../ext/expert/sqlite3expert.c
-#if !defined(SQLITE_OMIT_VIRTUALTABLE) \
- && defined(SQLITE_ENABLE_DBPAGE_VTAB) \
- && !defined(SQLITE_SHELL_FIDDLE)
-/* Including the recovery API causes the fiddle build to fail because
-** recovery-related code invokes mutex- and UTF16-related APIs which
-** we specifically disable in the wasm builds. */
+#if !defined(SQLITE_OMIT_VIRTUALTABLE) && defined(SQLITE_ENABLE_DBPAGE_VTAB)
#define SQLITE_SHELL_HAVE_RECOVER 1
#else
#define SQLITE_SHELL_HAVE_RECOVER 0