TiDB crashes when building query plan for INSERT
with subquery SELECT
#46083
Labels
affects-6.5
affects-7.1
severity/major
sig/planner
SIG: Planner
type/bug
The issue is confirmed as a bug.
Bug Report
1. Minimal reproduce step (Required)
6ab8a378342
, also tested with released version: v7.3.0(40b72e7a9a
).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 captured by
GDB
, from version: v7.3.0(40b72e7a9a
).4. What is your TiDB version? (Required)
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| tidb_version() |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Release Version: v7.3.0
Edition: Community
Git Commit Hash: 40b72e7
Git Branch: HEAD
UTC Build Time: 2023-08-14 16:03:07
GoVersion: go1.21.0
Race Enabled: false
Check Table Before Drop: false
Store: unistore |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
The text was updated successfully, but these errors were encountered: