-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
TiDB crashes when trying to run SHOW ERRORS statement #46962
Comments
/assign @elsa0520 |
Degrade this issue to Minor since the syntax is not correct.
|
Increase its severity since some customer is waiting for this. |
Same problem with query:
|
The mysql@8.0 behavior of
|
It currently appears that the result of So combined with the previous subquery, the result of
should be equivalent to
I will modify this issue based on this conclusion |
The panic reason
The code try to judge whether agg node is a partial node by agg function, but the agg function of
|
Bug Report
1. Minimal reproduce step (Required)
make
in the repo root directory../tidb-server -P 8000 -socket /tmp/mysql_0.sql -path $(pwd)/db_data
2. What did you expect to see? (Required)
The TiDB Server should continue running.
3. What did you see instead (Required)
The TiDB-server crashes and then returns error:
Here is a more detailed stack trace from the latest master version (1159bc8):
4. What is your TiDB version? (Required)
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| tidb_version() |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Release Version: v7.4.0-alpha-406-g1159bc8d88
Edition: Community
Git Commit Hash: 1159bc8
Git Branch: master
UTC Build Time: 2023-09-14 01:10:11
GoVersion: go1.21.0
Race Enabled: false
Check Table Before Drop: false
Store: unistore |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
The text was updated successfully, but these errors were encountered: