pingcap/tidb

Compatible problem on `asin` with mysql

Open

#6832 aperta il 13 giu 2018

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Go (6186 fork)batch import
component/expressiongood first issuehelp wantedpriority/P4type/compatibility

Metriche repository

Star
 (40.090 star)
Metriche merge PR
 (Merge medio 14g 4h) (346 PR mergiate in 30 g)

Descrizione

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

Guida contributor