diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-09-01 15:52:36 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-09-01 15:52:36 +0300 |
commit | 94e9dc95d4bebf711f001e16bbb53fd8d6a58b8c (patch) | |
tree | 2487054f48f60fbdb31ba7ce6308dfd32bd6b573 /mysql-test/include | |
parent | feac078f15c0be6c0592d74d20cb65b8f5ad2f85 (diff) | |
download | mariadb-git-94e9dc95d4bebf711f001e16bbb53fd8d6a58b8c.tar.gz |
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.
Diffstat (limited to 'mysql-test/include')
-rw-r--r-- | mysql-test/include/innodb_prefix_index_cluster_optimization.combinations | 5 | ||||
-rw-r--r-- | mysql-test/include/innodb_prefix_index_cluster_optimization.inc | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/include/innodb_prefix_index_cluster_optimization.combinations b/mysql-test/include/innodb_prefix_index_cluster_optimization.combinations new file mode 100644 index 00000000000..ad82f82aa9d --- /dev/null +++ b/mysql-test/include/innodb_prefix_index_cluster_optimization.combinations @@ -0,0 +1,5 @@ +[covering] +innodb_prefix_index_cluster_optimization=on + +[unoptimized] +innodb_prefix_index_cluster_optimization=off diff --git a/mysql-test/include/innodb_prefix_index_cluster_optimization.inc b/mysql-test/include/innodb_prefix_index_cluster_optimization.inc new file mode 100644 index 00000000000..c841fece702 --- /dev/null +++ b/mysql-test/include/innodb_prefix_index_cluster_optimization.inc @@ -0,0 +1 @@ +--source include/have_innodb.inc |