pingcap / pingcap/tidb

memory cancelled query may end with executed sucess flag in slow log

Open
#65,931 1 comment 0 reactions 0 assignees View on GitHub
affects-8.5 severity/major sig/execution type/bug
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report

Please answer these questions before submitting your issue. Thanks!

### 1. Minimal reproduce step (Required)

mock code

![Image](https://github.com/user-attachments/assets/894258cb-b570-4526-ae38-f4cfbe63af7e)

and create table a table named as tai as above, insert 1 row, and select * from tai;

### 2. What did you expect to see? (Required)
slow log item: select * from tai should not be tagged as success

### 3. What did you see instead (Required)

![Image](https://github.com/user-attachments/assets/0cc0f353-d72f-4a71-a74c-853f0519261a)

Image

### 4. What is your TiDB version? (Required)

master

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.