mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fixing column lengths in DboMssql::describe(), fixes #3769
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6263 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
63bb042c9e
commit
e48e6a5e83
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ class DboMssql extends DboSource {
|
|||
'type' => $this->column($column[0]['Type']),
|
||||
'null' => (strtoupper($column[0]['Null']) == 'YES'),
|
||||
'default' => $column[0]['Default'],
|
||||
'length' => $this->length($column[0]['Type']),
|
||||
'length' => intval($column[0]['Length']),
|
||||
);
|
||||
}
|
||||
$this->__cacheDescription($this->fullTableName($model, false), $fields);
|
||||
|
|
Loading…
Add table
Reference in a new issue