Skip to content

Commit 89302e3

Browse files
author
Aaron Son
committed
Merge remote-tracking branch 'origin/ld-master' into aaron/views
2 parents 9da9885 + 92623b7 commit 89302e3

File tree

4 files changed

+121
-147
lines changed

4 files changed

+121
-147
lines changed

engine_test.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ var queries = []queryTest{
5757
"SELECT -i FROM mytable;",
5858
[]sql.Row{{int64(-1)}, {int64(-2)}, {int64(-3)}},
5959
},
60+
{
61+
"SELECT +i FROM mytable;",
62+
[]sql.Row{{int64(1)}, {int64(2)}, {int64(3)}},
63+
},
64+
{
65+
"SELECT + - i FROM mytable;",
66+
[]sql.Row{{int64(-1)}, {int64(-2)}, {int64(-3)}},
67+
},
6068
{
6169
"SELECT i FROM mytable where -i = -2;",
6270
[]sql.Row{{int64(2)}},

0 commit comments

Comments
 (0)