mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-25 18:38:00 +03:00 
			
		
		
		
	 315819fed0
			
		
	
	315819fed0
	
	
	
		
			
			The problem happened because those tests were using "cp932" and "ucs2" without checking whether these character sets are available. This fix moves test parts to make character set specific parts be tested only if they are: - some parts were moved to "ctype_ucs.test" and "ctype_cp932.test" - some parts were moved to the newly added tests "innodb-ucs2.test", "mysqlbinglog-cp932.test" and "sp-ucs2.test"
		
			
				
	
	
		
			29 lines
		
	
	
		
			469 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			469 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| -- source include/have_ucs2.inc
 | |
| 
 | |
| delimiter |;
 | |
| 
 | |
| #
 | |
| # BUG#17615: problem with character set
 | |
| #
 | |
| --disable_warnings
 | |
| drop function if exists bug17615|
 | |
| --enable_warnings
 | |
| 
 | |
| create table t3 (a varchar(256) unicode)|
 | |
| 
 | |
| create function bug17615() returns varchar(256) unicode
 | |
| begin
 | |
|   declare tmp_res varchar(256) unicode;
 | |
|   set tmp_res= 'foo string';
 | |
|   return tmp_res;
 | |
| end|
 | |
| 
 | |
| insert into t3 values(bug17615())|
 | |
| select * from t3|
 | |
| 
 | |
| drop function bug17615|
 | |
| drop table t3|
 | |
| 
 | |
| 
 | |
| delimiter ;|
 |