1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-07 15:16:44 +02:00

MySQL: Fix saving bit(64) values (bug #839)

This commit is contained in:
Jakub Vrana
2025-02-19 14:57:41 +01:00
parent 9def8d7f95
commit df451f4374
2 changed files with 2 additions and 1 deletions

View File

@@ -1115,7 +1115,7 @@ if (!defined("DRIVER")) {
$return = "UNHEX($return)";
}
if ($field["type"] == "bit") {
$return = "CONV($return, 2, 10) + 0";
$return = "CONVERT(b$return, UNSIGNED)";
}
if (preg_match("~geometry|point|linestring|polygon~", $field["type"])) {
$prefix = (min_version(8) ? "ST_" : "");

View File

@@ -1,4 +1,5 @@
Adminer 4.16.0-dev:
MySQL: Fix saving bit(64) values (bug #839)
PostgreSQL: Preserve whitespace in EXPLAIN (bug #827)
MS SQL: Foreign keys in non-default schema (bug #833)
Oracle: Include tables granted by other user