Add further test cases to improve VDBE branch coverage.
FossilOrigin-Name: 51a95e52fc58d8be2c9c51576dff7258c705735b66d203948f80db017b4c10d2
This commit is contained in:
parent
4c81cada05
commit
d1f9932e4b
18
manifest
18
manifest
@ -1,5 +1,5 @@
|
||||
C Fix\sa\stypo\sin\sthe\sdocumentation\sfor\ssqlite3_value_frombind().\s\sAlso\sadd\sa\snew\nhyperlink\sto\sthat\ssame\sdocumentation.\s\sNo\scode\schanges.
|
||||
D 2019-04-04T19:21:45.188
|
||||
C Add\sfurther\stest\scases\sto\simprove\sVDBE\sbranch\scoverage.
|
||||
D 2019-04-04T20:55:37.217
|
||||
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
|
||||
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
|
||||
F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
|
||||
@ -1010,7 +1010,7 @@ F test/hook2.test b9ff3b8c6519fb67f33192f1afe86e7782ee4ac8
|
||||
F test/icu.test 41aa8847745a879b897a7febea0f8f9efc8e67fe8bf680589b6e07c7b0a1569a
|
||||
F test/ieee754.test 806fc0ce7f305f57e3331eaceeddcfec9339e607
|
||||
F test/imposter1.test c3f1db2d3db2c24611a6596a3fc0ffc14f1466c8
|
||||
F test/in.test 63933d7b71eed01a49df55541a73a75398302b50a05b5333f90481460a32ff49
|
||||
F test/in.test 4b985774a64f143f486418cec53379bed3aeb0503179353cc7c7ce15fb464349
|
||||
F test/in2.test 5d4c61d17493c832f7d2d32bef785119e87bde75
|
||||
F test/in3.test 3cbf58c87f4052cee3a58b37b6389777505aa0c0
|
||||
F test/in4.test d2b38cba404bc4320f4fe1b595b3d163f212c068
|
||||
@ -1310,7 +1310,7 @@ F test/show_speedtest1_rtree.tcl 32e6c5f073d7426148a6936a0408f4b5b169aba5
|
||||
F test/shrink.test 1b4330b1fd9e818c04726d45cb28db73087535ce
|
||||
F test/sidedelete.test f0ad71abe6233e3b153100f3b8d679b19a488329
|
||||
F test/skipscan1.test 3ea1cccca8f1b0e1cf3e73a63b43dd796f34d4aaee815e641f0d2ebb3fa448d4
|
||||
F test/skipscan2.test ef143c6e4a5ba4f19c1d1e3f517811f7942bdf2142736cc568feb34e0b5fb763
|
||||
F test/skipscan2.test 3eb703ce794f139e7b83567911046298bcde29606116727f9b700ce34f559d2d
|
||||
F test/skipscan3.test ec5bab3f81c7038b43450e7b3062e04a198bdbb5
|
||||
F test/skipscan5.test 67817a4b6857c47e0e33ba3e506da6f23ef68de2
|
||||
F test/skipscan6.test 0b4cd1b4ac9f84d91454df513c99a4932fa07e8f27b8049bea605068b3e34ac7
|
||||
@ -1700,7 +1700,7 @@ F test/with2.test e0030e2f0267a910d6c0e4f46f2dfe941c1cc0d4f659ba69b3597728e7e8f1
|
||||
F test/with3.test 8d26920c88283e0a473ceebd3451554922108ce7b2a6a1157c47eb0a7011212c
|
||||
F test/with4.test 257be66c0c67fee1defbbac0f685c3465e2cad037f21ce65f23f86084f198205
|
||||
F test/withM.test 693b61765f2b387b5e3e24a4536e2e82de15ff64
|
||||
F test/without_rowid1.test c3f84b1095bdbf24c22c80a0948685ada10ad3bbf421bacad228c7a4cccf22da
|
||||
F test/without_rowid1.test b5ec93f7df2c1d684e0923247dac6aca8888e088bf50a9f244c3933e0e813a72
|
||||
F test/without_rowid2.test af260339f79d13cb220288b67cd287fbcf81ad99
|
||||
F test/without_rowid3.test ea4b59dd1b0d7f5f5e4b7cca978cdb905752a9d7c57dc4344a591dba765a3691
|
||||
F test/without_rowid4.test 4e08bcbaee0399f35d58b5581881e7a6243d458a
|
||||
@ -1815,7 +1815,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
|
||||
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
|
||||
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
|
||||
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
|
||||
P 02ebc60b9bbc1736f4989eb56f8d31ca97fe90c930841d10986c618381ceb8b4
|
||||
R 10edaee8254d5e4cc1aa56f269331782
|
||||
U drh
|
||||
Z 8c0d97adbbce25c3c55c789a92874af1
|
||||
P bf3cd9364fdfc951feb04f78728eb8e0dae12b3dc5702a36bb6e69c0abab8864
|
||||
R 844ebba6c2187a1be3b2412d8e945ade
|
||||
U dan
|
||||
Z 5c8fb8091f9dc8e90ba082e00d6a8a31
|
||||
|
@ -1 +1 @@
|
||||
bf3cd9364fdfc951feb04f78728eb8e0dae12b3dc5702a36bb6e69c0abab8864
|
||||
51a95e52fc58d8be2c9c51576dff7258c705735b66d203948f80db017b4c10d2
|
21
test/in.test
21
test/in.test
@ -714,5 +714,26 @@ do_execsql_test in-15.6 {
|
||||
);
|
||||
} {1 Alice}
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
reset_db
|
||||
do_execsql_test in-16.0 {
|
||||
CREATE TABLE x1(a, b);
|
||||
INSERT INTO x1(a) VALUES(1), (2), (3), (4), (5), (6);
|
||||
CREATE INDEX x1i ON x1(a, b);
|
||||
}
|
||||
|
||||
do_execsql_test in-16.1 {
|
||||
SELECT * FROM x1
|
||||
WHERE a IN (SELECT a FROM x1 WHERE (a%2)==0)
|
||||
ORDER BY a DESC, b;
|
||||
} {6 {} 4 {} 2 {}}
|
||||
|
||||
do_execsql_test in-16.2 {
|
||||
SELECT * FROM x1
|
||||
WHERE a IN (SELECT a FROM x1 WHERE (a%7)==0)
|
||||
ORDER BY a DESC, b;
|
||||
} {}
|
||||
|
||||
|
||||
|
||||
finish_test
|
||||
|
@ -202,4 +202,5 @@ do_eqp_test skipscan2-3.3eqp {
|
||||
} {SEARCH TABLE t3 USING PRIMARY KEY (ANY(a) AND b=?)}
|
||||
|
||||
|
||||
|
||||
finish_test
|
||||
|
@ -379,6 +379,17 @@ do_catchsql_test 10.3 {
|
||||
do_catchsql_test 10.4 {
|
||||
UPDATE t1 SET c=1 WHERE (a, b) = ('b', 'b');
|
||||
} {1 {UNIQUE constraint failed: t1.c}}
|
||||
do_catchsql_test 10.5 {
|
||||
UPDATE t1 SET c=1 WHERE (a, b) = ('c', 'c');
|
||||
} {0 {}}
|
||||
|
||||
do_execsql_test 10.6 {
|
||||
CREATE TRIGGER t1_tr BEFORE UPDATE ON t1 BEGIN
|
||||
DELETE FROM t1 WHERE a = new.a;
|
||||
END;
|
||||
UPDATE t1 SET c = c+1 WHERE a = 'a';
|
||||
SELECT * FROM t1;
|
||||
} {b a 3 b b 4}
|
||||
|
||||
|
||||
finish_test
|
||||
|
Loading…
Reference in New Issue
Block a user