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

PDO: Support binary fields download

This commit is contained in:
Jakub Vrana
2018-02-20 22:31:49 +01:00
parent 5b359263eb
commit 7b35ebd82e
3 changed files with 5 additions and 9 deletions

View File

@@ -155,10 +155,6 @@ if (isset($_GET["pgsql"])) {
return ($adminer->database() == $database);
}
function value($val, $field) {
return $val;
}
function quoteBinary($s) {
return q($s);
}
@@ -204,10 +200,6 @@ if (isset($_GET["pgsql"])) {
);
}
function value($val, $field) {
return $this->_conn->value($val, $field);
}
function quoteBinary($s) {
return $this->_conn->quoteBinary($s);
}