Commit Graph

50 Commits

Author SHA1 Message Date
2eb08c0033 Merge remote-tracking branch 'origin/master' into shenli/add-priv-step2 2015-10-02 15:37:04 +08:00
f1423500d3 *: Finish grant global privilege and add uinttest 2015-09-30 17:08:43 +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
8a870d2699 *: Support grant statement syntax
Finish syntax parser.
TODO: Implement GrantStmt.Exec()
2015-09-28 00:14:06 +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
5e8f71a534 Merge pull request #65 from pingcap/parser
Parser: Adjust the syntax error log
2015-09-09 11:33:37 +08:00
xia
0a83469458 parser: add the missing fields 2015-09-09 11:00:30 +08:00
1e4cdb813f *: update QL-LICENSE and STRUTIL-LICENSE. 2015-09-08 19:25:50 +08:00
xia
bd7cd5cbb6 Merge branch 'master' into zimuxia/parser 2015-09-08 15:10:11 +08:00
xia
a7f86ad0ef parser: adjust the syntax error log 2015-09-08 15:07:03 +08:00
f87692e639 Merge pull request #46 from pingcap/c4pt0r/fix-copyright-infringement
c4pt0r/fix copyright infringement
2015-09-08 13:57:41 +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
b2d62f9fb6 mysqldef, kv, stmt, stmt/stmts, parser, field: fix-copyright-infringement. 2015-09-07 09:05:15 -04:00
e84fca5979 parser: Change err0
Address comment
2015-09-07 17:36:32 +08:00
8bd63a4d12 parser: Change syntax error log
Make syntax log easy to read.

https://github.com/pingcap/tidb/issues/25
2015-09-07 12:02:21 +08:00
0d6f270068 Add files 2015-09-06 12:08:47 +08:00