Change type check to loose type checking for Sqlserver limit -1

This commit is contained in:
Graham Weldon 2011-06-22 09:54:35 -07:00
parent 853c0bdd48
commit 876a047a76

View file

@ -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) {