diff options
author | mkanat%bugzilla.org <> | 2007-12-11 08:26:48 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2007-12-11 08:26:48 +0000 |
commit | 961cc62c23185442870583a9e9f61c55a9548428 (patch) | |
tree | b3c424ea82b56e2d5641574a124bb8ea708bb7d2 /Bugzilla/DB/Schema/Mysql.pm | |
parent | Bug 362436: Allow to search for '---' in versions and milestones - Patch by m... (diff) | |
download | bugzilla-961cc62c23185442870583a9e9f61c55a9548428.tar.gz bugzilla-961cc62c23185442870583a9e9f61c55a9548428.tar.bz2 bugzilla-961cc62c23185442870583a9e9f61c55a9548428.zip |
Bug 153129: Bugzilla uses "mediumtext" as a DB data type when it's not necessary
Patch By Xiaoou Wu <xiaoou.wu@oracle.com> and Max Kanat-Alexander <mkanat@bugzilla.org> r=mkanat, a=mkanat
Diffstat (limited to 'Bugzilla/DB/Schema/Mysql.pm')
-rw-r--r-- | Bugzilla/DB/Schema/Mysql.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/DB/Schema/Mysql.pm b/Bugzilla/DB/Schema/Mysql.pm index c867dc0fc..300b1a0f1 100644 --- a/Bugzilla/DB/Schema/Mysql.pm +++ b/Bugzilla/DB/Schema/Mysql.pm @@ -81,6 +81,7 @@ use constant REVERSE_MAPPING => { SMALLINT => 'INT2', MEDIUMINT => 'INT3', INTEGER => 'INT4', + # All the other types have the same name in their abstract version # as in their db-specific version, so no reverse mapping is needed. }; @@ -111,7 +112,7 @@ sub _initialize { TINYTEXT => 'tinytext', MEDIUMTEXT => 'mediumtext', - TEXT => 'text', + LONGTEXT => 'mediumtext', LONGBLOB => 'longblob', |