Export SQLite views

This commit is contained in:
Jakub Vrana 2013-04-29 14:46:06 -07:00
parent 1ecdde0500
commit 34adf46293
2 changed files with 2 additions and 1 deletions

View file

@ -620,7 +620,7 @@ if (isset($_GET["sqlite"]) || isset($_GET["sqlite2"])) {
function create_sql($table, $auto_increment) {
global $connection;
$return = $connection->result("SELECT sql FROM sqlite_master WHERE type = 'table' AND name = " . q($table));
$return = $connection->result("SELECT sql FROM sqlite_master WHERE type IN ('table', 'view') AND name = " . q($table));
foreach (indexes($table) as $name => $index) {
if ($name == '') {
continue;

View file

@ -9,6 +9,7 @@ MySQL: Display bit type as binary number
MySQL: Improve export of binary data types
MySQL: Fix handling of POINT data type (bug #3582578)
MySQL: Don't export binary and geometry columns twice in select
SQLite: Export views
Adminer 3.6.4 (released 2013-04-26):
Display pagination on a fixed position