pingcap/tidb

Compatible problem on `asin` with mysql

Open

#6 832 ouverte le 13 juin 2018

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)Go (6 186 forks)batch import
component/expressiongood first issuehelp wantedpriority/P4type/compatibility

Métriques du dépôt

Stars
 (40 090 stars)
Métriques de merge PR
 (Merge moyen 14j 4h) (346 PRs mergées en 30 j)

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

Guide contributeur