Details
Description
Test case from Monty:
--source include/have_sequence.inc
|
CREATE TABLE t (a INT, b VARCHAR(128)); |
INSERT INTO t SELECT seq, CONCAT('s',seq) FROM seq_1_to_100; |
--connect (con1,localhost,root,,)
|
--send ALTER TABLE t MODIFY b BLOB
|
--connection default
|
ANALYZE TABLE t PERSISTENT FOR ALL; |
--connection con1
|
--reap
|
ANALYZE TABLE t PERSISTENT FOR ALL; |
--connection default
|
--disconnect con1
|
select db_name,table_name,column_name from mysql.column_stats; |
drop table t; |
10.4 900c4d69 |
select db_name,table_name,column_name from mysql.column_stats; |
db_name table_name column_name
|
test t a
|
test t b
|
The column b shouldn't be there, as the statistics aren't collected for blobs.
Attachments
Issue Links
- relates to
-
MDEV-30983 ALTER TABLE times out, but does not roll back the operation
- Closed
-
MDEV-29693 ANALYZE TABLE still flushes table definition cache when engine-independent statistics is used
- Closed