使用下面命令部署数据库
docker pull oceanbase/oceanbase-ce:4.3.5-lts
docker run -p 2881:2881 --name oceanbase-ce -d oceanbase/oceanbase-ce:4.3.5-lts
mysql -h127.0.0.1 -P12881 -uroot@test # Connect with the root account of a general tenant
运行下面的测试用例,其中查询语句返回了不正确的结果
CREATE TABLE t1 (c1 SMALLINT);
INSERT INTO t1 VALUES (48);
SELECT DEGREES(c1) DIV LOG(c1) / c1 FROM t1; -- actual:{0.1880}, expected:{14.7917}