aboutsummaryrefslogtreecommitdiff
path: root/test/swarmvtab.test
diff options
context:
space:
mode:
authordrh <>2022-01-16 19:11:13 +0000
committerdrh <>2022-01-16 19:11:13 +0000
commit7d44b22d45a55a2783a32e67d5bd4487fcb4d00c (patch)
tree3b5ed9d462176b8c55191c805027f48cfa4a4200 /test/swarmvtab.test
parent72e30421c89695319fa43de906a70ff862fcfe89 (diff)
downloadsqlite-7d44b22d45a55a2783a32e67d5bd4487fcb4d00c.tar.gz
sqlite-7d44b22d45a55a2783a32e67d5bd4487fcb4d00c.zip
Fix test cases so that they all still work even with -DSQLITE_DQS=0.
FossilOrigin-Name: 4883776669ee2f2310ea82b0d6df4d008eebaa7cb252102539cf21a635402ebb
Diffstat (limited to 'test/swarmvtab.test')
-rw-r--r--test/swarmvtab.test12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/swarmvtab.test b/test/swarmvtab.test
index 9d2919bee..b4b94487a 100644
--- a/test/swarmvtab.test
+++ b/test/swarmvtab.test
@@ -209,8 +209,8 @@ db func fetch_db fetch_db
do_catchsql_test 3.1 {
CREATE VIRTUAL TABLE temp.xyz USING swarmvtab(
'VALUES
- ("test.db1", "t1", 1, 10),
- ("test.db2", "t1", 11, 20)
+ (''test.db1'', ''t1'', 1, 10),
+ (''test.db2'', ''t1'', 11, 20)
', 'fetch_db_no_such_function'
);
} {1 {sql error: no such function: fetch_db_no_such_function}}
@@ -218,8 +218,8 @@ do_catchsql_test 3.1 {
do_catchsql_test 3.2 {
CREATE VIRTUAL TABLE temp.xyz USING swarmvtab(
'VALUES
- ("test.db1", "t1", 1, 10),
- ("test.db2", "t1", 11, 20)
+ (''test.db1'', ''t1'', 1, 10),
+ (''test.db2'', ''t1'', 11, 20)
', 'fetch_db'
);
} {1 {fetch_db error!}}
@@ -233,8 +233,8 @@ do_execsql_test 3.3.1 {
DETACH aux;
CREATE VIRTUAL TABLE temp.xyz USING swarmvtab(
'VALUES
- ("test.db1", "t1", 1, 10),
- ("test.db2", "t1", 11, 20)
+ (''test.db1'', ''t1'', 1, 10),
+ (''test.db2'', ''t1'', 11, 20)
', 'fetch_db'
);
} {}