1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

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
This commit is contained in:
stephan
2022-10-27 11:32:20 +00:00
parent 340b1d1a71
commit bb5136e5cb
3 changed files with 9 additions and 14 deletions

View File

@@ -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