mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 20:36:16 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			298 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			298 B
		
	
	
	
		
			Text
		
	
	
	
	
	
#
 | 
						|
# BUG#15101 restore aliasing of SYSDATE to NOW in 5.0
 | 
						|
# this feature is activated via --sysdate-is-now mysqld init opt
 | 
						|
#
 | 
						|
# To test here
 | 
						|
# 1. SYSDATE() does not distinguish from NOW()
 | 
						|
# 2. SYSDATE() obeys set timestamp
 | 
						|
 | 
						|
set timestamp=1;
 | 
						|
SELECT sleep(1),NOW()-SYSDATE() as zero;
 | 
						|
# End of 5.0 tests
 |