mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	For running the Galera tests, the variable my_disable_leak_check
was set to true in order to avoid assertions due to memory leaks
at shutdown.
Some adjustments due to MDEV-13625 (merge InnoDB tests from MySQL 5.6)
were performed. The most notable behaviour changes from 10.0 and 10.1
are the following:
* innodb.innodb-table-online: adjustments for the DROP COLUMN
behaviour change (MDEV-11114, MDEV-13613)
* innodb.innodb-index-online-fk: the removal of a (1,NULL) record
from the result; originally removed in MySQL 5.7 in the
Oracle Bug #16244691 fix
377774689b
* innodb.create-index-debug: disabled due to MDEV-13680
(the MySQL Bug #77497 fix was not merged from 5.6 to 5.7.10)
* innodb.innodb-alter-autoinc: MariaDB 10.2 behaves like MySQL 5.6/5.7,
while MariaDB 10.0 and 10.1 assign different values when
auto_increment_increment or auto_increment_offset are used.
Also MySQL 5.6/5.7 exhibit different behaviour between
LGORITHM=INPLACE and ALGORITHM=COPY, so something needs to be tested
and fixed in both MariaDB 10.0 and 10.2.
* innodb.innodb-wl5980-alter: disabled because it would trigger an
InnoDB assertion failure (MDEV-13668 may need additional effort in 10.2)
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			748 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			748 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| connect  con1,localhost,root,,;
 | |
| connection default;
 | |
| CREATE TABLE t (a INT PRIMARY KEY, b INT NOT NULL) ENGINE=InnoDB;
 | |
| INSERT INTO t VALUES(1,2),(2,3);
 | |
| SET DEBUG_SYNC='alter_table_inplace_after_lock_downgrade SIGNAL do WAIT_FOR m';
 | |
| SET DEBUG_SYNC='innodb_after_inplace_alter_table SIGNAL scanned WAIT_FOR done';
 | |
| CREATE INDEX tb ON t(b);
 | |
| connection con1;
 | |
| SET DEBUG_SYNC='now WAIT_FOR do';
 | |
| SET DEBUG_SYNC='row_update_for_mysql_error SIGNAL m WAIT_FOR scanned';
 | |
| UPDATE t SET a=2 WHERE a=1;
 | |
| ERROR 23000: Duplicate entry '2' for key 'PRIMARY'
 | |
| call mtr.add_suppression('InnoDB: record in index .*tb was not found on rollback, trying to insert');
 | |
| SET DEBUG_SYNC='now SIGNAL done';
 | |
| disconnect con1;
 | |
| connection default;
 | |
| SET DEBUG_SYNC='RESET';
 | |
| DROP TABLE t;
 |