mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	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
		
			
				
	
	
		
			25 lines
		
	
	
		
			417 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			417 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
#
 | 
						|
# Test of ansi mode
 | 
						|
#
 | 
						|
 | 
						|
--disable_warnings
 | 
						|
drop table if exists t1;
 | 
						|
--enable_warnings
 | 
						|
 | 
						|
# Test some functions that works different in ansi mode
 | 
						|
 | 
						|
SELECT 'A' || 'B';
 | 
						|
 | 
						|
# Test GROUP BY behaviour
 | 
						|
 | 
						|
CREATE TABLE t1 (id INT, id2 int);
 | 
						|
SELECT id,NULL,1,1.1,'a' FROM t1 GROUP BY id;
 | 
						|
--error 1055
 | 
						|
SELECT id FROM t1 GROUP BY id2;
 | 
						|
drop table t1;
 | 
						|
 | 
						|
set sql_mode="MySQL40";
 | 
						|
select @@sql_mode;
 | 
						|
set sql_mode="ANSI";
 | 
						|
select @@sql_mode;
 |