1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-24 19:42:23 +03:00

MDEV-23600 Division by 0 in row_search_with_covering_prefix

The InnoDB index fields store bytes, not characters.
Remove some unnecessary conversions from characters to bytes.

This also fixes MDEV-20422 and the wrong-result bug MDEV-12486.
This commit is contained in:
Marko Mäkelä
2020-09-01 15:52:36 +03:00
parent feac078f15
commit 94e9dc95d4
10 changed files with 439 additions and 683 deletions

View File

@ -0,0 +1,5 @@
[covering]
innodb_prefix_index_cluster_optimization=on
[unoptimized]
innodb_prefix_index_cluster_optimization=off