Skip to content

Commit

Permalink
Revert "Fix unrelated unit test"
Browse files Browse the repository at this point in the history
This reverts commit cd455a0.

Signed-off-by: Matt Lord <[email protected]>
  • Loading branch information
mattlord committed Jan 14, 2025
1 parent 8d0d520 commit ea76325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vtgate/executor_select_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4233,7 +4233,7 @@ func TestSelectDateTypes(t *testing.T) {
executor.normalize = true
session := econtext.NewAutocommitSession(&vtgatepb.Session{})

qr, err := executor.Execute(context.Background(), nil, "TestSelectDateTypes", session, "select '2020-01-01' + interval month(convert_tz(date_sub(FROM_UNIXTIME(1234), interval 1 month), '+00:00', '+00:00')) - 1 month", nil)
qr, err := executor.Execute(context.Background(), nil, "TestSelectDateTypes", session, "select '2020-01-01' + interval month(date_sub(FROM_UNIXTIME(1234), interval 1 month))-1 month", nil)
require.NoError(t, err)
require.Equal(t, sqltypes.Char, qr.Fields[0].Type)
require.Equal(t, `[[CHAR("2020-12-01")]]`, fmt.Sprintf("%v", qr.Rows))
Expand Down

0 comments on commit ea76325

Please sign in to comment.