Skip to content

Commit

Permalink
Export SQLite views
Browse files Browse the repository at this point in the history
  • Loading branch information
vrana committed Apr 29, 2013
1 parent 1ecdde0 commit 34adf46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion adminer/drivers/sqlite.inc.php
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions changes.txt
Expand Up @@ -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
Expand Down

0 comments on commit 34adf46

Please sign in to comment.