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