diff --git a/adminer/drivers/mysql.inc.php b/adminer/drivers/mysql.inc.php index 16962f20..3c1c2bf5 100644 --- a/adminer/drivers/mysql.inc.php +++ b/adminer/drivers/mysql.inc.php @@ -759,7 +759,7 @@ if (!defined("DRIVER")) { lang('Numbers') => array("tinyint" => 3, "smallint" => 5, "mediumint" => 8, "int" => 10, "bigint" => 20, "decimal" => 66, "float" => 12, "double" => 21), lang('Date and time') => array("date" => 10, "datetime" => 19, "timestamp" => 19, "time" => 10, "year" => 4), lang('Strings') => array("char" => 255, "varchar" => 65535, "tinytext" => 255, "text" => 65535, "mediumtext" => 16777215, "longtext" => 4294967295), - lang('Binary') => array("binary" => 255, "varbinary" => 65535, "tinyblob" => 255, "blob" => 65535, "mediumblob" => 16777215, "longblob" => 4294967295), + lang('Binary') => array("bit" => 20, "binary" => 255, "varbinary" => 65535, "tinyblob" => 255, "blob" => 65535, "mediumblob" => 16777215, "longblob" => 4294967295), lang('Lists') => array("enum" => 65535, "set" => 64), ) as $key => $val) { $types += $val; diff --git a/todo.txt b/todo.txt index 9d7af527..437140a2 100644 --- a/todo.txt +++ b/todo.txt @@ -1,7 +1,6 @@ Transactions in export Create view and routine options Variables editation, especially timezone -Optionally check IP address Disable spell checking in SQL textareas - spellcheck="false" Accept Tab in SQL textareas, Ctrl+Enter to send form Highlight SQL textarea, then display query inside textarea in select - may use external CodePress @@ -21,9 +20,10 @@ JavaScript data validation - columns containing word email, url, ... Joining tables - PRIMARY KEY (table, joining) Rank, Tree structure Add whisperer to fields with foreign key to big table +In-place editation of foreign keys and date MySQL: -MySQL 5 BIT data type +Saving of MySQL 5 BIT data type - don't use quote() ? Geometry support SQLite: