Disable SQL export when applying functions in select

This commit is contained in:
Jakub Vrana 2013-04-26 11:57:21 -07:00
parent 91dbaca3c4
commit 4858f332c8
2 changed files with 7 additions and 0 deletions

View file

@ -472,6 +472,12 @@ if (!$columns) {
<?php
}
$format = $adminer->dumpFormat();
foreach ((array) $_GET["columns"] as $column) {
if ($column["fun"]) {
unset($format['sql']);
break;
}
}
if ($format) {
print_fieldset("export", lang('Export'));
$output = $adminer->dumpOutput();

View file

@ -1,5 +1,6 @@
Adminer 3.6.5-dev:
Print run time next to executed queries
Disable SQL export when applying functions in select
Fix handling of POINT data type (bug #3582578)
Don't export binary and geometry columns twice in select