mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 16:17:48 +02:00
Don't quote bit type in export
This commit is contained in:
committed by
Jakub Vrana
parent
9fd2880968
commit
41e197ac06
@@ -659,7 +659,7 @@ DROP PROCEDURE adminer_alter;
|
|||||||
$insert = "INSERT INTO " . table($table) . " (" . implode(", ", array_map('idf_escape', array_keys($row))) . ") VALUES";
|
$insert = "INSERT INTO " . table($table) . " (" . implode(", ", array_map('idf_escape', array_keys($row))) . ") VALUES";
|
||||||
}
|
}
|
||||||
foreach ($row as $key => $val) {
|
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);
|
$s = implode(",\t", $row);
|
||||||
if ($style == "INSERT+UPDATE") {
|
if ($style == "INSERT+UPDATE") {
|
||||||
|
@@ -7,6 +7,7 @@ Trim table and column names (bug #3405309)
|
|||||||
Error message with no response from server in AJAX
|
Error message with no response from server in AJAX
|
||||||
Esc to cancel AJAX request
|
Esc to cancel AJAX request
|
||||||
Move AJAX loading indicator to the right
|
Move AJAX loading indicator to the right
|
||||||
|
Don't quote bit type in export
|
||||||
Ability to disable export (customization)
|
Ability to disable export (customization)
|
||||||
MySQL: set autocommit after connect
|
MySQL: set autocommit after connect
|
||||||
PostgreSQL: fix alter foreign key
|
PostgreSQL: fix alter foreign key
|
||||||
|
Reference in New Issue
Block a user