Use ST_GeomFromText in MySQL 8 (bug #574)
This commit is contained in:
parent
c52fb951b0
commit
c2de3b8ec1
|
@ -1021,7 +1021,7 @@ if (!defined("DRIVER")) {
|
|||
$return = "CONV($return, 2, 10) + 0";
|
||||
}
|
||||
if (preg_match("~geometry|point|linestring|polygon~", $field["type"])) {
|
||||
$return = "GeomFromText($return)";
|
||||
$return = (min_version(8) ? "ST_" : "") . "GeomFromText($return)";
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
Adminer 4.6.1-dev:
|
||||
MySQL: Support geometry in MySQL 8 (bug #574)
|
||||
PostgreSQL: Don't treat interval type as number (bug #474)
|
||||
PostgreSQL: Fix condition for selecting no rows
|
||||
|
||||
|
|
Loading…
Reference in a new issue