#19690852 Bug fix: CHAR and VARCHAR column size would never get updated (the comparison was between lowercase 'char' and 'varchar' and uppercase $type).

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8307 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
mosmartin 2011-04-13 14:51:41 +00:00
parent 1f8dc8d656
commit f6f393ae31

View file

@ -334,7 +334,7 @@
$query = sprintf ("alter class \"%s%s\" add \"%s\" ", $this->prefix, $table_name, $column_name);
if ($type == 'char' || $type == 'varchar') {
if ($type == 'CHAR' || $type == 'VARCHAR') {
if ($size) $size = $size * 3;
}