Commit Graph

535 Commits

Author SHA1 Message Date
8f79c2031b parser: change intLit to decLit when the value out of range (#2954) 2017-03-29 23:16:48 +08:00
1253d2b87b builtin: get_format function implemented. (#2932) 2017-03-29 09:11:47 +08:00
7739d97697 Sort Merge Join (#2850)
parser/plan/executor: Added Merge Join operator with Hints
2017-03-22 21:42:16 +08:00
6d58b5c6ec parser: parse /*+ */ for optimizer hint (#2904) 2017-03-21 14:47:21 +08:00
779a38b61c *: parse and ignore lock option in alter table statement (#2811) 2017-03-11 15:47:28 +08:00
a884e170c3 parser: QUOTE is not a keyword (#2805)
Fix https://github.com/pingcap/tidb/issues/2803
2017-03-10 14:07:54 +08:00
a623e670e6 *: implement "kill tidb xxx" statement (#2768) 2017-03-08 13:32:22 +08:00
ecb01eb3af parser: handle the national character set like N'literal' (#2773) 2017-03-06 19:08:54 +08:00
50a6799d1f parser: PI is not a keywork (#2763) 2017-03-01 14:47:05 +08:00
849ec6c63e parser: support ANSI_QUOTES sql mode (#2754)
In ANSI_QUOTES sql mode, "xxx" is parsed to  identifier,
similar to `xxx` in normal sql mode

* fix typo
2017-03-01 13:45:19 +08:00
92a0b89771 parser: grant select on test.* to 'test' (#2757) 2017-03-01 12:50:40 +08:00
b2f8a6fceb parser: parse kill statement (#2734) 2017-02-27 13:58:02 +08:00
f695f874c6 parser: compatible with "on update timestamp now" (#2728) 2017-02-24 19:32:12 +08:00
b0aa4ce68b parser: parse ON UPDATE CURRENT_TIMESTAMP(6) (#2714) 2017-02-24 12:48:04 +08:00
61868f44dc *: Support the statement of "create table ... like" (#2707) 2017-02-22 23:57:04 +08:00
16fa15d890 *: support revoke statement (#2661) 2017-02-21 22:05:50 +08:00
657a74fdf6 *: add parser and definition for all unsupported builtin funcs (part 6) (#2679) 2017-02-21 11:47:39 +08:00
3294103a37 *: add parser and definition for all unsupported builtin funcs (part 7) (#2680) 2017-02-21 11:23:43 +08:00
a202e5085a *:add parser and definition for: (#2677)
BENCHMARK, CHARSER, COERCOBILITY, COLLATION, ROW_COUNT, SESSION_USER, SYSTEM_USER

:q!
2017-02-20 10:41:32 +08:00
41afe4e934 *: add parser and definition for: (#2667) 2017-02-19 17:07:22 +08:00
a8d185d8cb *: add parser and definition for all unsupported builtin funcs (part 3) (#2657) 2017-02-17 16:49:42 +08:00
b001b8cec5 parser: Unify time unit string literal (#2660)
Use upper case for time unit string literal in parser.
2017-02-17 11:43:06 +08:00
7f8f16f27c *: add parser and definition for all unsupported builtin funcs (part 2) (#2655) 2017-02-17 10:58:33 +08:00
2f07f7141d *: Support basic aes_encrypt/aes_decrypt function. (#2640) 2017-02-16 14:03:44 +08:00
dcc7715ec2 *: support with grant option for grant statement (#2647) 2017-02-16 12:58:07 +08:00
3f4c71bdbb *: add parser and definition for all unsupported builtin funcs (part 1) (#2649)
* *: add parser and definition for builtin funcs:
bin, elt, exportSet, format, fromBase64, insert, instr, loadFile, lpad
2017-02-16 11:37:42 +08:00
ce1447449b parser: support the field of column optional (#2634) 2017-02-15 13:12:45 +08:00
4fd95363b2 *: flush privileges statement (#2602) 2017-02-13 13:17:54 +08:00
51defd89bb *: Support the statement of drop default (#2616) 2017-02-09 17:21:44 +08:00
87f51736ee *: support the statement of alter table alter column set default (#2608) 2017-02-08 15:03:27 +08:00
16c1aae54c parser: remove useless code (#2604) 2017-02-07 19:43:42 +08:00
395a9c6129 *: add builtin function UTC_TIMESTAMP (#2592)
* *: add builtin function UTC_TIMESTAMP
2017-02-05 02:16:18 -06:00
15d2065287 Support builtin function timestamp (#2498) 2017-02-05 13:06:27 +08:00
59de1e5494 parser: Parse primary key name and ignore it (#2582) 2017-02-03 14:07:09 +08:00
ac10a37ee3 *: support alter table rename table (#2503) 2017-01-22 12:39:54 +08:00
383f203735 *: add builtin function FLOOR (#2484) 2017-01-22 11:18:15 +08:00
869dfda127 parser: tiny clean up (#2504) 2017-01-20 15:56:11 +08:00
72403f3578 *: added builtin function sqrt (#2493) 2017-01-18 12:43:59 +08:00
67313335fa *: Support builtin function field (#2449) 2017-01-15 11:10:39 +08:00
3bfac81a4e *: add builtin function FROM_DAYS (#2434) 2017-01-15 01:10:47 +08:00
217c26bd0b *: Support the statement of rename table (#2444) 2017-01-15 00:58:10 +08:00
afeccd0e32 parser: fix aggregate functions. (#2453) 2017-01-13 17:10:01 +08:00
d1ef3e5687 *: add builtin function SIGN (#2427) 2017-01-13 10:31:05 +08:00
a3c1d47058 parser: count multiple expression doesn't return error. (#2429) (#2448) 2017-01-13 10:24:22 +08:00
02511087c7 parser: handle timestamp default value with fsp specified (#2437) 2017-01-11 10:23:23 +08:00
293988b436 *: Fix a bug when binary literal has a charset prefix (#2438) 2017-01-11 10:16:51 +08:00
5969e9ecad *: add builtin function TIMESTAMPDIFF (#2386) 2017-01-11 00:12:48 +08:00
ee9a0fea1c parser: limit error information size (#2415) 2017-01-09 14:31:18 +08:00
2521ab4dec *: extract a builtin function factory for date arithmetic (#2403)
* *: refactor DATE_ARITH according to #2368
2017-01-07 10:52:31 +08:00
2594e4f799 parser: parse use 10 instead 0 (#2404) 2017-01-06 11:29:55 +08:00