mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Fix sqlite3_analyzer so that it works on databases containing virtual tables. (CVS 3457)
FossilOrigin-Name: 47c8567fcb6b184ca13fcb67f80d261205c66fc8
This commit is contained in:
@ -119,7 +119,8 @@ set pageSize [db eval {PRAGMA page_size}]
|
||||
# database, including the sqlite_master table.
|
||||
#
|
||||
set sql {
|
||||
SELECT name, rootpage FROM sqlite_master WHERE type='table'
|
||||
SELECT name, rootpage FROM sqlite_master
|
||||
WHERE type='table' AND rootpage>0
|
||||
UNION ALL
|
||||
SELECT 'sqlite_master', 1
|
||||
ORDER BY 1
|
||||
|
Reference in New Issue
Block a user