1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Merge 10.5 into 10.6

This commit is contained in:
Thirunarayanan Balathandayuthapani
2024-07-10 14:57:28 +05:30
committed by Vladislav Vaintroub
3 changed files with 43 additions and 9 deletions

View File

@ -104,3 +104,15 @@ DROP TABLE t1;
ALTER TABLE mysql.innodb_table_stats FORCE, LOCK=NONE;
--error ER_ALTER_OPERATION_NOT_SUPPORTED_REASON
ALTER TABLE mysql.innodb_index_stats FORCE, LOCK=NONE;
--echo #
--echo # MDEV-34474 InnoDB: Failing assertion: stat_n_leaf_pages > 0
--echo # in ha_innobase::estimate_rows_upper_bound
--echo #
CREATE TABLE t (c1 INT,c2 INT,
INDEX(c1))STATS_PERSISTENT=1 ENGINE=INNODB;
UPDATE mysql.innodb_index_stats SET stat_value=0 WHERE database_name like "test" and table_name like 't';
UPDATE mysql.innodb_table_stats SET clustered_index_size= 0, sum_of_other_index_sizes=0 WHERE database_name like "test" and table_name like 't';
UPDATE t SET c1=+1 ORDER BY c2;
DROP TABLE t;