mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
#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:
parent
1f8dc8d656
commit
f6f393ae31
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue