Skip to content

Commit

Permalink
tidb: add sysdate test
Browse files Browse the repository at this point in the history
  • Loading branch information
siddontang committed Sep 23, 2015
1 parent 91e6610 commit fc25069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tidb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ func (s *testSessionSuite) TestTimeFunc(c *C) {
se := newSession(c, store, s.dbName)

last := time.Now().Format(mysql.TimeFormat)
r := mustExecSQL(c, se, "select now(), now(6), current_timestamp, current_timestamp(), current_timestamp(6)")
r := mustExecSQL(c, se, "select now(), now(6), current_timestamp, current_timestamp(), current_timestamp(6), sysdate(), sysdate(6)")
row, err := r.FirstRow()
c.Assert(err, IsNil)
for _, t := range row {
Expand Down

0 comments on commit fc25069

Please sign in to comment.