integer length 1 is not only used for boolean values
This commit is contained in:
parent
82f0bcce30
commit
d44f457d2d
1 changed files with 1 additions and 4 deletions
|
@ -138,10 +138,7 @@ class OC_DB_MDB2SchemaReader {
|
|||
}
|
||||
if ($type == 'integer') {
|
||||
$length = $options['length'];
|
||||
if ($length == 1) {
|
||||
$type = 'boolean';
|
||||
}
|
||||
else if ($length < 4) {
|
||||
if ($length < 4) {
|
||||
$type = 'smallint';
|
||||
}
|
||||
else if ($length > 4) {
|
||||
|
|
Loading…
Reference in a new issue