mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 09:04:02 +02:00
Ability to delete blob (Editor)
This commit is contained in:
@@ -387,7 +387,11 @@ ORDER BY ORDINAL_POSITION", null, "") as $row) { //! requires MySQL 5
|
|||||||
}
|
}
|
||||||
|
|
||||||
function editFunctions($field) {
|
function editFunctions($field) {
|
||||||
$return = array("" => ($field["null"] || $field["auto_increment"] || $field["full_type"] == "tinyint(1)" ? "" : "*"));
|
$return = array();
|
||||||
|
if ($field["null"] && ereg('blob', $field["type"])) {
|
||||||
|
$return["NULL"] = lang('empty');
|
||||||
|
}
|
||||||
|
$return[""] = ($field["null"] || $field["auto_increment"] || $field["full_type"] == "tinyint(1)" ? "" : "*");
|
||||||
//! respect driver
|
//! respect driver
|
||||||
if (ereg('date|time', $field["type"])) {
|
if (ereg('date|time', $field["type"])) {
|
||||||
$return["now"] = lang('now');
|
$return["now"] = lang('now');
|
||||||
|
Reference in New Issue
Block a user