1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 17:14:07 +02:00

Don't export binary and geometry columns twice in select

This commit is contained in:
Jakub Vrana
2013-04-26 11:52:26 -07:00
parent 741cd5b4b6
commit 91dbaca3c4
2 changed files with 2 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ $where = $adminer->selectSearchProcess($fields, $indexes);
$order = $adminer->selectOrderProcess($fields, $indexes);
$limit = $adminer->selectLimitProcess();
$from = ($select ? implode(", ", $select) : "*" . ($oid ? ", $oid" : ""));
if ($jush == "sql") {
if ($jush == "sql" && !$_POST["export"]) {
foreach ($columns as $key => $val) {
if ($select && !$select[$key]) {
continue;