aboutsummaryrefslogtreecommitdiff
path: root/test/vtabE.test
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2017-08-10 17:53:11 +0000
committerdrh <drh@noemail.net>2017-08-10 17:53:11 +0000
commit4dd176eaabd42f2bc06a49f8119da7960308f9df (patch)
tree6989378f919d6579fc30727a8f72e916b18d0d0e /test/vtabE.test
parente3740f272bf8fc7439d64e211c3093ff55a8c21c (diff)
downloadsqlite-4dd176eaabd42f2bc06a49f8119da7960308f9df.tar.gz
sqlite-4dd176eaabd42f2bc06a49f8119da7960308f9df.zip
Test case for writing to a WITHOUT ROWID virtual table. The TCLVAR virtual
table is modified to add a "fullname" column which is the primary key, and to accept update operations against the primary key. FossilOrigin-Name: 6997e00c3221f266f4d9187501d8a9e5bafb85551e88a744cdc8ffe3b75ec2a4
Diffstat (limited to 'test/vtabE.test')
-rw-r--r--test/vtabE.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/vtabE.test b/test/vtabE.test
index aeb478e3e..cbb6a1e30 100644
--- a/test/vtabE.test
+++ b/test/vtabE.test
@@ -39,7 +39,9 @@ do_test vtabE-1 {
CREATE VIRTUAL TABLE t1 USING tclvar;
CREATE VIRTUAL TABLE t2 USING tclvar;
CREATE TABLE t3(a INTEGER PRIMARY KEY, b);
- SELECT t1.*, t2.*, abs(t3.b + abs(t2.value + abs(t1.value)))
+ SELECT t1.name, t1.arrayname, t1.value,
+ t2.name, t2.arrayname, t2.value,
+ abs(t3.b + abs(t2.value + abs(t1.value)))
FROM t1 LEFT JOIN t2 ON t2.name = t1.arrayname
LEFT JOIN t3 ON t3.a=t2.value
WHERE t1.name = 'vtabE'