Commit Graph

36 Commits

Author SHA1 Message Date
c6186c6ad4 Merge branch 'master' into qiuyesuifeng/exists-subquery
Conflicts:
	parser/parser_test.go
2015-09-15 18:07:51 +08:00
011fdbf057 Merge pull request #146 from pingcap/shenli/issue-108
fix issue 108
2015-09-15 17:55:17 +08:00
45d4346b68 Merge branch 'master' into qiuyesuifeng/exists-subquery 2015-09-15 17:52:41 +08:00
026df59d8a expression/expressions: address comment. 2015-09-15 16:58:23 +08:00
bc216912f0 Merge remote-tracking branch 'origin/master' into shenli/issue-108
Conflicts:
	parser/parser_test.go
2015-09-15 16:04:04 +08:00
83f0a7f99b parser: support hex type 2015-09-15 15:08:34 +08:00
cb38257021 Merge branch 'master' into qiuyesuifeng/exists-subquery
Conflicts:
	parser/parser_test.go
2015-09-15 14:36:11 +08:00
9f40950832 *: Address comments 2015-09-15 13:55:52 +08:00
c60f34f010 *: Support binary operator
See: https://dev.mysql.com/doc/refman/5.7/en/cast-functions.html#operator_binary
2015-09-15 13:26:12 +08:00
d975040647 parser: Support cast char with charset
Bug found in phpMyAdmin
2015-09-15 12:31:56 +08:00
e2fdde00e6 parser: Fix bug in parse database()
The args list is empty. But ExpressionList need at least one arg.
2015-09-14 23:42:23 +08:00
b62ef806a1 Merge remote-tracking branch 'origin/master' into shenli/issue-108 2015-09-14 23:11:38 +08:00
3848a486e7 plans: Fix bug in join.go
Fix bug in appendRow
2015-09-14 23:05:02 +08:00
923dc22a75 Merge branch 'master' into qiuyesuifeng/exists-subquery 2015-09-14 16:54:46 +08:00
2b5c33e534 Merge remote-tracking branch 'origin/master' into shenli/issue-108
Conflicts:
	parser/parser_test.go
2015-09-14 14:18:15 +08:00
6ee7619206 parser: Add any/some to UnReservedKeyword list
ANY and SOME are unreserved keywords
See: https://dev.mysql.com/doc/refman/5.7/en/keywords.html
2015-09-14 14:01:12 +08:00
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
cb3ef9cf85 *: Refactor update
Support multiple-table syntax
2015-09-13 23:08:16 +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