"SELECT posts.UPPER(title) FROM posts
LIMIT 1" behavior difference between TiDB and MySQL
#46744
Labels
posts
LIMIT 1" behavior difference between TiDB and MySQL
#46744
This difference is found while running Ruby on Rails unit test https://github.com/rails/rails/blame/4986cfb26ed74d7532e27e5355d37a4e2d7f4321/activerecord/test/cases/relation/select_test.rb#L67-L69 against TiDB.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
posts
table and insert some recordsSELECT posts.UPPER(title) FROM
postsLIMIT 1;
2. What did you expect to see? (Required)
It should raise
ERROR 1305 (42000): FUNCTION posts.UPPER does not exist
as MySQL 8.1.0 does.3. What did you see instead (Required)
It returns this record.
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: