column type popularity

This commit is contained in:
Marc Delisle
2002-04-15 13:13:30 +00:00
parent 9148f4c95d
commit 3ad0eac00f
2 changed files with 9 additions and 4 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2002-04-15 Marc Delisle <lem9@users.sourceforge.net>
* config.inc.php3: put the most popular column types first in the list,
(Feature #544066)
2002-04-14 Alexander M. Turek <rabus@users.sourceforge.net> 2002-04-14 Alexander M. Turek <rabus@users.sourceforge.net>
* Documentation.*: Added some notes about MySQL 4. * Documentation.*: Added some notes about MySQL 4.
* db_details.php3, tbl_change.php3, tbl_properties.php3, * db_details.php3, tbl_change.php3, tbl_properties.php3,

View File

@@ -207,9 +207,13 @@ $cfgRepeatCells = 100; // repeat header names every X cells? (0
/** /**
* MySQL settings * MySQL settings
*/ */
// Column types // Column types;
// varchar, tinyint, text and date are listed first, based on estimated popularity
$cfgColumnTypes = array( $cfgColumnTypes = array(
'VARCHAR',
'TINYINT', 'TINYINT',
'TEXT',
'DATE',
'SMALLINT', 'SMALLINT',
'MEDIUMINT', 'MEDIUMINT',
'INT', 'INT',
@@ -217,16 +221,13 @@ $cfgColumnTypes = array(
'FLOAT', 'FLOAT',
'DOUBLE', 'DOUBLE',
'DECIMAL', 'DECIMAL',
'DATE',
'DATETIME', 'DATETIME',
'TIMESTAMP', 'TIMESTAMP',
'TIME', 'TIME',
'YEAR', 'YEAR',
'CHAR', 'CHAR',
'VARCHAR',
'TINYBLOB', 'TINYBLOB',
'TINYTEXT', 'TINYTEXT',
'TEXT',
'BLOB', 'BLOB',
'MEDIUMBLOB', 'MEDIUMBLOB',
'MEDIUMTEXT', 'MEDIUMTEXT',