Commit Graph

75 Commits

Author SHA1 Message Date
30a080db5c *: build and use count-min sketch (#5042) 2017-11-08 22:34:01 +08:00
63347051d7 executor,util/testkit: fix data race in test TestOnlyFullGroupBy (#5020) 2017-11-06 00:59:12 -06:00
b7c722aab6 Support SQLMode ONLY_FULL_GROUP_BY and fix a join panic bug (#4613) 2017-11-06 10:53:29 +08:00
5a47a06dbf *: move tests (#4651) 2017-09-27 14:38:45 +08:00
069cc8b222 expression: open new expression framework by default (#4595) 2017-09-22 15:29:42 +08:00
3636563eeb perf_schema: add required tables of mysqlx (#4521) 2017-09-14 13:58:27 +08:00
188dd8c06f session_test: move out some tests. (#4490) 2017-09-12 20:22:43 +08:00
6f9457e373 executor: use tearDownTest instead of defer (#4499) 2017-09-12 01:02:41 -05:00
c7c248eb91 executor: change struct row to []types.Datum (#4072) 2017-08-09 18:37:57 +08:00
1eebb87156 ddl: remove backgroud worker, use delete-range to speed up something. (#3993) 2017-08-09 16:59:25 +08:00
3c11ac5128 *: fix race with atomic global variables. (#4076)
* fix race.
2017-08-08 14:30:04 +08:00
77c7e0037a tidb: add some privilege columns to mysql.db (#3532)
* tidb: add some privilege columns to mysql.db

Create_tmp_table_priv
Lock_tables_priv
Create_view_priv
Show_view_priv
Create_routine_priv
Alter_routine_priv
Execute_priv
Event_priv
Trigger_priv
2017-06-27 10:18:11 +08:00
cb9bf47dfc executor: turn on new expr evaluation for testSuite (#3475) 2017-06-15 15:27:40 +08:00
7c9e18621f *: add some privilege columns to mysql.user (#3445)
Create_tmp_table_priv
Lock_tables_priv
Create_view_priv
Show_view_priv
Create_routine_priv
Alter_routine_priv
Event_priv
2017-06-13 21:11:43 +08:00
9b6fc032fc *: add References_priv to mysql.user (#3343) 2017-05-26 17:58:32 +08:00
ad52a2462c executor: add open inteferce for Executor. (#3221) 2017-05-09 21:13:22 +08:00
33c2262b9e *: assign RetType for Constant/Column (#3201) 2017-05-05 12:01:01 +08:00
3f296ed82d *: add Trigger_priv column to mysql.user (#3143) 2017-05-03 13:49:07 +08:00
b4f20e6f0b util/testkit: refine testkit (#3177) 2017-04-29 23:20:49 +08:00
0595143194 *: add Process_priv column to mysql.user (#2994) 2017-04-28 22:35:46 +08:00
ea310f614c executor, store: let old plan use old store. (#3160) 2017-04-27 20:50:10 +08:00
7018898f30 Revert "*: Remove useless code and use the DAG mode in tests (#3069)" (#3142)
This reverts commit d8c52e8ac9325df750c2f985fe5f743e840d3938.
2017-04-25 23:20:09 +08:00
73c9e12f24 infoschema: add more empty tables (#3127) 2017-04-24 19:27:25 +08:00
594fab2f49 infoschema: add VIEWS and ROUTINES table (#3108) 2017-04-22 22:14:57 +08:00
12f07daff2 expression: make group_concat handle character correct (#2821) (#3083) 2017-04-19 22:06:03 +08:00
59154905aa *: rename table-driven tests name. (#3081) 2017-04-19 10:02:57 +08:00
d8c52e8ac9 *: Remove useless code and use the DAG mode in tests (#3069) 2017-04-17 22:14:16 +08:00
97bfafa702 *: Use AggregationFunction instead of evaluate in aggregation (#3040) 2017-04-14 19:49:00 +08:00
79676b15f0 *: Support aggregation with DAG (#2970) 2017-04-06 14:56:47 +08:00
f7cc682eed *: support Super_priv (#2990) 2017-04-05 19:21:07 +08:00
c88280978b infoschema: add INFORMATION_SCHEMA.ENGINES table (#2988) 2017-04-05 13:19:11 +08:00
3c494b7df1 *: add INFORMATION_SCHEMA.USER_PRIVILEGES table (#2963) 2017-03-30 17:10:14 +08:00
904101210b executor: fix decode row panic (#2961)
Index Schema may be replaced by aggregation schema, which may be longer than
original schema length, in this case decode row will panic.
2017-03-30 13:15:04 +08:00
3bfc8207bc expression: fix bug about function equal logic. (#2951) 2017-03-29 14:38:39 +08:00
ee7df059e3 statistics: refactor package. (#2913) 2017-03-29 11:32:40 +08:00
2aab1cf701 plan: fix bug when aggregation push across union. (#2892) 2017-03-20 16:56:50 +08:00
30fc95ef6d Revert "*: upgrade mysql.user table schema (#2849)" (#2893)
This reverts commit d0ddbaa418d86320b21813d8f8bde45539396787.
2017-03-20 15:22:21 +08:00
d0ddbaa418 *: upgrade mysql.user table schema (#2849) 2017-03-20 14:33:43 +08:00
66085c3f12 *: add system table mysql.stats_meta (#2766) 2017-03-16 14:46:28 +08:00
a408b86269 *: support in subquery unfolding (#2816) 2017-03-16 14:26:34 +08:00
f5d098e7e9 plan: remove useless aggregation when pushing down aggregation (#2702) 2017-03-01 14:59:37 +08:00
661637080d *: Add a empty table for triggers (#2749) 2017-02-28 09:33:18 +08:00
90d64eff39 *: Support information_schema.table_constraints (#2586) 2017-02-04 12:07:19 +08:00
7965666bce executor: ajust some code. (#2574) 2017-01-30 09:45:50 +08:00
fb429408c9 *: make schema as a pointer. (#2533) 2017-01-23 16:23:47 +08:00
2cad815a89 plan: change distinct to aggregation. (#2515) 2017-01-20 15:34:36 +08:00
83e57cc203 plan: ignore the ambiguous error when retrieving schema first. (#2480)
* plan: ignore the ambiguous error when retrieving schema first.

* address comment.
2017-01-17 23:22:30 +08:00
a3c1d47058 parser: count multiple expression doesn't return error. (#2429) (#2448) 2017-01-13 10:24:22 +08:00
5f96f67cbc *: change schema from []*Column to struct (#2321) 2016-12-27 14:02:19 +08:00
751a81b77e *: add physical mem table plan (#2296) 2016-12-25 16:13:18 +08:00