mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
MySQL: Fix saving bit(64) values (bug #839)
This commit is contained in:
@@ -1115,7 +1115,7 @@ if (!defined("DRIVER")) {
|
|||||||
$return = "UNHEX($return)";
|
$return = "UNHEX($return)";
|
||||||
}
|
}
|
||||||
if ($field["type"] == "bit") {
|
if ($field["type"] == "bit") {
|
||||||
$return = "CONV($return, 2, 10) + 0";
|
$return = "CONVERT(b$return, UNSIGNED)";
|
||||||
}
|
}
|
||||||
if (preg_match("~geometry|point|linestring|polygon~", $field["type"])) {
|
if (preg_match("~geometry|point|linestring|polygon~", $field["type"])) {
|
||||||
$prefix = (min_version(8) ? "ST_" : "");
|
$prefix = (min_version(8) ? "ST_" : "");
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
Adminer 4.16.0-dev:
|
Adminer 4.16.0-dev:
|
||||||
|
MySQL: Fix saving bit(64) values (bug #839)
|
||||||
PostgreSQL: Preserve whitespace in EXPLAIN (bug #827)
|
PostgreSQL: Preserve whitespace in EXPLAIN (bug #827)
|
||||||
MS SQL: Foreign keys in non-default schema (bug #833)
|
MS SQL: Foreign keys in non-default schema (bug #833)
|
||||||
Oracle: Include tables granted by other user
|
Oracle: Include tables granted by other user
|
||||||
|
Reference in New Issue
Block a user