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
		
			
				
	
	
		
			19 lines
		
	
	
		
			455 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			455 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
drop table if exists t1;
 | 
						|
SELECT 'A' || 'B';
 | 
						|
'A' || 'B'
 | 
						|
AB
 | 
						|
CREATE TABLE t1 (id INT, id2 int);
 | 
						|
SELECT id,NULL,1,1.1,'a' FROM t1 GROUP BY id;
 | 
						|
id	NULL	1	1.1	a
 | 
						|
SELECT id FROM t1 GROUP BY id2;
 | 
						|
ERROR 42000: 'test.t1.id' isn't in GROUP BY
 | 
						|
drop table t1;
 | 
						|
set sql_mode="MySQL40";
 | 
						|
select @@sql_mode;
 | 
						|
@@sql_mode
 | 
						|
NO_FIELD_OPTIONS,MYSQL40
 | 
						|
set sql_mode="ANSI";
 | 
						|
select @@sql_mode;
 | 
						|
@@sql_mode
 | 
						|
REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ONLY_FULL_GROUP_BY,ANSI
 |