Commit Graph

102 Commits

Author SHA1 Message Date
39a2f84231 executor: support cleanup dangling index data command (#6102) 2018-04-02 18:26:23 +08:00
959c319585 *: Support AlterTable with Algorithm option and fix a few things reported by goword (#6141)
Improve the compatibility with MySQL.
2018-03-27 21:39:29 +08:00
090f7c5e12 admin: show more information on ddl history (#6035)
* admin:address comments

* output information limit number

* handling comment questions

* handling comment questions

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* *: fix test case

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments
2018-03-16 10:07:50 +08:00
98a2640286 *: support 'admin recover index' (#5980) 2018-03-15 18:04:35 +08:00
1a812fc19b parser: support long varchar (#5920) 2018-03-03 10:20:03 +08:00
a04b2f9a8d *: support show stats_healthy. (#5769) 2018-02-05 19:30:05 +08:00
cc808a51aa parser: Support the ODBC syntax of time/date/timestamp literal (#5634) 2018-01-14 16:04:29 +08:00
8b149c3323 Prealloc / collides with package name (#5560) 2018-01-05 19:15:54 +08:00
04ef7d7992 *: shard implicit row ID (#5513) 2018-01-04 16:32:41 +08:00
f744c777de parser: Support PACK_KEYS option in CreateTable statement (#5554)
Parse but ignore it.
2018-01-04 13:37:49 +08:00
f8c0aaf0c9 parser, expression: support SEPARATOR in group_concat aggregate function (#5420) 2017-12-15 16:36:13 +08:00
c9245f52c2 plan: add hint to force to choose hash join. (#5315) 2017-12-08 20:02:45 +08:00
d742d9285a parser: support sql_mode 'IGNORE SPACE' (#5106) 2017-12-07 09:49:48 +08:00
7e480bd90e ast, parser: support create view syntax (#5197) 2017-11-23 22:53:50 +08:00
326e63a55f add bit_and, bit_or to parser.y (#5091) 2017-11-15 21:02:49 -06:00
e1882357af parser: support sql_mode "PIPES_AS_CONCAT" (#5012) 2017-11-09 20:37:09 +08:00
3f3ae07312 parser: parse more privilege types like RELOAD,EVENT and so on (#5013)
RELOAD
CREATE TEMPORARY TABLES
LOCK TABLES
CREATE VIEW
SHOW VIEW
CREATE ROUTINE
ALTER ROUTINE
EVENT
2017-11-07 11:42:21 +08:00
ad1c532ea5 *: remove unused package and functions (#5003)
* *: remove unused package and functions
2017-11-04 03:36:25 -05:00
b0d20c9d6b *: parse and ignore REPLICATION CLIENT/SLAVE, USAGE privileges in grant statement (#4870) 2017-10-25 00:26:53 -05:00
2f3d5e8220 parser: add straight_join_syntax support, just treat it as JOIN. (#4872) 2017-10-23 21:07:48 -05:00
1a987dd825 *: Support the operation of cancel DDL jobs (#4753)
* *: support cancel the DDL job
2017-10-18 22:28:04 -05:00
b9bf914312 *: dummy implementation for show profiles statement (#4795)
* *: dummy implementation for show profiles statement

* address comment
2017-10-17 03:27:12 -05:00
d5a26905ef parser: add int1, int2, int3, int4, int8 type support (#4803) 2017-10-17 03:15:33 -05:00
ca7403a814 parser: refactor parser step2 (#4652)
Refactor expression syntax to use MySQL naming and structure.
Partially fix issue #4026
2017-09-29 15:34:03 +08:00
dd06221d71 parser: refactor parser first step (#4545)
* parser: refactor parser first step

This is the first step to refactor parser. it solve several problems.

1. function name can be general identifier, we don't need to define a keyword for a builtin function.

2. write test to make sure keyword is consistent with lever token. this fixes #4538.

3. Removed ReservedKeyword, solve the identifier in scanner.

4. Simplified precedence definition.

* *: address comment
2017-09-18 21:04:00 +08:00
e61efe6ee5 parser: support nvarchar syntax (#4500) 2017-09-12 14:30:04 +08:00
952aafd403 *: Add operation of admin show ddl jobs (#4316)
* *: implement "admin show ddl jobs"
2017-09-05 13:07:51 +08:00
31819a8dcb parser, expression: implement builtin function: LAST_DAY (#4290) 2017-08-23 16:34:35 +08:00
3f8334e188 *: provide SHOW PLUGINS statement with a dummy implementation (#4278) 2017-08-22 10:58:47 +08:00
6e0ff81269 parser: support DISTINCTROW(#4007) 2017-08-04 19:37:53 +08:00
2745333435 parser,plan: support \N shortcut for null (#3943) 2017-08-01 14:16:43 +08:00
7874e989eb *: support natural join. (#3861) 2017-08-01 13:56:29 +08:00
bde940f399 Add a tidb_version() function to show tidb-server info (#3592) 2017-07-17 17:07:54 +08:00
f024ebbdca *: support show stats_buckets (#3720) 2017-07-12 17:37:53 +08:00
f212ef1705 * support show stats_histogram (#3683) 2017-07-11 15:49:11 +08:00
aa41e3aaf4 *: support show stats (#3633) 2017-07-06 16:51:59 +08:00
467a01a2d0 *: support drop stats (#3615)
* plan, executor: support drop stats

* ast: add comment

* address comment

* address comment
2017-07-05 17:01:36 +08:00
45cd7c9864 builtin, json: add json_object and json_array functions. (#3562) 2017-07-03 20:23:27 +08:00
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