1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Enhance SQLITE_SCANSTAT_NCYCLE so that it reports on virtual tables.

FossilOrigin-Name: 622d8eb3724bee617b55d6fb71f1a2d683db6858065adced6bf3ce9525bcd6b5
This commit is contained in:
dan
2022-12-03 21:24:26 +00:00
parent f6f01f15dd
commit ad23a47acd
6 changed files with 53 additions and 17 deletions

View File

@ -138,6 +138,23 @@ QUERY (nCycle=nnn)
--USE TEMP B-TREE FOR ORDER BY
}
#-------------------------------------------------------------------------
reset_db
do_execsql_test 2.0 {
CREATE VIRTUAL TABLE ft USING fts5(a);
INSERT INTO ft VALUES('abc');
INSERT INTO ft VALUES('def');
INSERT INTO ft VALUES('ghi');
}
explain_i {
SELECT * FROM ft('def')
}
do_graph_test 2.1 {
SELECT * FROM ft('def')
} {
}
finish_test