Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Disable SQL export when applying functions in select

  • Loading branch information...
commit 4858f332c88f00e6bf03ea2cf19e4e14c483a300 1 parent 91dbaca
@vrana authored
Showing with 7 additions and 0 deletions.
  1. +6 −0 adminer/select.inc.php
  2. +1 −0  changes.txt
View
6 adminer/select.inc.php
@@ -472,6 +472,12 @@
<?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
1  changes.txt
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.