summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/sysdate_is_now.test
blob: 166914e20c8640ccf0eb263606b546f1293ae05b (plain)
1
2
3
4
5
6
7
8
9
10
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