Commit Graph

61 Commits

Author SHA1 Message Date
001a9f923d *: merge master and fix conflict 2015-10-12 17:36:31 +08:00
d32e4f5153 *: support like escape 2015-10-12 09:56:52 +08:00
38abb35769 *: Support trim function
See: https://dev.mysql.com/doc/refman/5.7/en/string-functions.html#function_trim
2015-10-10 14:57:40 +08:00
a3f17ab8f7 *: merge master and fix conflict. 2015-10-10 10:53:08 +08:00
ebe12aa2da Merge remote-tracking branch 'origin/master' into shenli/locate 2015-10-09 23:19:42 +08:00
f8361752aa parser: support extract time function 2015-10-09 10:13:05 +08:00
0bc684868f *: Support locate function
See: https://dev.mysql.com/doc/refman/5.7/en/string-functions.html#function_locate
2015-10-08 16:26:15 +08:00
be58e070a3 parser: support current date 2015-10-08 16:00:37 +08:00
3c69db4ce3 parser: Support dollar in identifier 2015-10-08 14:36:53 +08:00
f9e6cd87d6 Merge pull request #314 from pingcap/siddontang/string-function
update string function
2015-10-07 13:10:48 +08:00
cd612c05b6 parser: support lower and parser 2015-10-07 12:03:09 +08:00
c1affab3c4 Introduce a new pretty way to handle subselect 2015-10-07 11:44:13 +08:00
dffe013e79 parser: update identifier quote 2015-09-30 10:34:35 +08:00
597b5c56b3 parser: fix select '\'a\''; parse bug 2015-09-29 16:50:29 +08:00
e5024e911e parser: add rand function parser support. 2015-09-28 18:37:56 +08:00
3634a953d5 parser: support check expression in create table
nothin to do now
2015-09-28 16:57:47 +08:00
0be33b5918 parser: support national parser
nothing to do now
2015-09-28 16:11:24 +08:00
754a519039 parser: support some table options, only in parser. 2015-09-28 08:55:35 +08:00
f5f0d75444 *: Support SUBSTRING_INDEX function 2015-09-25 12:36:16 +08:00
29ba211e73 parser: support parsing '''a''' and """a""" 2015-09-25 10:20:52 +08:00
5786b9b02c *: merge master and fix conflict 2015-09-25 10:05:31 +08:00
60ee772cba parser: support comment for create table
`create table (c int comment ‘this is a comment’)` or
`create table (c int) comment = ‘this is a comment’`

We only support parsing it, and do nothing outside.
2015-09-25 09:03:31 +08:00
b59fa848ff parser: support set and enum type 2015-09-24 09:32:04 +08:00
aa5fd34498 parser: support from dual 2015-09-23 21:41:41 +08:00
91e6610d96 parser: support sysdate 2015-09-23 17:23:21 +08:00
5ae7447804 Merge pull request #246 from pingcap/shenli/builtin-user
builtin: Support User() and Current_User()
2015-09-23 14:29:56 +08:00
f9e400d4b3 builtin: Support User() and Current_User() 2015-09-23 11:02:45 +08:00
b961507311 *: support current_timestamp time function 2015-09-23 09:33:52 +08:00
50fb972258 *: support show collation 2015-09-22 09:20:36 +08:00
e91233533e expression: fix import 2015-09-21 18:55:17 +08:00
337517379f *: merge master and fix conflict 2015-09-21 10:08:01 +08:00
2353d6c990 *: merge master and fix conflict 2015-09-20 19:32:41 +08:00
609bbac4a4 parser: Support CreateUser syntax 2015-09-20 11:28:57 +08:00
aef82f0dbf parser: fix parsing bit error 2015-09-19 15:00:02 +08:00
2958eac84d parser: support parsing bit type 2015-09-19 15:00:02 +08:00
7b90a3b6b1 WIP: Support set password 2015-09-18 17:32:49 +08:00
0e7bec82cd parser: support null eq <=> 2015-09-18 07:03:38 +08:00
83f0a7f99b parser: support hex type 2015-09-15 15:08:34 +08:00
7c5612473d parser: address comment. 2015-09-15 10:15:22 +08:00
91e605ebd7 parser: cleanup parser/scanner error. 2015-09-14 21:19:22 +08:00
88553d8c4b Merge remote-tracking branch 'origin/master' into shenli/merge-master 2015-09-14 13:58:28 +08:00
55fb663476 parser: Refactor function
Avoid conflict for function name and keywords
Pass all the tests
2015-09-14 13:22:14 +08:00
9af521044a parser: WIP: clean up function name 2015-09-14 08:52:29 +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
288fc4bc17 parser: Support SHOW VARIABLES syntax
Finish parser, implement in the next commit.
2015-09-10 19:32:04 +08:00
546431339e Address comment 2015-09-10 10:43:53 +08:00
e9f0c697fc parser: support row constructor 2015-09-10 08:32:40 +08:00
e3e186c831 Merge remote-tracking branch 'origin/master' into shenli/keyword-identifier 2015-09-09 22:33:48 +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