Commit Graph

1360 Commits

Author SHA1 Message Date
51dabaabef *: refactor Handle in executor package (#16871) 2020-04-28 21:27:19 +08:00
0e5af57f60 log: tiny fix for expensive query log in execute detail (#16899) 2020-04-28 15:18:56 +08:00
3a07cf7fcc executer: add Cop_time in slow log (#16873) 2020-04-28 15:08:09 +08:00
6814f8c94b *: refactor Handle in table package (#16807) 2020-04-27 10:04:50 +08:00
82bb3ced74 makefile: let make fmt ensure std imports before non-std (#16816) 2020-04-26 10:37:24 +08:00
90bfe841ae server: add drop/truncate table tiflash replica info in /tiflash/replica http api (#15699) 2020-04-24 16:00:48 +08:00
e607157efe util, executor: deep clone shallowRow in baseJoiner.Clone (#16644) 2020-04-24 15:10:06 +08:00
99bd7632d9 ranger: check the collation when checking like func (#16380) 2020-04-23 22:58:29 +08:00
af376db3dc *: refactor Handle in tablecodec and rowcodec (#16705)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-04-23 18:55:59 +08:00
e521ea9d89 *: fix the problem that PointGet returns wrong results in the case of overflow (#14776) 2020-04-23 15:18:01 +08:00
62e4d588a8 Makefile: add unconvert to inspect unnecessary type convert (#16549) 2020-04-22 23:01:59 +08:00
d49573e050 *: refine some logs with incorrect collation (#16275) 2020-04-22 15:23:48 +08:00
0d5a83162b util: build right range when where stmt only have string column. (#16645) 2020-04-21 14:08:26 +08:00
2b03cf28dd util: fix wrong range when building from string column is true. (#16135) 2020-04-17 22:24:05 +08:00
df6035fabf infoschema, util: modify copTask related fields in statement summary (#16503) 2020-04-17 17:52:11 +08:00
1f24b9e03b executor, infoschema, util: add sum_errors and sum_warnings to statement summary tables (#16456) 2020-04-17 10:31:35 +08:00
d901863643 executor: insert negative primary key into auto_random table won't trigger rebase (#15397) 2020-04-15 20:56:37 +08:00
3edfffa84b Util: Fix global tracker mutex contention (#16298) 2020-04-15 20:37:42 +08:00
b1d11a7091 *: rename statement summary tables (#16188) 2020-04-15 15:30:32 +08:00
5f0585415b expression: forbidden illegal mix collate (#16277) 2020-04-15 14:41:27 +08:00
e0ce5bd585 bindinfo: report error for completely invalid hint of bind_sql (#16059) 2020-04-14 15:46:30 +08:00
15e961ad37 rowcodec: forbidden Kind{Null/MinNotNull/MaxValue} encode datum & add test (#16223) 2020-04-13 10:39:09 +08:00
1c73deca59 ddl: add syntax for setting the cache step of auto id explicitly. (#15409) 2020-04-10 15:57:51 +08:00
c561d5aa99 *: remove useless conversions and omit some types (#16262) 2020-04-10 00:23:06 +08:00
d8978cb53e config: support temporary storage usage limitation (#15700) 2020-04-08 22:14:09 +08:00
c2538facc9 ddl: Support the operation of adding multi-columns (#15540) 2020-04-08 13:22:25 +08:00
a69e7da69b util/hint: resolve semantically equivalent bindings into a single one (#15895) 2020-04-03 17:27:57 +08:00
c81e903804 *: use the revertable sandbox to buffer mutations (#15931) 2020-04-03 14:54:27 +08:00
827edde585 executor: implemented exclusive lock for temp storage dir per tidb instance (#15203) 2020-04-02 22:37:39 +08:00
dec9371d8a executor: fix building hash table with TypeNull when join (#15913) 2020-04-01 21:18:58 +08:00
746c88a461 bindinfo, planner: make evolve tasks consider runtime hints instead of ignoring them (#15668) 2020-03-31 20:30:23 +08:00
2619f02ddd *: move hint and block hint processor to util directory (#15897) 2020-03-31 16:37:45 +08:00
5192c26150 executor: optimize count distinct with single column (#15323) 2020-03-31 15:04:12 +08:00
af787a3acf util: consider negative zero float for Hash Join (#15837) 2020-03-30 17:39:12 +08:00
15c3b74ca9 util, executor: use UnionRanges build index kv range for INLJ (#15727) 2020-03-27 10:21:19 +08:00
01db67bbad chunk: make mysql.TypeNull be judged as fixedLen (#15512) 2020-03-26 19:25:38 +08:00
0eaa757bd8 executor: log stack info when panic converting to error (#15627) 2020-03-25 17:35:28 +08:00
6905549bf6 *: support more system variables in statement summary (#15508) 2020-03-25 16:07:10 +08:00
11bfea6f45 bindinfo: set correct default_db for captured bindings (#15367) 2020-03-24 17:35:46 +08:00
a9af29ad58 kv: add unit test for BufferBatchGetter (#15495) 2020-03-24 17:05:01 +08:00
d9770c1421 util:State column in show processlist provide readable information. (#15455) 2020-03-24 16:54:32 +08:00
21ee980e11 *: Refine Explain's format. (#15507) 2020-03-23 17:57:49 +08:00
82829e1fa5 *: consolidate some settings related to the collation (#15553) 2020-03-23 17:38:31 +08:00
5282d089c7 executor: support generated column on point get and batch point get (#15544) 2020-03-23 14:21:35 +08:00
fd0235d030 util/memory: fix misleading log information when spilling to disk (#15467) 2020-03-23 11:08:03 +08:00
41bed7e6be util/infoschema: Privilege check in statement summary tables (#15184) 2020-03-21 19:11:31 +08:00
b0ea766a49 executor: solve bug of copy joined tuples after inline projection (#15411) 2020-03-20 18:03:29 +08:00
df6f378267 stmtsummary: add a switch to decide whether capture internal q… (#15461) 2020-03-20 17:39:11 +08:00
5e8706a1f6 util/collate: remove CollatorOption (#15472)
`CollatorOption` was used to specify the `PadLen` which aims to support
"PADDING" attribute of the collations. But now it is not needed anymore,
since TiDB actually implements "PADDING" by removing trailing spaces.
2020-03-19 15:16:29 +08:00
aec6143179 *: support require-secure-transport startup option (#15341) 2020-03-17 08:46:45 +08:00