From 25f85906b667429b3cd306fc8ddd375257811e25 Mon Sep 17 00:00:00 2001 From: Jenny Tam Date: Wed, 2 May 2018 12:33:52 -0700 Subject: [PATCH] Removed the workaround in a decimal test because issue 706 has been fixed --- .../pdo_ae_insert_pdoparam_decimal_precision.phpt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/test/functional/pdo_sqlsrv/pdo_ae_insert_pdoparam_decimal_precision.phpt b/test/functional/pdo_sqlsrv/pdo_ae_insert_pdoparam_decimal_precision.phpt index 4295c0c2..b179568b 100644 --- a/test/functional/pdo_sqlsrv/pdo_ae_insert_pdoparam_decimal_precision.phpt +++ b/test/functional/pdo_sqlsrv/pdo_ae_insert_pdoparam_decimal_precision.phpt @@ -111,15 +111,7 @@ try { $row = $stmt->fetch(PDO::FETCH_ASSOC); if (abs($row['c_det'] - $inputValues[0]) > $epsilon || abs($row['c_rand'] - $inputValues[1]) > $epsilon) { - // TODO: this is a workaround for the test to pass!!!!! - // 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"; - } + echo "Conversion from $pdoParamType to $typeFull causes data corruption\n"; } else { echo "****Conversion from $pdoParamType to $typeFull is supported****\n"; }