Skip to content

Commit

Permalink
FROM_UNIXTIME had different behavior in Mac PR acceptance tests, so s…
Browse files Browse the repository at this point in the history
…witching to simply creating a date.
  • Loading branch information
fulghum committed Jan 25, 2022
1 parent b19a928 commit 5cd908d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enginetest/queries.go
Original file line number Diff line number Diff line change
Expand Up @@ -6131,9 +6131,9 @@ var QueryTests = []QueryTest{
},
},
{
Query: `SELECT JSON_OBJECT(FROM_UNIXTIME(420), 10);`,
Query: `SELECT JSON_OBJECT(DATE('1981-02-16'), 10);`,
Expected: []sql.Row{
{sql.MustJSON(`{"1969-12-31 16:07:00": 10}`)},
{sql.MustJSON(`{"1981-02-16": 10}`)},
},
},
{
Expand Down

0 comments on commit 5cd908d

Please sign in to comment.