From: Jakub Vrana Date: Mon, 29 Apr 2013 21:46:06 +0000 (-0700) Subject: Export SQLite views X-Git-Tag: v3.7.0~25 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=34adf462938c164b6452806ed6598279b7195397;p=adminer.git Export SQLite views --- diff --git a/adminer/drivers/sqlite.inc.php b/adminer/drivers/sqlite.inc.php index b99bc2f7..03f44821 100644 --- a/adminer/drivers/sqlite.inc.php +++ b/adminer/drivers/sqlite.inc.php @@ -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; diff --git a/changes.txt b/changes.txt index 4a3d6702..79124ff4 100644 --- a/changes.txt +++ b/changes.txt @@ -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