mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-27 05:56:07 +03:00 
			
		
		
		
	Change of user interface to be more logical and more in line with expectations to work similar to old-style replication. User can now explicitly choose in CHANGE MASTER whether binlog position is taken into account (master_gtid_pos=current_pos) or not (master_gtid_pos= slave_pos) when slave connects to master. @@gtid_pos is replaced by three separate variables @@gtid_slave_pos (can be set by user, replicated GTIDs only), @@gtid_binlog_pos (read only), and @@gtid_current_pos (a combination of the two, most recent GTID within each domain). mysql.rpl_slave_state is renamed to mysql.gtid_slave_pos to match. This fixes MDEV-4474.
		
			
				
	
	
		
			10 lines
		
	
	
		
			348 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			348 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| SET GLOBAL gtid_binlog_pos= '';
 | |
| ERROR HY000: Variable 'gtid_binlog_pos' is a read only variable
 | |
| SELECT variable_name FROM information_schema.global_variables
 | |
| WHERE variable_name='gtid_binlog_pos';
 | |
| variable_name
 | |
| GTID_BINLOG_POS
 | |
| SELECT @@gtid_binlog_pos;
 | |
| SELECT @@session.gtid_binlog_pos;
 | |
| ERROR HY000: Variable 'gtid_binlog_pos' is a GLOBAL variable
 |