qW7bo2FbzbC0 发表于 2026-7-17 09:35:14

现在生产真的有人上 8.0 了吗,谢谢楼主提出的问题,8.0 最新的小版本有没有修复?

GuryYu 发表于 2026-7-17 09:45:03

楼主用的什么版本的,1 楼贴的 Bug 看上去在 24 年的 8.0.41 修复了
---
Philip Olson
Posted by developer:

Fixed as of the upcoming MySQL Server 8.0.41, 8.4.4, and 9.2.0 releases, and here's the proposed changelog entry from the documentation team:

Queries with a descending primary key and index_merge optimization could
result in incorrect results, such as missing rows.

Thank you for the bug report.
Chaithra Marsur Gopala Reddy
Bug#112055 is marked as duplicate of this one.

Rache1 发表于 2026-7-17 10:43:43

@qW7bo2FbzbC0

8.0 第一个版本发布于 「 8 years ago (08 Apr 2018)」,还有啥不能用的
https://i.imgur.com/MAyk5GN.png


9.0 倒是新一点,第一个版本发布于「 2 years ago (07 Jun 2024)」,采用的或许会少一些。

xingzi10000 发表于 2026-7-17 10:45:21

好久没看到技术文章了,赞

qW7bo2FbzbC0 发表于 2026-7-17 10:50:16

@Rache1 #12 那挺好,你们还有新业务需要建新实例。

liangc230323 发表于 2026-7-17 10:52:25

@qW7bo2FbzbC0 现在难道不都是 8.x 吗?云厂商的主流版本吧

conglovely 发表于 2026-7-17 10:56:27

学习了,谢谢佬哥
https://i.imgur.com/agAJ0Rd.png

qW7bo2FbzbC0 发表于 2026-7-17 11:09:53

@liangc230323 #15 新建的实例肯定是 8.0 了

EmbraceNew 发表于 2026-7-17 11:20:32

看的很过瘾,AI 时代,还有这么高质量的踩坑并给出排查思路和方案的帖子,实属一股不可多得的清流

pengtao2001 发表于 2026-7-17 11:24:15

联合主键,真的有人这么做?
页: 1 [2] 3
查看完整版本: SQL 查不到数据,数据却明明存在——MySQL 降序主键与 index_merge intersect 的一次诡异排查