Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/kohana/database
Browse files Browse the repository at this point in the history
  • Loading branch information
Woody Gilk committed Jun 8, 2010
2 parents 77facd6 + b0ca0de commit 8e79869
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions classes/kohana/database/mysql.php
Expand Up @@ -315,6 +315,13 @@ public function list_columns($table, $like = NULL)
list($column['numeric_precision'], $column['numeric_scale']) = explode(',', $length);
}
break;
case 'int':
if (isset($length))
{
// MySQL attribute
$column['display'] = $length;
}
break;
case 'string':
switch ($column['data_type'])
{
Expand Down

0 comments on commit 8e79869

Please sign in to comment.