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:
@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user