Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 1.2.1
-
Fix Version/s: 1.2.2
-
Component/s: None
-
Labels:None
Description
grep -rn 'lenght' Doctrine/*
Doctrine/DataDict/Oracle.php:197: $lenght = 3;
MEDIUMINT error
} elseif ( ! is_null($length) && (int)$length <= 3) { // TINYINT
$length = 1;
} elseif ( ! is_null($length) && (int)$length <= 5) { // SMALLINT
$length = 2;
} elseif ( ! is_null($length) && (int)$length <= 8) { // MEDIUMINT
$lenght = 3;
} elseif ( ! is_null($length) && (int)$length <= 10) { // INT
$length = 4;
} elseif ( ! is_null($length) && (int)$length <= 20) { //BIGINT
$length = 8;
}
Thanks for the issue and patch. For future reference, it is easier if you provide a patch produced by svn. Thanks again, Jon!