Disable SQL export when applying functions in select
This commit is contained in:
parent
91dbaca3c4
commit
4858f332c8
|
@ -472,6 +472,12 @@ if (!$columns) {
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
$format = $adminer->dumpFormat();
|
$format = $adminer->dumpFormat();
|
||||||
|
foreach ((array) $_GET["columns"] as $column) {
|
||||||
|
if ($column["fun"]) {
|
||||||
|
unset($format['sql']);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
if ($format) {
|
if ($format) {
|
||||||
print_fieldset("export", lang('Export'));
|
print_fieldset("export", lang('Export'));
|
||||||
$output = $adminer->dumpOutput();
|
$output = $adminer->dumpOutput();
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
Adminer 3.6.5-dev:
|
Adminer 3.6.5-dev:
|
||||||
Print run time next to executed queries
|
Print run time next to executed queries
|
||||||
|
Disable SQL export when applying functions in select
|
||||||
Fix handling of POINT data type (bug #3582578)
|
Fix handling of POINT data type (bug #3582578)
|
||||||
Don't export binary and geometry columns twice in select
|
Don't export binary and geometry columns twice in select
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue