mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.5 into 10.6
This commit is contained in:
committed by
Vladislav Vaintroub
commit
d9ffefdaac
@@ -181,3 +181,13 @@ ALTER TABLE mysql.innodb_table_stats FORCE, LOCK=NONE;
|
||||
ERROR 0A000: LOCK=NONE is not supported. Reason: innodb_table_stats. Try LOCK=SHARED
|
||||
ALTER TABLE mysql.innodb_index_stats FORCE, LOCK=NONE;
|
||||
ERROR 0A000: LOCK=NONE is not supported. Reason: innodb_index_stats. Try LOCK=SHARED
|
||||
#
|
||||
# MDEV-34474 InnoDB: Failing assertion: stat_n_leaf_pages > 0
|
||||
# in ha_innobase::estimate_rows_upper_bound
|
||||
#
|
||||
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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user