pingcap/tidb

Compatible problem on `asin` with mysql

Open

#6,832 opened on Jun 13, 2018

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Go (6,186 forks)batch import
component/expressiongood first issuehelp wantedpriority/P4type/compatibility

Repository metrics

Stars
 (40,090 stars)
PR merge metrics
 (Avg merge 14d 4h) (346 merged PRs in 30d)

Description

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provide a recipe for reproducing the error.

  2. What did you expect to see?

mysql> select asin(-0.999999999);
+---------------------+
| asin(-0.999999999)  |
+---------------------+
| -1.5707516054359754 |
+---------------------+
1 row in set (0.00 sec)
  1. What did you see instead?
mysql> select asin(-0.999999999);
+--------------------+
| asin(-0.999999999) |
+--------------------+
| -1.570751605435964 |
+--------------------+
1 row in set (0.00 sec)
  1. What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?

master branch commit message: 0ab1b228c0e14f4e62d9de93028183bb1df58125

Contributor guide