aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/tester1.c-pp.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/wasm/tester1.c-pp.js')
-rw-r--r--ext/wasm/tester1.c-pp.js12
1 files changed, 1 insertions, 11 deletions
diff --git a/ext/wasm/tester1.c-pp.js b/ext/wasm/tester1.c-pp.js
index c49a82d36..3338bbb2a 100644
--- a/ext/wasm/tester1.c-pp.js
+++ b/ext/wasm/tester1.c-pp.js
@@ -3300,17 +3300,7 @@ globalThis.sqlite3InitModule = sqlite3InitModule;
T.g('Bug Reports')
.t({
name: 'Delete via bound parameter in subquery',
- predicate: function(sqlite3){
- const d = new sqlite3.oo1.DB();
- try{
- d.exec("create virtual table f using fts5(x)");
- return true;
- }catch(e){
- return "FTS5 is not available";
- }finally{
- d.close();
- }
- },
+ predicate: ()=>wasm.compileOptionUsed('ENABLE_FTS5') || "FTS5 is not available",
test: function(sqlite3){
// Testing https://sqlite.org/forum/forumpost/40ce55bdf5
// with the exception that that post uses "external content"