Commit Graph

64 Commits

Author SHA1 Message Date
ddc2ffcfa5 parser: add generated column grammar. (#3428) 2017-06-09 14:31:35 +08:00
791b4c273c expression: add buildin functions json_{set,insert,replace} and json_merge. (#3388) 2017-06-06 15:50:32 +08:00
6962814a29 add json_type function and compare json with primitive types. (#3307) 2017-05-24 15:21:40 +08:00
9b8a445aa8 *: parse more lock options in alter table statement (#3260)
* *: parse more  lock options in alter table statement and ignore them
2017-05-15 14:29:13 +08:00
be56698f72 document-store: init work. (#3228)
* document-store: init work.

1. add error codes and messages for json;
2. add json_extract and json_unquote functions in parser;
2017-05-10 19:17:52 +08:00
3f296ed82d *: add Trigger_priv column to mysql.user (#3143) 2017-05-03 13:49:07 +08:00
0595143194 *: add Process_priv column to mysql.user (#2994) 2017-04-28 22:35:46 +08:00
1ec85a7b1c *: add three more builtin definitions (#3016) 2017-04-10 14:26:16 +08:00
f7cc682eed *: support Super_priv (#2990) 2017-04-05 19:21:07 +08:00
aaa6184670 *: implement index nested loop join (#2945) 2017-04-01 15:12:20 +08:00
f66c46953d *: remove MySQL enterprise functions definition. (#2973) 2017-03-31 18:03:19 +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
779a38b61c *: parse and ignore lock option in alter table statement (#2811) 2017-03-11 15:47:28 +08:00
ecb01eb3af parser: handle the national character set like N'literal' (#2773) 2017-03-06 19:08:54 +08:00
b2f8a6fceb parser: parse kill statement (#2734) 2017-02-27 13:58:02 +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
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
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
395a9c6129 *: add builtin function UTC_TIMESTAMP (#2592)
* *: add builtin function UTC_TIMESTAMP
2017-02-05 02:16:18 -06:00
383f203735 *: add builtin function FLOOR (#2484) 2017-01-22 11:18:15 +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
d1ef3e5687 *: add builtin function SIGN (#2427) 2017-01-13 10:31:05 +08:00
5969e9ecad *: add builtin function TIMESTAMPDIFF (#2386) 2017-01-11 00:12:48 +08:00
ac06325a1d *: add builtin function DATEDIFF (#2374) 2017-01-06 10:01:20 +08:00
a44d9c3891 *: add builtin function UNIX_TIMESTAMP (#2369) 2017-01-05 14:09:21 +08:00
e3e7b624f2 expression,parser: add support for FIND_IN_SET function (#2373) 2017-01-05 10:58:58 +08:00
f0fbe16e18 add support for the LEAST function (#2360) 2016-12-31 22:37:43 +08:00
c99cdaaa30 *: parser support crc32 conv bit_xor (#2347)
*: parser support crc32 conv bit_xor
2016-12-29 20:49:12 +08:00
12f3654672 add func char_length (#2323)
* add func char_length
2016-12-26 11:22:17 +08:00
d358fc691d add two builtin functions (#2312)
Add two functions, bit_length and char.
2016-12-25 16:07:46 +08:00
b200cef223 support function rpad (#2270) 2016-12-19 16:36:41 +08:00
8eb2bbd37d parser, evaluator: support mysql builtin functions ln(), log(), log2(), log10() (#2258) 2016-12-16 08:52:51 +08:00
893a157301 *: support builtin function timediff (#2249) 2016-12-15 19:04:20 +08:00
f15333b8c7 parser: fix bug 0_x should parse to identifier (#2200) 2016-12-08 17:14:15 +08:00
196b6b18fe *: Support for changing column (#2174)
*: support for changing column in parser
* ddl: support for changing column in ddl
2016-12-07 11:19:37 +08:00
1bca024601 parser: parse more PARTITION option (#2133) 2016-12-01 00:24:20 +08:00
36a16d3ee8 parser: handle PARTITION keyword generated by mydumper (#2115)
* parser: parse PARTITION keyword generated by mydumper
2016-11-29 11:29:04 +08:00
3c349259e4 *: basic support for builtin function STR_TO_DATE (#2078) 2016-11-28 14:17:32 +08:00
36f0f307a8 parser: support show events (#2099)
* parser: support show events
2016-11-27 22:49:49 +08:00
2543f4b17c parser: handle scan identifier meets \0 (#1994)
this is a vague corner case
it should be illegal according to mysql document
but mysql implementation seems accept it
so we follow implementation
trim \0 in conn packet, report error when parser meet \0
2016-11-12 09:30:12 +08:00