pingcap / pingcap/tidb

Please print less warnings when the wanrings samed

Open
#33,548 1 comment 0 reactions 1 assignee Claimed by @fanrenhoo View on GitHub
severity/minor sig/execution type/bug
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

in tidb:
create table asd(t date);
insert into asd select '2022-01-01'; - mutil lines
select count(1) from asd where t > '2021-01-01;' - use a failed sql to select
show warnings; - warnings count equal to the number of data rows

image

image

in mysql - no warnings:

image

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.