Skip to content

[FATAL] [lib.rs:478] ["range end index 4 out of range for slice of length 3"] #56494

@sayJason

Description

@sayJason

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

CREATE TABLE t1 (c1 bit(24));
INSERT IGNORE t1 (c1) VALUES (b'100011111100001110010100001000000101000011011100000011010001110');
SELECT c1 FROM t1 WHERE FALSE NOT LIKE CONVERT(c1, CHAR);

2. What did you expect to see? (Required)

Execute without crash

3. What did you see instead (Required)

Crash down the server

4. What is your TiDB version? (Required)

Release Version: v8.3.0
Edition: Community
Git Commit Hash: 1a0c3ac
Git Branch: HEAD
UTC Build Time: 2024-08-20 10:13:01
GoVersion: go1.21.10
Race Enabled: false
Check Table Before Drop: false
Store: tikv

Metadata

Metadata

Assignees

Labels

affects-6.5This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.impact/crashcrash/fatalseverity/majorsig/sql-infraSIG: SQL Infratype/bugThe issue is confirmed as a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions