Commit Graph

429 Commits

Author SHA1 Message Date
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
12be4037e2 parser: support COMMENT = 'string' in partition definition (#5933) 2018-03-01 06:43:14 -06:00
12c87929b8 *:fix some golint && ineffassign && misspell to improve GoReport Result (#5867) 2018-02-23 19:31:05 +08:00
fcbb4c53a2 parser: parse "select 1 order by 1" statement (#5881)
* parser: parse "select 1 order by 1" statement
2018-02-14 16:08:55 +08:00
f3c99cd535 parser: create index support LOCK syntax (#5851) 2018-02-11 10:22:56 +08:00
a04b2f9a8d *: support show stats_healthy. (#5769) 2018-02-05 19:30:05 +08:00
775dcf4503 stats: support 'load stats' command (#5724) 2018-01-31 17:25:27 +08:00
7c5ea170a9 parser: fix Text() in SubSelect parse (#5718)
ex. "SELECT 1 > (select 1)“ , ast.SubqueryExpr#Query's Text() will return "(select ". by mistake.
2018-01-26 00:05:32 -06:00
cc808a51aa parser: Support the ODBC syntax of time/date/timestamp literal (#5634) 2018-01-14 16:04:29 +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
5353ebe615 *: support analyze all indices statement (#5403) 2017-12-15 17:29:01 +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
1630957fdf parser: Support add columns with parentheses (#5103) 2017-11-16 15:07:48 +08:00
326e63a55f add bit_and, bit_or to parser.y (#5091) 2017-11-15 21:02:49 -06:00
dd5767a581 parser: update the alter table... add column (#5054) 2017-11-09 22:23:25 -06: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
32d0fc9e76 parser: support "insert into from selectStmt that has brackets" (#5008) 2017-11-06 07:06:21 -06:00
ba9b1f72be parser: fix alter table add column(...) (#4963) 2017-10-31 05:37:23 -05:00
ecf07101b2 parser: Fix the bug of alter table table_options, other_alter_specification (#4931) 2017-10-31 15:07:49 +08:00
e40ad67efa parser, executor: truncate info field for show processlist and show full processlist support (#4739) 2017-10-26 22:52:13 +08:00
5f74127805 parser: add numeric type signed opt support (#4911) 2017-10-26 19:18:36 +08:00