Commit Graph

4575 Commits

Author SHA1 Message Date
174ff27943 *: fix static check issues (#14286) 2020-01-06 16:07:15 +08:00
4f242fe675 executor: polish the code of IndexMergeReaderExecutor (#14352) 2020-01-06 14:42:44 +08:00
324a4686f0 rowcodec: fix use origin default value when decode (#14327) 2020-01-03 13:39:09 +08:00
9e57df1c70 executor: fix cluster log retriever panic (#14313) 2020-01-03 10:13:39 +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
e755459788 bindinfo: change the way of generate hints from sql (#14095) 2020-01-02 14:31:39 +08:00
fcf581fb61 executor: speed up TestMemoryAndDiskUsageAfterClose (#14311) 2020-01-01 23:26:27 -06:00
a7ff591368 session, executor: add memTracker for DeleteExec (#14289) 2019-12-31 22:06:20 +08:00
e00887e3b9 executor: add memTracker for UpdateExec (#14299) 2019-12-31 21:59:31 +08:00
a487748b46 executor: support merge join on disk (#13946) 2019-12-31 18:49:10 +08:00
ebc4fa9dee executor: resort fields for reducing the memory allocated (#14208) 2019-12-31 17:19:59 +08:00
ae106f2e3b executor: support IndexMergeReaderExecutor (#12305) 2019-12-31 15:30:58 +08:00
f9492200a2 infoschema: change the way of inspection schema obtaining rows from original table (#14283) 2019-12-31 13:58:40 +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
81a6eb04a5 Unit test : Optimize the test time. (#14282) 2019-12-31 09:37:39 +08:00
c1bc9ffe5b *: add memory tracker for InsertExec and ReplaceExec (#14179) 2019-12-30 11:43:01 +08:00
66b8add23d executor: support show extended columns statement (#14262) 2019-12-28 21:49:09 +08:00
fb44302cb2 executor: fix 'shutdown' diffrent reaction with mysql (#14268) 2019-12-28 21:27:09 +08:00
7fcc10b55f executor: support abort the cluster log retriever (#14271) 2019-12-28 11:22:09 +08:00
c6cb405e9e executor: add rollback in releaseSysSession (#14269) 2019-12-27 23:12:02 +08:00
635f2e1afd bindinfo: set default db for bindings correctly (#14077) 2019-12-27 18:02: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
aa2f716847 executor: avoid ProjectoinExec's goroutine leak (#14127) 2019-12-25 16:51:10 +08:00
efd34cb65d executor: add memTracker for aggregation (#13720) 2019-12-25 16:07:09 +08:00
57ecfb9b46 *: implement the diagnostics inspection framework (#14114)
Signed-off-by: Lonng <heng@lonng.org>
2019-12-25 15:58:58 +08:00
279ad0d41c infoschema,planner: implement the metric table predicate push down (#14169) 2019-12-25 10:54:25 +08:00
1335ffb6b7 *: support read consistency isolation level in the pessimistic transactions (#14087) 2019-12-24 21:24:39 +08:00
f0d313470f executor: record lockkeys waited flag and duration in stmtctx (#14209) 2019-12-24 20:24:12 +08:00
85afb8227e util: remove the optimization in CopySelectedJoinRows() to fix a bug in OuterHashJoin (#14010) 2019-12-24 16:58:39 +08:00
ef7adeb50d *: resort fields for reducing the memory allocated (#14172) 2019-12-23 17:10:09 +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
fce9870208 ddl,executor: add auto_random column option (#13127) 2019-12-23 14:51:51 +08:00
cd07c4550d *: support certificate based authentication (#13955) 2019-12-23 11:37:29 +08:00
f0282d32ca executor: trace the memory usage of Selection executors (#13927) 2019-12-22 21:18:02 -06:00
11c3b25ba2 executor: fix missing cached execution counter for point select (#14163) 2019-12-20 19:35:49 +08:00
933715f4a2 infoschema: add metric database/table to query cluster metric via SQL. (#13757) 2019-12-20 16:13:28 +08:00
733c851eb5 infoschema: improve the security vunerability of key_column_usage and analyze_status infoschema (#14142) 2019-12-20 15:32:40 +08:00
736c2f2d27 executor: implement the CLUSTER_LOG retriever (#14046) 2019-12-20 14:48:16 +08:00
fcc5dba8a7 infoschema: add 3 fields to statement summary table (#14096) 2019-12-19 21:42:39 +08:00
730ea8ccdb infoschema: add server hardware and system sysctl cluster table (#13997) 2019-12-19 21:31:37 +08:00
39a370ce83 bindinfo: support drop bindings of dropped table (#14071) 2019-12-19 14:51:46 +08:00
352adc5b00 executor: replace the flag CastStrToIntStrict with InSelectStmt (#14115) 2019-12-18 20:45:17 +08:00
cb37596c39 privilege: fix atomic problem of DROP ROLE (#14090) 2019-12-18 20:02:46 +08:00
fc603b639d executor: implement disk-based sort (Part 1) (#13718) 2019-12-18 14:52:17 +08:00
9b7b2c0d50 planner/core: fix bug when using generated column in aggregate statement (#14111) 2019-12-18 14:46:47 +08:00
c39317e890 executor: support turn on/off slow-log by variables (#14016) 2019-12-18 10:48:46 +08:00