Add extra tests to vtabL.test.
FossilOrigin-Name: fe209099f5c348f1280b9b827ffbf6a6742ebdd1a23ef189445147894b1832ba
This commit is contained in:
parent
dcc121999c
commit
ed517a7082
12
manifest
12
manifest
@ -1,5 +1,5 @@
|
|||||||
C Avoid\sexpanding\sinteger\svalues\sin\scolumns\swith\sreal\saffinity\sto\sthe\sfull\s8-byte\srepresentation\swhen\sediting\srecords\sas\spart\sof\sa\sDROP\sCOLUMN\scommand.
|
C Add\sextra\stests\sto\svtabL.test.
|
||||||
D 2024-03-26T11:14:52.242
|
D 2024-03-26T18:07:39.608
|
||||||
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
|
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
|
||||||
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
|
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
|
||||||
F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
|
F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
|
||||||
@ -1951,7 +1951,7 @@ F test/vtabH.test 2efb5a24b0bb50796b21eca23032cfb77abfa4b0c03938e38ce5897abac404
|
|||||||
F test/vtabI.test 751b07636700dbdea328e4265b6077ccd6811a3f
|
F test/vtabI.test 751b07636700dbdea328e4265b6077ccd6811a3f
|
||||||
F test/vtabJ.test a6aef49d558af90fae10565b29501f82a95781cb4f797f2d13e2d19f9b6bc77b
|
F test/vtabJ.test a6aef49d558af90fae10565b29501f82a95781cb4f797f2d13e2d19f9b6bc77b
|
||||||
F test/vtabK.test 13293177528fada1235c0112db0d187d754af1355c5a39371abd365104e3afbf
|
F test/vtabK.test 13293177528fada1235c0112db0d187d754af1355c5a39371abd365104e3afbf
|
||||||
F test/vtabL.test 040b9f782a3b41844f2a5c660e6a0bfd298492980c6b4e126d82113c9785cec3
|
F test/vtabL.test 49ec7342e8bfcb0d6c3d2443c619f430c609c042d5d7e6ddf52def65d6d1812f
|
||||||
F test/vtab_alter.test 736e66fb5ec7b4fee58229aa3ada2f27ec58bc58c00edae4836890c3784c6783
|
F test/vtab_alter.test 736e66fb5ec7b4fee58229aa3ada2f27ec58bc58c00edae4836890c3784c6783
|
||||||
F test/vtab_err.test dcc8b7b9cb67522b3fe7a272c73856829dae4ab7fdb30399aea1b6981bda2b65
|
F test/vtab_err.test dcc8b7b9cb67522b3fe7a272c73856829dae4ab7fdb30399aea1b6981bda2b65
|
||||||
F test/vtab_shared.test 5253bff2355a9a3f014c15337da7e177ab0ef8ad
|
F test/vtab_shared.test 5253bff2355a9a3f014c15337da7e177ab0ef8ad
|
||||||
@ -2183,8 +2183,8 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
|
|||||||
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
|
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
|
||||||
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
|
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
|
||||||
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
|
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
|
||||||
P 6a06dc73847716c88d65651d1bf0e002002303881df1389beac884d0032eae08
|
P a49296de0061931badaf3db6b965131a78b1c6c21b1eeb62815ea7adf767d0b3
|
||||||
R 9f7cc1bf5356d77f08ae122347a7b675
|
R 7ff7efd995047005d6aa8ecbdebb1507
|
||||||
U dan
|
U dan
|
||||||
Z 96694e9dd3b3c0e4acdff2534541b848
|
Z ff7145a12bdc41a2553dea79acaa6e0c
|
||||||
# Remove this line to create a well-formed Fossil manifest.
|
# Remove this line to create a well-formed Fossil manifest.
|
||||||
|
@ -1 +1 @@
|
|||||||
a49296de0061931badaf3db6b965131a78b1c6c21b1eeb62815ea7adf767d0b3
|
fe209099f5c348f1280b9b827ffbf6a6742ebdd1a23ef189445147894b1832ba
|
@ -31,10 +31,7 @@ proc vtab_command {method args} {
|
|||||||
return {}
|
return {}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_execsql_test 1.0 {
|
breakpoint
|
||||||
CREATE TABLE t1(a, b);
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach {tn cts} {
|
foreach {tn cts} {
|
||||||
1 {SELECT 123}
|
1 {SELECT 123}
|
||||||
2 {SELECT 123, 456}
|
2 {SELECT 123, 456}
|
||||||
@ -44,6 +41,8 @@ foreach {tn cts} {
|
|||||||
6 {DROP TABLE nosuchtable}
|
6 {DROP TABLE nosuchtable}
|
||||||
7 {DROP TABLE x1}
|
7 {DROP TABLE x1}
|
||||||
8 {DROP TABLE t1}
|
8 {DROP TABLE t1}
|
||||||
|
9 {CREATE TABLE xyz AS SELECT * FROM sqlite_schema}
|
||||||
|
10 {CREATE TABLE xyz AS SELECT 1 AS 'col'}
|
||||||
} {
|
} {
|
||||||
set ::create_table_sql $cts
|
set ::create_table_sql $cts
|
||||||
do_catchsql_test 1.$tn {
|
do_catchsql_test 1.$tn {
|
||||||
@ -51,5 +50,19 @@ foreach {tn cts} {
|
|||||||
} {1 {vtable constructor failed: x1}}
|
} {1 {vtable constructor failed: x1}}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach {tn cts} {
|
||||||
|
1 {CREATE TABLE IF NOT EXISTS t1(a, b)}
|
||||||
|
2 {CREATE TABLE ""(a, b PRIMARY KEY) WITHOUT ROWID}
|
||||||
|
} {
|
||||||
|
set ::create_table_sql $cts
|
||||||
|
execsql { DROP TABLE IF EXISTS x1 }
|
||||||
|
do_execsql_test 2.$tn.1 {
|
||||||
|
CREATE VIRTUAL TABLE x1 USING tcl(vtab_command);
|
||||||
|
}
|
||||||
|
do_execsql_test 2.$tn.2 {
|
||||||
|
SELECT a, b FROM x1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
finish_test
|
finish_test
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user