mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	This test case uses mysqlbinlog to dump the content of master-bin.000001, but the content of master-bin.000001 is not that this test needs. MTR runs a lot of test cases on one server, so when this test starts, the current binlog file might not be master-bin.000001, or there are other events are written by tests before. 'RESET MASTER' command must be called at the begin, it ensures that binlog of this test is wrote to master-bin.000001 correctly. Three other tests have the same problem, They were fixed together. mysqlbinlog-cp932 binlog_incident binlog_tmp_table
		
			
				
	
	
		
			20 lines
		
	
	
		
			344 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			344 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| RESET MASTER;
 | |
| create table t3 (f text character set utf8);
 | |
| create table t4 (f text character set cp932);
 | |
| flush logs;
 | |
| rename table t3 to t03, t4 to t04;
 | |
| select HEX(f) from t03;
 | |
| HEX(f)
 | |
| E382BD
 | |
| select HEX(f) from t3;
 | |
| HEX(f)
 | |
| E382BD
 | |
| select HEX(f) from t04;
 | |
| HEX(f)
 | |
| 835C
 | |
| select HEX(f) from t4;
 | |
| HEX(f)
 | |
| 835C
 | |
| drop table t3, t4, t03, t04;
 | |
| End of 5.0 tests
 |