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

Add the "PRAGMA table_list" command with its corresponding eponymous

table-valued function: "pragma_table_list".

FossilOrigin-Name: 2c0e7ae541e9ecb86aa58fa7e7057def8aac1b1af1af1aa80b8bf2d260f9a2f9
This commit is contained in:
drh
2021-09-21 17:26:23 +00:00
parent b3e4423137
commit 2e50f67073
9 changed files with 151 additions and 74 deletions

View File

@ -38,6 +38,9 @@ integrity_check without_rowid1-1.0ic
do_execsql_test_if_vtab without_rowid1-1.0ixi {
SELECT name, key FROM pragma_index_xinfo('t1');
} {c 1 a 1 b 0 d 0}
do_execsql_test_if_vtab without_rowid1-1.0tl {
SELECT wr FROM pragma_table_list('t1');
} {1}
do_execsql_test without_rowid1-1.1 {
SELECT *, '|' FROM t1 ORDER BY +c, a;