[MDEV-8636] Different warnings with and without index on WHERE varchar_column='bad_byte_sequence' Created: 2015-08-17 Updated: 2015-10-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Character Sets |
| Affects Version/s: | 5.5, 10.0, 10.1 |
| Fix Version/s: | 10.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
If I run this script with a bad byte sequence (notice '��' is a valid 4-byte utf8mb4 character, but it's not a valid for 3-byte utf8):
it returns empty set with a warning:
Now if I drop the index and re-run the SELECT query:
it still returns empty set but without any warning. It should be fixed to produce the same warnings with and without indexes. |