Commit Graph

365 Commits

Author SHA1 Message Date
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
10151e1598 parser,ast: parse statement execution time optimizer hints (#7012) 2018-07-08 17:08:29 +08:00
490af37d1e *: add scope check when get system variables (#6958) 2018-07-03 17:12:18 +08:00
cef2ebde62 *: support 'SHOW ERRORS' statment and reports errors in 'SHOW WARNINGS' statement (#6936) 2018-06-29 19:09:12 +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
37c41fd7ea *: support 'show privileges' (#6792) 2018-06-11 15:43:14 +08:00
12d4c5aea5 *: support 'show master status' (#6785) 2018-06-08 12:36:12 +08:00
8e00ca98f4 plan, parser: fix wrong LIMIT/ORDER BY check of the UNION statement (#6783) 2018-06-08 10:52:08 +08:00
db4888a697 plan, parser: fix the wrong result of the UNION statement (#6752)
tidb diff result with mysql when mix use union and union-all fix #6731
- rename `selectStmt.UnionDistinct` to `selectStmt.IsAfterUnionDistinct`
- add explain test
- remove useless `unionStmt.Distinct` and `selectList.Distinct`
- refactor use golang slice, remove dup code
- return WrongNumColumnInSelect error and add test case
2018-06-07 17:08:26 +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
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
ce0c9f373b *: add schema version to the log (#6527) 2018-05-18 14:01:47 +08:00
9cd410d9b2 parser: support 'ALTER TABLE FORCE' syntax (#6476)
* support 'ALTER TABLE FORCE' syntax
2018-05-06 17:16:50 +08:00
f09bdf46e2 parser: support opt_bin_mod (#6456) 2018-05-05 23:05:32 +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
ccf6da1a46 *: rename NextChunk to Next (#6214) 2018-04-03 20:00:30 +08:00
39a2f84231 executor: support cleanup dangling index data command (#6102) 2018-04-02 18:26:23 +08:00
a6976c0ca9 ddl:support alter table comment (#6127) 2018-04-02 11:43:12 +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
736bf4bc4e *: support STRAIGHT_JOIN to disable join reordering (#6007) 2018-03-21 21:22:21 +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
631141b22c *: remove Next function for RecordSet (#6040) 2018-03-13 21:05:10 +08:00
e38f406756 executor: extend ADMIN CHECK INDEX statement. (#5955) 2018-03-11 16:27:55 +08:00
913db283ea *: remove SupportChunk() from interface ResultSet and RecordSet (#5969) 2018-03-07 19:36:15 +08:00
928582c720 executor,ast: check password format for 'create user identified by password XXX' (#5948)
'create user xxx identified by yyy', yyy can be any text
'create user xxx identified by password yyy', yyy must be a hash string generated by
password(), it begin with * and has length 41
2018-03-05 21:30:54 -06:00
3b1884e473 *: support check an index (#5932)
* *: check index
2018-03-05 12:30:31 +08:00
f446ce9d4f parser for foreign key (#5937) 2018-03-03 10:11:10 +08:00
e1121814d2 *: don't import golang.org/x/net/context as goctx alias (#5895)
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +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
b380e8b702 ast: do statement is read only (#5752) 2018-01-30 02:47:00 -06: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
6b6afb6c55 expression, plan: support builtin aggregation function 'bit_or' (#5145) 2017-12-19 05:51:08 -06:00
5353ebe615 *: support analyze all indices statement (#5403) 2017-12-15 17:29:01 +08:00
81ffef96d7 ddl: fix a bug when format generation expressions. (#5262) 2017-12-13 18:57:01 +08:00
a2fb741191 *: Chunk add context parameter (#5348) 2017-12-09 11:23:40 +08:00
d742d9285a parser: support sql_mode 'IGNORE SPACE' (#5106) 2017-12-07 09:49:48 +08:00
f3b5975e4a AST: add Format interface on ExprNode for convert AST back to string (#5299) 2017-12-06 19:25:16 +08:00
c46f289d5a expression, plan: support builtin aggregation function 'bit_xor' (#5090) 2017-12-05 19:32:27 +08:00