mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-05-18 11:38:24 -05:00
Show temporary tables and views in Structure and Browse tabs
Also show temporary tables in the Database Structure and the Browse Data tabs as well as in the export dialogs etc.
This commit is contained in:
+1
-1
@@ -765,7 +765,7 @@ void DBBrowserDB::updateSchema( )
|
||||
if(!isOpen())
|
||||
return;
|
||||
|
||||
QString statement = "SELECT type, name, sql, tbl_name FROM sqlite_master;";
|
||||
QString statement = "SELECT type,name,sql,tbl_name FROM sqlite_master UNION SELECT type,name,sql,tbl_name FROM sqlite_temp_master;";
|
||||
|
||||
QByteArray utf8Statement = statement.toUtf8();
|
||||
err=sqlite3_prepare_v2(_db, utf8Statement, utf8Statement.length(),
|
||||
|
||||
Reference in New Issue
Block a user