1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-01 06:27:03 +03:00

Enhance "PRAGMA table_info" to that it provides information about eponymous

virtual tables.

FossilOrigin-Name: 53a1e5d51304cb3de700c1807a2c945a40240576
This commit is contained in:
drh
2016-06-10 22:49:01 +00:00
parent 8dc570b6af
commit 4d249e6128
6 changed files with 30 additions and 22 deletions

View File

@ -32,6 +32,9 @@ db func a_string a_string
register_dbstat_vtab db
do_execsql_test stat-0.0 {
PRAGMA table_info(dbstat);
} {/0 name STRING .* 1 path INTEGER .* 9 pgsize INTEGER/}
do_execsql_test stat-0.1 {
PRAGMA auto_vacuum = OFF;
CREATE VIRTUAL TABLE temp.stat USING dbstat;
SELECT * FROM stat;