parser/parser_test: add a compile fail test.

This commit is contained in:
qiuyesuifeng
2015-09-12 14:46:58 +08:00
parent 22612fd2f0
commit f4e06f0c7f

View File

@ -293,6 +293,7 @@ func (s *testParserSuite) TestParser0(c *C) {
{"SELECT 1 > SOME (select 1)", true},
// For exists subquery
{"SELECT EXISTS select 1", false},
{"SELECT EXISTS (select 1)", true},
}