mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	 23145cfed7
			
		
	
	23145cfed7
	
	
	
		
			
			bmove_allign -> bmove_align Added OLAP function ROLLUP Split mysql_fix_privilege_tables to a script and a .sql data file Added new (MEMROOT*) functions to avoid calling current_thd() when creating some common objects. Added table_alias_charset, for easier --lower-case-table-name handling Better SQL_MODE handling (Setting complex options also sets sub options) New (faster) assembler string functions for x86
		
			
				
	
	
		
			32 lines
		
	
	
		
			594 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			594 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| drop table if exists t1,t2;
 | |
| create table t1 (id integer, x integer) type=BDB;
 | |
| create table t2 (id integer, x integer) type=BDB;
 | |
| insert into t1 values(0, 0);
 | |
| insert into t2 values(0, 0);
 | |
| set autocommit=0;
 | |
| update t1 set x = 1 where id = 0;
 | |
| set autocommit=0;
 | |
| update t2 set x = 1 where id = 0;
 | |
| select x from t1 where id = 0;
 | |
| select x from t2 where id = 0;
 | |
| ERROR 40001: Deadlock found when trying to get lock; Try restarting transaction
 | |
| commit;
 | |
| x
 | |
| 1
 | |
| commit;
 | |
| select * from t1;
 | |
| id	x
 | |
| 0	1
 | |
| select * from t2;
 | |
| id	x
 | |
| 0	1
 | |
| commit;
 | |
| select * from t1;
 | |
| id	x
 | |
| 0	1
 | |
| select * from t2;
 | |
| id	x
 | |
| 0	1
 | |
| commit;
 | |
| drop table t1,t2;
 |