mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 17:14:07 +02:00
Allow editing values with significant binary column (bug #3572781)
This commit is contained in:
@@ -968,7 +968,7 @@ if (!defined("DRIVER")) {
|
||||
*/
|
||||
function unconvert_field($field, $return) {
|
||||
if (ereg("binary", $field["type"])) {
|
||||
$return = "unhex($return)";
|
||||
$return = "UNHEX($return)";
|
||||
}
|
||||
if (ereg("geometry|point|linestring|polygon", $field["type"])) {
|
||||
$return = "GeomFromText($return)";
|
||||
|
Reference in New Issue
Block a user