diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index 68009afe..57886880 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -659,7 +659,7 @@ DROP PROCEDURE adminer_alter; $insert = "INSERT INTO " . table($table) . " (" . implode(", ", array_map('idf_escape', array_keys($row))) . ") VALUES"; } foreach ($row as $key => $val) { - $row[$key] = (isset($val) ? (ereg('int|float|double|decimal', $fields[$key]["type"]) ? $val : q($val)) : "NULL"); //! columns looking like functions + $row[$key] = (isset($val) ? (ereg('int|float|double|decimal|bit', $fields[$key]["type"]) ? $val : q($val)) : "NULL"); //! columns looking like functions } $s = implode(",\t", $row); if ($style == "INSERT+UPDATE") { diff --git a/changes.txt b/changes.txt index 641d4809..eb575bc0 100644 --- a/changes.txt +++ b/changes.txt @@ -7,6 +7,7 @@ Trim table and column names (bug #3405309) Error message with no response from server in AJAX Esc to cancel AJAX request Move AJAX loading indicator to the right +Don't quote bit type in export Ability to disable export (customization) MySQL: set autocommit after connect PostgreSQL: fix alter foreign key