mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	 23145cfed7
			
		
	
	23145cfed7
	
	
	
		
			
			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
		
			
				
	
	
		
			32 lines
		
	
	
		
			968 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			968 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| drop table if exists t1;
 | |
| create table t1 (a char(10), tmsp timestamp);
 | |
| insert into t1 set a = 1;
 | |
| insert delayed into t1 set a = 2;
 | |
| insert into t1 set a = 3, tmsp=NULL;
 | |
| insert delayed into t1 set a = 4;
 | |
| insert delayed into t1 set a = 5, tmsp = 19711006010203;
 | |
| insert delayed into t1 (a, tmsp) values (6, 19711006010203);
 | |
| insert delayed into t1 (a, tmsp) values (7, NULL);
 | |
| insert into t1 set a = 8,tmsp=19711006010203;
 | |
| select * from t1 where tmsp=0;
 | |
| a	tmsp
 | |
| select * from t1 where tmsp=19711006010203;
 | |
| a	tmsp
 | |
| 5	1971-10-06 01:02:03
 | |
| 6	1971-10-06 01:02:03
 | |
| 8	1971-10-06 01:02:03
 | |
| drop table t1;
 | |
| create table t1 (a int not null auto_increment primary key, b char(10));
 | |
| insert delayed into t1 values (1,"b");
 | |
| insert delayed into t1 values (null,"c");
 | |
| insert delayed into t1 values (3,"d"),(null,"e");
 | |
| insert delayed into t1 values (3,"this will give an","error");
 | |
| ERROR 21S01: Column count doesn't match value count at row 1
 | |
| select * from t1;
 | |
| a	b
 | |
| 1	b
 | |
| 2	c
 | |
| 3	d
 | |
| 4	e
 | |
| drop table t1;
 |