-
Deepa Dixit authored
(CONTRIBUTION) Issue: ------ MTR tests written to test GIS functions fail with a result content mismatch on some platforms due to difference in precision. These have been corrected using the mysqltest function --replace_regex till now. This requires a complex regular expression to replace the result with a lower precision. Fix: ---- For ease of use, a new mysqltest command 'replace_numberic_round' has been introduced to round off numeric values. The usage is as follows: --replace_numberic_round <precision> where precision is the number of digits after the decimal that the result will be rounded off to. The precision can be any number between 0 to 16. Patch contributed by: Daniel Black Reviewed-by:
Pavan Naik <pavan.naik@oracle.com> Reviewed-by:
Srikanth BR <srikanth.b.r@oracle.com> RB: 14633
Deepa Dixit authored(CONTRIBUTION) Issue: ------ MTR tests written to test GIS functions fail with a result content mismatch on some platforms due to difference in precision. These have been corrected using the mysqltest function --replace_regex till now. This requires a complex regular expression to replace the result with a lower precision. Fix: ---- For ease of use, a new mysqltest command 'replace_numberic_round' has been introduced to round off numeric values. The usage is as follows: --replace_numberic_round <precision> where precision is the number of digits after the decimal that the result will be rounded off to. The precision can be any number between 0 to 16. Patch contributed by: Daniel Black Reviewed-by:
Pavan Naik <pavan.naik@oracle.com> Reviewed-by:
Srikanth BR <srikanth.b.r@oracle.com> RB: 14633
Loading