runtime error: slice bounds out of range when exec prepared statement with leading newline #54283
Labels
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.1
This bug affects the 8.1.x(LTS) versions.
component/tablepartition
This issue is related to Table Partition of TiDB.
impact/panic
severity/major
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Run below sql
2. What did you expect to see? (Required)
Prepared statement with leading newline to create partition table should succeed.
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
Release Version: v8.2.0-alpha
Edition: Community
Git Commit Hash: 1469fcf
Git Branch: heads/refs/tags/v8.2.0-alpha
UTC Build Time: 2024-06-26 11:46:38
GoVersion: go1.21.10
Race Enabled: false
Check Table Before Drop: false
The text was updated successfully, but these errors were encountered: