mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	- Show a line with "Engine-independent statistics collected" when ANALYZE command caused EITS statistics to be recollected.
		
			
				
	
	
		
			14 lines
		
	
	
		
			453 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			453 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| #
 | |
| # Bug mdev-3866: valgrind complain from ANALYZE on a table with BIT field
 | |
| # 
 | |
| SET use_stat_tables = 'preferably';
 | |
| CREATE TABLE t1 (pk int PRIMARY KEY, a bit(1), INDEX idx(a)
 | |
| ) ENGINE=MyISAM PARTITION BY KEY(pk) PARTITIONS 2;
 | |
| INSERT INTO t1 VALUES (1,1),(2,0),(3,0),(4,1);
 | |
| ANALYZE TABLE t1;
 | |
| Table	Op	Msg_type	Msg_text
 | |
| test.t1	analyze	status	Engine-independent statistics collected
 | |
| test.t1	analyze	status	OK
 | |
| SET use_stat_tables = DEFAULT;
 | |
| DROP TABLE t1;
 |