Skip to content

Commit 8e1cf07

Browse files
MDEV-35363 Avoid cloning of table statistics while saving the InnoDB table stats
- Remove the test case added as a part of the commit 98d5771 (MDEV-32667)
1 parent b8f48d0 commit 8e1cf07

File tree

2 files changed

+0
-29
lines changed

2 files changed

+0
-29
lines changed

mysql-test/suite/innodb/r/stat_tables.result

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,6 @@ drop table t1;
1414
rename table mysql.table_stats_save to mysql.table_stats;
1515
flush tables;
1616
#
17-
# MDEV-32667 dict_stats_save_index_stat() reads uninitialized
18-
# index->stats_error_printed
19-
#
20-
call mtr.add_suppression("InnoDB: Cannot save index statistics for table");
21-
CREATE TABLE t1(a INT) ENGINE=InnoDB STATS_PERSISTENT=1 STATS_AUTO_RECALC=1;
22-
BEGIN;
23-
SELECT COUNT(*)>=0 FROM mysql.innodb_index_stats LOCK IN SHARE MODE;
24-
COUNT(*)>=0
25-
1
26-
INSERT INTO t1 VALUES(0),(0);
27-
SELECT sleep(1);
28-
sleep(1)
29-
0
30-
COMMIT;
31-
DROP TABLE t1;
32-
#
3317
# MDEV-26753 Assertion state == TRX_STATE_PREPARED ||... failed
3418
#
3519
CREATE TABLE t1(a INT PRIMARY KEY) ENGINE=InnoDB;

mysql-test/suite/innodb/t/stat_tables.test

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,6 @@ drop table t1;
1616
rename table mysql.table_stats_save to mysql.table_stats;
1717
flush tables;
1818

19-
--echo #
20-
--echo # MDEV-32667 dict_stats_save_index_stat() reads uninitialized
21-
--echo # index->stats_error_printed
22-
--echo #
23-
call mtr.add_suppression("InnoDB: Cannot save index statistics for table");
24-
CREATE TABLE t1(a INT) ENGINE=InnoDB STATS_PERSISTENT=1 STATS_AUTO_RECALC=1;
25-
BEGIN;
26-
SELECT COUNT(*)>=0 FROM mysql.innodb_index_stats LOCK IN SHARE MODE;
27-
INSERT INTO t1 VALUES(0),(0);
28-
SELECT sleep(1);
29-
COMMIT;
30-
DROP TABLE t1;
31-
3219
--echo #
3320
--echo # MDEV-26753 Assertion state == TRX_STATE_PREPARED ||... failed
3421
--echo #

0 commit comments

Comments
 (0)