【TiDB Usage Environment】Production Environment
【TiDB Version】v7.0.0
【Reproduction Path】Large statement execution
【Encountered Issue: Memory Overflow】
【Resource Configuration】Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
【Attachments: Screenshots/Logs/Monitoring】
Check the logs, it shows 8001. But the client always receives 1105 (unknown).
TiDB follows MySQL’s error code rules, categorizing its own error codes into MySQL’s standard error codes where possible, and those that can’t be categorized are placed under unknown. TiDB itself hasn’t extended these error codes, possibly considering client compatibility issues?