Commit Graph

2164 Commits

Author SHA1 Message Date
028f63cb4a *: rename tidb_back_off_weight (#11655) 2019-08-07 15:04:56 +08:00
a530f87db7 planner: add aggregation hints TIDB_HASHAGG and TIDB_STREAMAGG (#11364) 2019-08-07 10:51:34 +08:00
02ab1ed7ee executor,session: display the tree-like format of the trace statement (#11633) 2019-08-06 14:18:31 +08:00
c9502f0667 executor: support analyze option for samples (#11609) 2019-08-06 11:38:33 +08:00
3f3ead2d59 executor: fix #10513, alias identifier maximum length compatible with MySQL (#10597) 2019-08-05 19:14:11 +08:00
265b654809 model: add schema name, table name to ddl job. (#11561) 2019-08-05 17:30:23 +08:00
cffd04518c executor: no need to wait for fetchInnerRows if buildHashTableForList fails, and clean code (#11571) 2019-08-02 17:07:43 +08:00
129c0afdc6 executor, infoschema: fix display of on update CURRENT_TIMESTAMP with decimal (#11480) 2019-08-02 16:50:10 +08:00
ea16273d44 executor: fix baseExecutor'children may not close (#11570) 2019-08-02 10:50:07 +08:00
576cdcdd0d executor: fix data race of "admin check table" (#11568) 2019-08-01 18:52:59 +08:00
7715341cb7 server: tiny refactor, more go style (#11478) 2019-08-01 17:36:05 +08:00
f13f7bbdbd ranger: BuildColumnRange should merge ranges when column has prefix len (#11563) 2019-08-01 16:24:36 +08:00
59e3eb75cd *: speed up the operation of "admin check table" (#8572) 2019-07-31 17:11:30 +08:00
8bc63973df executor: move failpoint test case to seq test suite (#11525) 2019-07-30 18:32:05 +08:00
da8e7d267c executor: refactor union_scan executor by using txn_mem_buffer_reader (#10673) 2019-07-30 17:40:33 +08:00
1f57a538a4 distsql: make CopStream available (#11311)
All tests passed, auto merged by Bot
2019-07-30 17:10:52 +08:00
a92902aeee load data: avoid an unnecessary converting from byte slice to… (#11516) 2019-07-30 11:01:04 +08:00
0668cae665 executor, stats: extract topn from cm sketch (#11409) 2019-07-29 19:05:19 +08:00
e09745bd02 metrics: add metrics for bind info (#10921)
All tests passed, auto merged by Bot
2019-07-26 20:19:03 +08:00
85c790ec97 planner, executor: tiny refactor (#11420) 2019-07-26 19:31:06 +08:00
1e1cc1f325 types: fix string to integer cast (#11295) 2019-07-26 19:10:30 +08:00
268cbf1a5d stats: support more analyze options (#11278) 2019-07-25 13:25:24 +08:00
86d8f9a4bb *: add succ filed to slow log and fix shallow copy problem when parse slow log file. (#11417)
Test pass, auto merge by Bot
2019-07-24 19:20:18 +08:00
abbca5375e *: add trace support for subquery (#11182)
Test pass, auto merge by Bot
2019-07-24 19:03:47 +08:00
b97c0434db executor: show CARTESIAN Join explicitly in the results of Explain (#11415) 2019-07-24 16:57:51 +08:00
1cca2d1455 improvement. change unessesary mem copy in for index substring call (#11405)
Test pass, auto merge by Bot
2019-07-24 16:40:13 +08:00
29970ca353 DDL: fix a bug in column charset and collate when create table and modify column (#11300)
* fix a bug in column charset and collate when create table and modify column

* extract the fix code logic to a func

* fix multiple collate specified in column

* add more test for multiple column collate

* add more Err case for multiple column collate

* fix comment format
2019-07-24 16:06:37 +08:00
f8912049f5 *:add opt_rule_blacklist in mysql tables. (#11096) 2019-07-24 13:36:29 +08:00
1ad073bf80 executor: show operators' memory consumption in results of EXPLAIN ANALYZE (#11334) 2019-07-24 10:53:02 +08:00
899ff96e86 executor: introduce Sel to Chunk to indicate which rows ar… (#11384) 2019-07-23 21:00:29 +08:00
119d532979 executor: load data/batch insert improvement reducing memory a… (#11284) 2019-07-23 18:41:52 +08:00
3b6d2f475f executor/split: return split result when do split region and refine split timeout logic. (#11259) 2019-07-23 17:35:13 +08:00
ca70d74a28 executor, expression: fix current_timestamp/now not consistent… (#11342) 2019-07-23 17:02:24 +08:00
388ce88743 ddl: refine ddl error when do ddl error cause by infoschema is changed (#11308) 2019-07-23 16:18:48 +08:00
88db7ff17b infoschema: fix compatibility of auto_increment column value o… (#10207) 2019-07-23 15:52:29 +08:00
c1a5e79b28 planner: correct the generation of the field name (#11324) 2019-07-23 14:17:49 +08:00
b3f71868c1 executor: fix autoid doesn't handle float, double type and tin… (#11110) 2019-07-22 19:19:54 +08:00
c00d8a95cf executor, privilege: fix some two bug of RBAC (#11273) 2019-07-22 13:08:03 +08:00
4b928a52c0 executor: update test since DELETE FROM ... AS ... syntax is now supported (#11184) 2019-07-19 17:58:58 +08:00
bedd1b07b0 plugin: add "exec start-time" to GeneralEvent (#11293) 2019-07-18 19:21:01 +08:00
b6a634638f executor: speedup unit test (#10930) 2019-07-18 19:16:22 +08:00
fcc15b1256 types: fix delete error when convert string to float or int (#10861) 2019-07-16 19:50:04 +08:00
eae30ebbcb *: reduce tikvrpc resp struct size (#11056) 2019-07-16 13:21:00 +08:00
368119b8df executor: compute ADMIN CHECKSUM for partitioned tables correc… (#11089) 2019-07-16 07:39:17 +08:00
d420a1f212 *: reduce tikvrpc request size (#11055) 2019-07-15 16:11:14 +08:00
d381d84d1b executor,sessionctx: refine output format for tidb-specific variables of boolean type (#11239) 2019-07-15 15:47:17 +08:00
9b824457c1 *: improve column size calculation of statistics (#11091) 2019-07-15 13:05:54 +08:00
c8ed781d51 executor: push-down LoadDataStmt in distsql (#11067)
moving function `statementContextToFlags` to `StatementContext.PushDownFlags()`

Co-authored-by: Lonng <heng@lonng.org>
Co-authored-by: Foreyes <foreyes_1002@163.com>
2019-07-14 17:58:49 +08:00
bdec3414e7 executor: fix the behavior when index join meet prefix index (#11081) 2019-07-12 17:48:35 +08:00
f496b775fd planner: unsigned pk cannot be pushed as index column (#11094) 2019-07-12 16:25:01 +08:00