Commit Graph

453 Commits

Author SHA1 Message Date
2ac2faf29f parser: support SUBPARTITION grammar for table partition (#7470) 2018-08-23 16:39:04 +08:00
69b13c59d6 parser: enhance the compatibility for table partition (#7440)
* 'COMMENT = xxx' and 'COMMENT xxx' are both acceptable, '=' is optional
* Add 'TABLESPACE xxx' to partition definition option
* For 'ENGINE = xxx', 'COMMENT = xxx', 'TABLESPACE xxx' options, the order is exchangable
2018-08-21 16:58:05 +08:00
2ae4f7f3d2 parser: add 'IDENTIFIED WITH' option on create user statement (#7402)
* fix issue 7295
2018-08-17 13:52:28 +08:00
4684eec521 parser: support to character option to load data statement (#7391) 2018-08-15 11:05:43 +08:00
bfceb5072f support of character in create table statement (#7378) 2018-08-14 01:14:38 +08:00
87b16fca27 support for flush status (#7369) 2018-08-13 16:38:36 +08:00
461663652d *: support 'admin show ddl jobs <number>' grammar (#7028) 2018-07-12 14:49:14 +08:00
cc722546ef ddl:support alter table drop partition (#6460)
support alter table drop partition
2018-07-11 18:26:19 +08:00
fd3706148f lexer: support more syntaxes regarding 'SET Syntax' (#7020) 2018-07-10 18:20:33 +08:00
10151e1598 parser,ast: parse statement execution time optimizer hints (#7012) 2018-07-08 17:08:29 +08:00
yj
401577b8dc parser:support order by in select from dual (#6871) 2018-06-26 16:49:21 +08:00
c562bfff6f ddl:support table partition in alter table add partition (#6421)
support alter table add partition
2018-06-26 12:40:51 +08:00
20c5675831 parser: support 'CREATE TABLE ... SELECT' syntax (#4754) (#6851) 2018-06-22 16:21:01 +08:00
f21ac4af5f parser: allow comments end with multi asterisk (#6847) 2018-06-18 15:02:36 +08:00
37c41fd7ea *: support 'show privileges' (#6792) 2018-06-11 15:43:14 +08:00
08817bdb1b parser: support drop column cascade syntax, parse it and ignore it. (#6791) 2018-06-10 18:00:42 +08:00
12d4c5aea5 *: support 'show master status' (#6785) 2018-06-08 12:36:12 +08:00
f56e130eed ddl, parser: support 'ALTER TABLE RENAME KEY TO' syntax (#6475) 2018-06-07 13:32:17 +08:00
e2b23619f0 *: adding trace syntax support (#6644) 2018-06-03 18:40:47 +08:00
46da21b5c1 *: support select tidb_is_ddl_owner, to figure out whether tidb instance is ddl owner (#6682) 2018-06-01 17:56:44 +08:00
d963ee7348 parser: support 'ALL' for 'BIT_AND', 'BIT_OR', 'BIT_XOR' (#6685) 2018-05-30 14:03:48 +08:00
ff7c0cedb8 plan, parser: support JOIN hint for UPDATE/DELETE statements (#6626) 2018-05-25 14:00:57 +08:00
d1bd647732 support high_priority for delete/update/replace into (#6592) 2018-05-23 12:35:16 +08:00
ec06a514a7 parser: support 'use index' in delete statement from single table (#6570) 2018-05-18 14:56:17 +08:00
9cd410d9b2 parser: support 'ALTER TABLE FORCE' syntax (#6476)
* support 'ALTER TABLE FORCE' syntax
2018-05-06 17:16:50 +08:00
7aee5f77d6 parser: index name in 'alter table drop index' should not be empty (#6474) 2018-05-06 07:47:36 +08:00
f09bdf46e2 parser: support opt_bin_mod (#6456) 2018-05-05 23:05:32 +08:00
8b57ce24ce parser: support more ODBC syntaxes (#6399) 2018-04-28 14:32:01 +08:00
2b3ccc4ad3 parser: support alter convert to syntax (#6416) 2018-04-28 13:51:27 +08:00
fe6b3f833a parser: support 'ALTER TABLE t AUTO_INCREMENT number' syntax (#6417) 2018-04-28 11:14:29 +08:00
39a2f84231 executor: support cleanup dangling index data command (#6102) 2018-04-02 18:26:23 +08:00
67f920a650 executor: Improve the aesthetics of code review (#6137) 2018-03-31 17:06:19 +08:00
0dd2ee5208 *: Support "show grants for current_user();" (#5697) 2018-03-28 00:45:59 +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
12cc2dbb20 parser,expression: decimal support for interval (#6143) 2018-03-27 03:08:56 -05:00
126d5f8d5c parser: Fix a bug in CreateView (#6154) 2018-03-27 10:37:22 +08:00
e77fb50922 parser: fix a bug lexer.Reset() doesn't reset to the initial state (#6153) 2018-03-27 08:05:44 +08:00
b6b708aa43 fix syntax error on sql "set transaction isolation level serializable;" (#6131) 2018-03-24 11:59:30 +08:00
5445e17fac *: fix in-compatible behavior when modify value from Navicat GUI (#6105) 2018-03-22 15:38:27 +08:00
736bf4bc4e *: support STRAIGHT_JOIN to disable join reordering (#6007) 2018-03-21 21:22:21 +08:00
d68bf86896 *: remove useless code (#5343) 2018-03-21 10:59:23 +08:00
6f43b37572 Add admin checksum table command (#6067) 2018-03-20 20:46:43 +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
2b81622e7c parser: fix "insert into t1 (select * from t)" (#6039) 2018-03-13 15:32:05 +08:00
e38f406756 executor: extend ADMIN CHECK INDEX statement. (#5955) 2018-03-11 16:27:55 +08:00
3b1884e473 *: support check an index (#5932)
* *: check index
2018-03-05 12:30:31 +08:00
d34f702b6e cascade drop table (#5938) 2018-03-03 15:58:54 +08:00
1a812fc19b parser: support long varchar (#5920) 2018-03-03 10:20:03 +08:00
f446ce9d4f parser for foreign key (#5937) 2018-03-03 10:11:10 +08:00