[MDEV-31519] Impossible WHERE noticed after reading const tables is logged as not using index Created: 2023-06-21  Updated: 2023-06-30

Status: Open
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Marc Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

I have some queries which generate "Impossible WHERE noticed after reading const tables", which is perfectly good.
If log_queries_not_using_indexes=on
these queries are logged as well. But this is not "true". Sure no index is used, as the query returns before, but this should not be logged in the slow query log


Generated at Thu Feb 08 10:24:29 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.