初版
This commit is contained in:
11
build/lib/mysql/mysql-test/t/sysdate_is_now.test
Normal file
11
build/lib/mysql/mysql-test/t/sysdate_is_now.test
Normal file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# 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 distiguish from NOW()
|
||||
# 2. SYSDATE() obeys set timestamp
|
||||
|
||||
set timestamp=1;
|
||||
SELECT sleep(1),NOW()-SYSDATE() as zero;
|
||||
# End of 5.0 tests
|
||||
Reference in New Issue
Block a user