mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	Assertion `inited==INDEX' failed in int handler::ha_index_first(uchar*) The crash was because errors from init_read_record_idx() was not taken care of.
		
			
				
	
	
		
			19 lines
		
	
	
		
			392 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			392 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
 | |
| --source include/have_log_bin.inc
 | |
| --source include/have_binlog_format_row.inc
 | |
| --source include/have_innodb.inc
 | |
| 
 | |
| START TRANSACTION WITH CONSISTENT SNAPSHOT;
 | |
| 
 | |
| --connect (con1,localhost,root,,test)
 | |
| CREATE TABLE IF NOT EXISTS t1 (pk INT PRIMARY KEY, i INT, KEY(i)) ENGINE=InnoDB;
 | |
| 
 | |
| --connection default
 | |
| --error 1412
 | |
| UPDATE t1 SET i = 0;
 | |
| --error 1412
 | |
| UPDATE t1 SET pk = 0;
 | |
| commit;
 | |
| 
 | |
| drop table t1;
 |