Commit Graph

708 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
2e076142c1 parser: fix 'SET NAMES' syntax (#6404) 2018-04-27 11:36:20 +08:00
7266631988 parser: trying to fix maxvalue list (#6309) 2018-04-20 15:53:17 +08:00
533fac12b8 *: support create table with range type table partition. (#6251) 2018-04-12 21:56:27 +08:00
6287cfb8c2 *: modify 'session transaction isolation level' to take effect once (#6175) 2018-04-04 18:39:44 +08:00
313d9d3660 parser: fix the result of cast (0x10 as binary(2)). (#6211) 2018-04-03 21:44:36 +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
db7e6c59ad *: check float/double display width and scale (#6098) 2018-03-20 19:02:32 +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
a2760d6b26 parser: correct mistake on mapping between tinyint and boolean. (#5944)
* parser: correct mistake on mapping between tinyint and boolean.
2018-03-05 15:52:31 +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
a443eea786 Fix typo of parser (#5713) 2018-01-25 15:59:34 +08:00
dffc8c974d executor, parser: treat tx_isolation, transaction_isolation or tx_read_only, transaction_read_only as synonyms variable (#5700) 2018-01-22 23:15:17 +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
100bc58a83 parser, variable: fix #5478, make 'set transaction read only' works. (#5483) 2017-12-25 21:36:15 +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
81ffef96d7 ddl: fix a bug when format generation expressions. (#5262) 2017-12-13 18:57:01 +08:00