]> git.joonet.de Git - adminer.git/commitdiff
BIT data type
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Fri, 23 Apr 2010 23:52:05 +0000 (23:52 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Fri, 23 Apr 2010 23:52:05 +0000 (23:52 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1491 7c3ca157-0c34-0410-bff1-cbf682f78f5c

adminer/drivers/mysql.inc.php
todo.txt

index 16962f205b434eb9f5cb529ccdc7ce98609bd167..3c1c2bf55b3feed5f5afe6039c90ef53454b1341 100644 (file)
@@ -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;
index 9d7af527289e4193a04515404ebbc8e1a400cd50..437140a2a2f95de69135aedd69e7f69ddf14ecbc 100644 (file)
--- 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: