Commit Graph

949 Commits

Author SHA1 Message Date
83aeca4e36 *: fix length of all show stmt (#4589) 2017-09-22 14:29:32 +08:00
040ad180aa *: use goroutine pool to avoid runtime.morestack (#3753) 2017-09-22 11:43:39 +08:00
74ab097d59 expression: fix a panic in buildSubquery. (#4596) 2017-09-21 05:57:05 -05:00
67fa005048 executor, plan: abandon the selection controller (#4528) 2017-09-21 11:40:04 +08:00
c899e5bb16 expression: rewrite builtin function: MOD (#4407) 2017-09-21 09:48:51 +08:00
c9e17e8317 plan: wrap CAST on generation expressions. (#4501)
* plan: wrap CAST on generation expressions.
2017-09-20 19:49:34 +08:00
c92b124aa9 *: make test leak great again (#4543) 2017-09-20 17:07:32 +08:00
b22e639c4a session_test: move some tests. (#4574) 2017-09-19 20:33:51 +08:00
1ae31c9fad Support delete ignore with strict sql mode produces warnings in truncate error (#4564) 2017-09-19 16:20:13 +08:00
f1022c8874 store/tikv: tiny update mocktikv (#4555)
* store/tikv: tiny update mocktikv

1. for mocktikv, close storage should close the leveldb engine
2. set tikvStore's mock flag in NewMockTikvStore function
2017-09-19 15:46:53 +08:00
c4a2824ca9 Support update ignore for truncate as warning (#4431) 2017-09-19 11:02:17 +08:00
aacfbf6fd3 *: move show tests. (#4542) 2017-09-18 23:56:54 +08:00
7adcc568e1 executor,mysql: fix #4540, Navicat for MySQL compability of show create table (#4544) 2017-09-18 20:26:57 +08:00
339c93e5f9 add real tables for global/session status in performance schema (#4523) 2017-09-18 17:10:34 +08:00
2762c44161 *: move aggregate functions to an individual package "aggregation" (#4549) 2017-09-18 15:07:35 +08:00
31f7b9c3b6 *: implement analyze columns push down (#4522) 2017-09-18 14:21:10 +08:00
e79e09143d executor: fix show create table with fk (#4537) 2017-09-15 17:42:04 +08:00
117ff28207 *: move InitLogger from SetUpSuite to TestT (#4532) 2017-09-15 15:16:22 +08:00
97242d362a config: add config file support. (#4509) 2017-09-14 19:38:49 +08:00
27f2594f31 expression: rewrite builtin function: ADDDATE, SUBDATE (#4504) 2017-09-14 19:16:37 +08:00
fc8b2ee47c fix #4514 (#4517) 2017-09-14 15:31:20 +08:00
d0be70d6a2 *: Support stream aggregation in new plan (#4481) 2017-09-14 14:22:29 +08:00
3636563eeb perf_schema: add required tables of mysqlx (#4521) 2017-09-14 13:58:27 +08:00
a7dc21c1e8 *: implement analyze index push down (#4489) 2017-09-14 10:34:12 +08:00
3f48f3a130 session_test, executor_test: move tests of schema change. (#4505) 2017-09-13 21:07:24 +08:00
188dd8c06f session_test: move out some tests. (#4490) 2017-09-12 20:22:43 +08:00
3428d80577 *: hide secure information in SHOW PROCESSLIST (#4451) 2017-09-12 01:40:21 -05:00
6f9457e373 executor: use tearDownTest instead of defer (#4499) 2017-09-12 01:02:41 -05:00
88e1666ac6 *: change the log package to logrus (#4452) 2017-09-08 00:45:07 -05:00
7cdbcebec0 executor: fix a order by bug (#4470) 2017-09-07 23:44:38 -05:00
0e438de9ff *: move sample collector from executor to stats (#4468) 2017-09-08 12:21:10 +08:00
fc209cb1df *: rewrite hex and bit literals (#4415) 2017-09-07 16:28:24 +08:00
dba58e97fc executor: IndexLookUpExecutor refactor (#4305) 2017-09-06 03:45:10 -05:00
c1384a26b7 executor, types: format output (#4418) 2017-09-06 16:00:03 +08:00
0b04d1c6c7 expression: rewrite builtin JSON functions under the new framework. (#4367) 2017-09-06 14:42:35 +08:00
a8af81385c should use bytes.Equal(rows[i-1].key, rows[i].key) instead (#4446) 2017-09-06 12:51:07 +08:00
7fb7263678 Optimize merging array elements (#4444) 2017-09-06 12:38:24 +08:00
e7e40193f9 distsql,store/tikv: fix analyze table OOM (#4399) 2017-09-05 20:56:44 +08:00
952aafd403 *: Add operation of admin show ddl jobs (#4316)
* *: implement "admin show ddl jobs"
2017-09-05 13:07:51 +08:00
bc0efef751 executor: Fix DEFAULT output in SHOW CREATE TABLE (#4427) 2017-09-05 09:20:16 +08:00
3f773bad90 plan: fix bug when push topn down. (#4413) 2017-09-04 17:10:24 +08:00
ae30c4dcbc support "UPDATE IGNORE", update conflicts generate warning (#4397) 2017-09-04 11:13:18 +08:00
a68d3ad1ee executor: "INSERT IGNORE" generate warnings for duplicate-key error (#4381) 2017-08-31 14:29:28 +08:00
87baaaf73e plan: fix bugs when do natural join or join with using. (#4382)
* plan: fix bug when do natural join or join with using.
2017-08-31 10:06:32 +08:00
46c1a0e3c3 support INSERT IGNORE with strict sql mode produces warning instead of error (#4376)
* fix infoschema not support unsigned
2017-08-30 17:02:35 +08:00
271f0c0338 executor, types: format output (#4372)
Escape special chars and handle quote marks.
2017-08-30 10:34:50 +08:00
09b5ddcea9 executor: index join key should be encoded comparable. (#4363) 2017-08-29 19:31:58 +08:00
29cf5d92c0 executor: fix batch insert on duplicate key (#4344) 2017-08-28 18:42:37 +08:00
ea29a1c30d expression: Support more types when getting default flen and decimal (#4236) 2017-08-28 02:26:07 -05: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