Commit Graph

1261 Commits

Author SHA1 Message Date
2f926df501 executor: add diagnosis rule to detect cluster critical errors (#14743) 2020-02-13 19:34:04 +08:00
114405e114 executor: inline projection for hash join (#14682) 2020-02-13 18:44:33 +08:00
4755a9b9ef util: revert util/mathutil (#14744) 2020-02-13 11:33:04 +08:00
62e48ca046 test: optimize session tikv test (#14709) 2020-02-12 18:07:18 +08:00
b056fd7298 *: add START_TIME and UPTIME columns to system table CLUSTER_INFO (#14718) 2020-02-12 17:22:18 +08:00
23ce3b29c9 rowcodec: make TypeYear's decodeDatum result consist with insert datum (#14717) 2020-02-12 14:56:59 +08:00
6bae385ce0 util: add collation interface (#14698) 2020-02-11 11:18:04 +08:00
750583c665 *: use iterator in show ddl jobs to avoid oom when there is too many history ddl jobs. (#12472) 2020-02-10 22:56:05 +08:00
74e49085cf planner: make the read storage hint not force plan (#14644) 2020-02-10 20:02:22 +08:00
87bbe7dcbe types: Fix duration parser (#14588)
Signed-off-by: Iosmanthus Teng <myosmanthustree@gmail.com>
2020-02-07 14:30:44 +08:00
13bf6cc196 executor: implement disk-based sort (Part 2) (#14279) 2020-02-07 09:39:53 +08:00
465af00b46 *: use new registrable terror (#14606) 2020-02-06 16:40:26 +08:00
128ec02a9f test: fix a bug for leak check (#14592) 2020-02-05 14:15:23 +08:00
f2d0e90740 executor: Count the number of hash table collisions and build elapse during Hash Join. (#14423) 2020-02-05 13:37:23 +08:00
099782898e rowcodec: fix lose decimal precision during decode new row format to datum (#14631) 2020-02-05 10:10:24 +08:00
7720d7df98 util: resolve data race (#14610) 2020-02-04 21:16:29 +08:00
7ba002e836 executor, util: improve concurrency of statement summary (#14490) 2020-02-04 17:32:24 +08:00
bb252a4582 test: add some goroutines to leak check white list (#14538) 2020-01-21 19:49:39 +08:00
b25c82452f ddl: support drop sequence in TiDB (#14442) 2020-01-20 15:49:04 +08:00
34bb3e51b6 util: wrong memory count when use Tracker.ReplaceChild() (#14513) 2020-01-19 15:01:32 +08:00
3a1b5b2819 chunk: add clear in RowContainer (#14499) 2020-01-17 16:52:20 +08:00
74bc00dfa9 Improve the performance of WindowExec by using multi-thread hash grouping (#14238) 2020-01-16 21:04:16 +08:00
6e648401e4 rowcoder: fix DatumMapDecoder ignore the sign of handle value (#14494) 2020-01-16 13:14:50 +08:00
2dcc032bc3 Makefile: add staticcheck (#14420) 2020-01-10 14:59:43 +08:00
cdf1430260 bindinfo: do not capture bindings for internal sqls (#14372) 2020-01-09 16:12:52 +08:00
c48d5635f9 *: replace conf item pprof_sql_cpu with srv var tidb_pprof_sql_cpu (#14385) 2020-01-09 13:23:09 +08:00
0a0e388148 types: implement restore function for KindMysqlDuration and KindMysqlTime (#13242) 2020-01-09 11:03:09 +08:00
a84a73899b rowcodec: fix encode corrupted data cause by reuse new encoder (#14368) 2020-01-08 10:40:09 +08:00
f036eecc9d ddl: support create/drop expression index (#14117) 2020-01-07 10:29:39 +08:00
324a4686f0 rowcodec: fix use origin default value when decode (#14327) 2020-01-03 13:39:09 +08:00
0bab73adf5 *: use new row-format in tidb (#12634) 2020-01-02 22:34:39 +08:00
4dfbb14c51 *: tidy code && prealloc some slice for performance (#13468) 2020-01-02 17:26:10 +08:00
5d76de903a server: support tag sql in pprof result (#14312) 2020-01-02 15:51:39 +08:00
1437d7e65b expression: open push down switcher for part of CAST functions (#13837)
Signed-off-by: Lonng <heng@lonng.org>
2020-01-02 11:43:43 +08:00
a487748b46 executor: support merge join on disk (#13946) 2019-12-31 18:49:10 +08:00
fe764a97a3 *: only add union scan when dirty table is not empty (#14265) 2019-12-31 13:20:27 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
c1bc9ffe5b *: add memory tracker for InsertExec and ReplaceExec (#14179) 2019-12-30 11:43:01 +08:00
c994eb4802 license: add license for script files (#14252) 2019-12-28 18:38:13 +08:00
0d7edc7ef3 config: add validation for capacity of prepare plan cache (#14232) 2019-12-27 14:29:09 +08:00
8e88825f55 Tidy build constraints in mathutil (#14257)
- Rename *_js.go to *_wasm.go to satisfy both wasm/js and wasm/wasi
- Use +build instruction instead of *_GOOS pattern to reduce file

Signed-off-by: lucklove <gnu.crazier@gmail.com>
2019-12-26 21:11:13 +08:00
86ae838d5a planner/core: disallow using hidden column in insert statement (#14150) 2019-12-26 16:08:55 +08:00
fd3ada61ca infoschema: add plan field to the statement summary tables (#14182) 2019-12-26 15:04:39 +08:00
8ab14c138f executor: add lockkeys duration in slow log (#14210) 2019-12-24 21:52:09 +08:00
1335ffb6b7 *: support read consistency isolation level in the pessimistic transactions (#14087) 2019-12-24 21:24:39 +08:00
85afb8227e util: remove the optimization in CopySelectedJoinRows() to fix a bug in OuterHashJoin (#14010) 2019-12-24 16:58:39 +08:00
e8c198d235 *: implement the INSPECTION_SCHEMA to provide snapshot of inspection tables (#14147)
Signed-off-by: Lonng <heng@lonng.org>
2019-12-24 11:24:14 +08:00
8666a6f038 util: refine expensive query log during bootstrap (#14181) 2019-12-23 16:46:11 +08:00
db97ad9a03 util: fix compile on windows caused by wasm support (#14183) 2019-12-23 16:04:40 +08:00
8cbacf0d7c wasm: fix compile error for wasm (#14160)
Signed-off-by: 5kbpers <tangminghua@pingcap.com>
2019-12-23 15:17:46 +08:00