Commit Graph

82 Commits

Author SHA1 Message Date
b84453e750 parser: only allow int column in range partition (#6339) 2018-05-02 14:36:26 +08:00
cd15501cf9 privilege: clean up privilege.Enable variable (#6427) 2018-04-28 07:13:23 -05:00
0d0d9880fc executor: support range column in show create table (#6332) 2018-04-25 13:36:15 +08:00
0d7a71cf16 executor: support table partition in show create table stmt (#6292) 2018-04-16 22:10:56 +08:00
922ba2464c *: make explicit timestamp on (#6238) 2018-04-11 15:36:26 +08:00
0dd2ee5208 *: Support "show grants for current_user();" (#5697) 2018-03-28 00:45:59 +08:00
faeaccc35e executor:Improve the aesthetics of code review (#6138) 2018-03-26 22:19:49 +08:00
f287451eed tidb: move tidb/*.go to session directory (#6062)
This change makes our top level directory clean.
2018-03-20 09:06:11 -05:00
c981480094 executor: remove Next function for ShowExec (#5998) 2018-03-12 17:43:04 +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
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
12c87929b8 *:fix some golint && ineffassign && misspell to improve GoReport Result (#5867) 2018-02-23 19:31:05 +08:00
1850796dab ddl: check table charset option (#5835) 2018-02-09 17:35:01 +08:00
d95f96505a *: refine join result generator to return MaxChunkSize chunk (#5715) 2018-01-31 20:00:59 +08:00
b3a514947d executor: set correct collate in show create table (#5744) 2018-01-29 22:16:31 +08:00
3e298e3390 executor: "fetchShowTableStatus" should append an integer to the third column instead of a string (#5608) 2018-01-10 17:05:23 +08:00
48aae7b6ef *: support show auto increment ID (#5470) 2017-12-22 20:16:11 +08:00
c37e104a30 fix issue5462 (#5463) 2017-12-21 18:03:54 +08:00
e811561336 fix issue 5384 (#5414) 2017-12-15 15:39:24 +08:00
ae9d7f5dab *: set session variable MaxChunkSize to 2 for test (#5238) 2017-11-28 13:48:36 +08:00
4f91997b56 executor: improve show full processlist tests (#5222) 2017-11-27 07:10:52 -06:00
fb610e6429 *: change executor Next() interface to Next(goctx.Context) (#5223) 2017-11-26 21:17:33 -06:00
b9ca00ad5f plan, executor: deep clone TopN when push it down through Join (#5158) 2017-11-20 17:24:12 +08:00
81652dbeef *: remove returned value isNull in Row methods. (#5131) 2017-11-17 11:12:41 +08:00
cf5a22b5fd *: replace *ast.Row with types.Row (#5124) 2017-11-16 18:36:28 +08:00
f8c96f1f92 plan, executor: build logical plan to check column name validation when doPrepare (#5116) 2017-11-16 13:49:55 +08:00
cd5c665c8c executor: use baseExecutor for all Executors (#5087)
Makes it easy to add new method on Executor interface.
2017-11-13 21:06:31 +08:00
ec9d1f0cc6 *: simplify RecordSet.Fields. (#5068) 2017-11-12 12:07:18 +08:00
b7c722aab6 Support SQLMode ONLY_FULL_GROUP_BY and fix a join panic bug (#4613) 2017-11-06 10:53:29 +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
1f4fc35320 executor, plan: correct the schema type of ShowStmt (#4886) 2017-10-25 13:55:20 +08:00
ebf090b0dc plan, executor: remove some XXStmt from resolver.go (#4823)
* plan, executor: remove AdminStmt, AlterTableStmt, AnalyzeTableStmt, DropStatsStmt, CreateIndexStmt,
CreateTableStmt, DoStmt, DropTableStmt, DropIndexStmt, RenameTableStmt, SetStmt, ShowStmt from resolver.go
2017-10-24 06:16:34 -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
64b5bc8ccd mysql,ddl: fix #4684, unsigned integer column length is not consistent with MySQL (#4693) 2017-10-09 17:24:37 +08:00
56ed7f129d expression: change like function's behavior. (#4683) 2017-09-29 10:27:23 +08:00
aacfbf6fd3 *: move show tests. (#4542) 2017-09-18 23:56:54 +08:00
e79e09143d executor: fix show create table with fk (#4537) 2017-09-15 17:42:04 +08:00
6f9457e373 executor: use tearDownTest instead of defer (#4499) 2017-09-12 01:02:41 -05:00
c1384a26b7 executor, types: format output (#4418) 2017-09-06 16:00:03 +08:00
bc0efef751 executor: Fix DEFAULT output in SHOW CREATE TABLE (#4427) 2017-09-05 09:20:16 +08:00
9367fdddd4 show column comment, table auto-increment; change index default collation (#4303)
* - 1. change index default collation from "utf8_bin" to "A".
- 2. show column comment. fix #4224.
- 3. show table auto-increment. fix #3747.
2017-08-26 17:45:03 -05:00
3f8334e188 *: provide SHOW PLUGINS statement with a dummy implementation (#4278) 2017-08-22 10:58:47 +08:00
a88ebb1cf6 *: use structure to store user identity (#4078)
*: use structure to store user identity
2017-08-14 03:37:36 -05:00
4880d920e7 Pass sessionVars for stats() to support session-scoped status vars. [ci skip] (#3974) 2017-08-02 15:29:16 +08:00
a19ad3f480 ddl: support create index with type and comment (#3814) 2017-07-20 19:01:14 +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
1cc00cdd57 privilege/privileges: skip privilege check for information_schema database (#3675) 2017-07-11 10:28:12 +08:00