Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lost connection when using builtin function #13044

Closed
you06 opened this issue Oct 31, 2019 · 0 comments · Fixed by #13064
Closed

Lost connection when using builtin function #13044

you06 opened this issue Oct 31, 2019 · 0 comments · Fixed by #13064
Labels
component/expression good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. type/bug The issue is confirmed as a bug.

Comments

@you06
Copy link
Contributor

you06 commented Oct 31, 2019

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
mysql> select truncate(json_array(), 1);
ERROR 2013 (HY000): Lost connection to MySQL server during query
  1. What did you expect to see?

Return a value or an error.

  1. What did you see instead?

Go routine panic and lost connect.

  1. What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?
Release Version: v4.0.0-alpha-663-g7b27cfb60
Git Commit Hash: 7b27cfb60ffd8d26dad9d176edc8a386769ee4b6
Git Branch: master
UTC Build Time: 2019-10-30 12:10:27
GoVersion: go version go1.13 linux/amd64
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false
@you06 you06 added the type/bug The issue is confirmed as a bug. label Oct 31, 2019
@SunRunAway SunRunAway added component/expression help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. labels Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/expression good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants