Commit Graph

2152 Commits

Author SHA1 Message Date
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
e0fc847c8b executor: handle missing timestamp value for load data (#11093) 2019-07-12 14:56:55 +08:00
0ba4d0b41b executor: fix bug of point get when meet null values (#11219) 2019-07-12 14:11:14 +08:00
84432823b3 refactor the logic of load data batch insert, make batchCheckGet happen once per transaction (#11132) 2019-07-12 13:36:58 +08:00
5c436bb1d6 planner: support subquery in SHOW statement (#10942) 2019-07-11 23:56:51 +08:00
4a1374d93a planner: fix bug when pruning columns for TableDual (#11054) 2019-07-11 20:26:03 +08:00
9385c6eca0 executor: fix a bug of 'insert on duplicate update' statement on partitioned table (#11204)
In this statement: insert into t1 set a=1,b=1 on duplicate key update a=1,b=1
Batch checker find a=1,b=1 is duplicated, then in the "on duplicate update" step,
it uses the non-partitioned table to get the old row, which is a bug.
getOldRow returns this error: (1105, u'can not be duplicated row, due to old row not found. handle 1 not found')
2019-07-11 15:24:27 +08:00
53f8a2c366 executor, metrics: add metrics for fast analyze. (#11079) 2019-07-11 14:36:28 +08:00
47f449a07d executor: explain analyze panic when processing explain analyze insert ... select ... (#11162) 2019-07-11 11:18:00 +08:00
b43668da82 planner: fix union scan on partition table bug (#11187) 2019-07-11 11:00:44 +08:00
66f5754c68 *: add trace support for the AllocAutoIncrementValue function (#11158) 2019-07-10 15:07:42 +08:00
c8794803b5 *: add admin cleanup table lock syntax support (#10423) 2019-07-10 12:54:09 +08:00
04cfda8699 *: add show table regions syntax (#10612) 2019-07-10 11:54:52 +08:00