mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Change type check to loose type checking for Sqlserver limit -1
This commit is contained in:
parent
853c0bdd48
commit
876a047a76
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ class Sqlserver extends DboSource {
|
|||
if (strpos($col, 'int') !== false) {
|
||||
return 'integer';
|
||||
}
|
||||
if (strpos($col, 'char') !== false && $limit === -1) {
|
||||
if (strpos($col, 'char') !== false && $limit == -1) {
|
||||
return 'text';
|
||||
}
|
||||
if (strpos($col, 'char') !== false) {
|
||||
|
|
Loading…
Reference in a new issue