Permalink
Browse files

Export SQLite views

  • Loading branch information...
vrana committed Apr 29, 2013
1 parent 1ecdde0 commit 34adf462938c164b6452806ed6598279b7195397
Showing with 2 additions and 1 deletion.
  1. +1 −1 adminer/drivers/sqlite.inc.php
  2. +1 −0 changes.txt
@@ -620,7 +620,7 @@ function set_schema($scheme) {
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
@@ -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

0 comments on commit 34adf46

Please sign in to comment.