Commit Graph

19 Commits

Author SHA1 Message Date
f4e06f0c7f parser/parser_test: add a compile fail test. 2015-09-14 11:11:26 +08:00
76475b2868 *: add base exists subquery framework. 2015-09-14 11:10:44 +08:00
be9ed50943 parser: remove some/any from UnReservedKeyword. 2015-09-12 20:36:47 +08:00
abc406a741 Merge branch 'master' into qiuyesuifeng/any-all-support 2015-09-12 09:34:06 +08:00
fd248380ff parser: handle unreserve any and some 2015-09-12 09:33:28 +08:00
f713eb201a *: add base compare subquery framework
@qiuyesuifeng

Conflicts:
	parser/parser_test.go
2015-09-11 17:49:54 +08:00
5d3284da6f parser: Charset name can be string literal
Fix bug in running phpMyAdmin
2015-09-11 17:46:04 +08:00
288fc4bc17 parser: Support SHOW VARIABLES syntax
Finish parser, implement in the next commit.
2015-09-10 19:32:04 +08:00
3b283fb619 Address comment 2015-09-10 11:00:40 +08:00
25eac139ad parser: Address comment 2015-09-10 07:41:43 +08:00
bd7817ea38 parser: Address comment 2015-09-09 23:28:20 +08:00
e3e186c831 Merge remote-tracking branch 'origin/master' into shenli/keyword-identifier 2015-09-09 22:33:48 +08:00
78c201e218 parser: resolve reduce/reduce conflicts
Resolved all the reduce/reduce conflicts except for 1

Fixes issue #73
2015-09-09 16:13:01 +08:00
3f6a369e11 parser: Add more keywords into UnReservedKeyword list
See: https://dev.mysql.com/doc/refman/5.7/en/keywords.html
2015-09-09 14:33:48 +08:00
e197ea9754 parser: Add mode into UnReservedKeyword list
"mode" can be used as an identifier.
See: https://dev.mysql.com/doc/refman/5.7/en/keywords.html
2015-09-08 10:50:46 +08:00
8663db2c13 parser: Remove useless code
Address comment
2015-09-07 10:21:29 +08:00
84b2a6b8af parser: Support Convert better and add unit test
1. Change FunctionCast.String() to support Convert String()
2. Add unit test in parser for convert
2015-09-06 23:23:39 +08:00
05816bdb30 parser: Add convert type function
Support mysql builtin function CONVERT(expr,type)

See: https://dev.mysql.com/doc/refman/5.7/en/cast-functions.html#function_convert
2015-09-06 22:38:01 +08:00
0d6f270068 Add files 2015-09-06 12:08:47 +08:00