mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 17:44:07 +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)";
|
||||
}
|
||||
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_" : "");
|
||||
|
Reference in New Issue
Block a user