pingcap/tidb

Compatible problem on `asin` with mysql

Open

#6.832 aberto em 13 de jun. de 2018

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)Go (6.186 forks)batch import
component/expressiongood first issuehelp wantedpriority/P4type/compatibility

Métricas do repositório

Stars
 (40.090 stars)
Métricas de merge de PR
 (Mesclagem média 14d 4h) (346 fundiu PRs em 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

Guia do colaborador