mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-24 07:13:33 +03:00 
			
		
		
		
	Problem was a null pointer Fixed by passing correct database name to slave filtering mechanism Added test. sql/sql_parse.cc: Fix slave crash when issuing 'ALTER DATABASE' with specifying db name Don't pass null pointer to db_ok_with_wild_table()
		
			
				
	
	
		
			11 lines
		
	
	
		
			215 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			215 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| source include/master-slave.inc;
 | |
| connection master;
 | |
| use mysql; # to be different from initial `test' db of mysqltest client
 | |
| alter database collate latin1_bin;
 | |
| save_master_pos;
 | |
| 
 | |
| connection slave;
 | |
| sync_with_master;
 | |
| 
 | |
| 
 |