Removed the workaround in a decimal test because issue 706 has been fixed
This commit is contained in:
parent
5f555dfea2
commit
25f85906b6
|
@ -111,15 +111,7 @@ try {
|
||||||
$row = $stmt->fetch(PDO::FETCH_ASSOC);
|
$row = $stmt->fetch(PDO::FETCH_ASSOC);
|
||||||
if (abs($row['c_det'] - $inputValues[0]) > $epsilon ||
|
if (abs($row['c_det'] - $inputValues[0]) > $epsilon ||
|
||||||
abs($row['c_rand'] - $inputValues[1]) > $epsilon) {
|
abs($row['c_rand'] - $inputValues[1]) > $epsilon) {
|
||||||
// TODO: this is a workaround for the test to pass!!!!!
|
echo "Conversion from $pdoParamType to $typeFull causes data corruption\n";
|
||||||
// with AE, doubles cannot be inserted into a decimal(38, 38) column
|
|
||||||
// remove the following if block to see the bug
|
|
||||||
// for more information see VSO task 2723
|
|
||||||
if (isAEConnected() && $m1 == 38 && $m2 == 38) {
|
|
||||||
echo "****Conversion from $pdoParamType to $typeFull is supported****\n";
|
|
||||||
} else {
|
|
||||||
echo "Conversion from $pdoParamType to $typeFull causes data corruption\n";
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
echo "****Conversion from $pdoParamType to $typeFull is supported****\n";
|
echo "****Conversion from $pdoParamType to $typeFull is supported****\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue