wrong result when comparing utf8 column with an invalid literal

Description

The test case shows that SELECT returns a row that doesn't match the WHERE condition. This only happens when the column is not indexed, if there's an index the result is correct (no rows found).

Environment

None

Assignee

Alexander Barkov

Reporter

Sergei Golubchik

Labels

None

Components

Fix versions

Affects versions

Priority

Blocker
Configure