1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-14377 innodb_zip.cmp_per_index failed in buildbot, result length mismatch

- If select query chooses the index 'b' over clustered index then the issue
can happen. Changed the test case to use primary index for the select
query.
This commit is contained in:
Thirunarayanan Balathandayuthapani
2018-04-18 13:52:30 +05:30
parent 341edddc3d
commit 66c14d3a8d
2 changed files with 14 additions and 9 deletions

View File

@ -98,9 +98,11 @@ ORDER BY 1, 2, 3;
-- source include/restart_mysqld.inc
SHOW CREATE TABLE t;
SET GLOBAL innodb_cmp_per_index_enabled=ON;
SELECT COUNT(*) FROM t;
SELECT COUNT(*) FROM t IGNORE INDEX(b);
SELECT
database_name,